/* General
========================================================================== */

body {
  font-family: var(--ff-general);
  background-color: var(--c-white);
  color: var(--c-grey);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  line-height: 1.5;
}

@media (min-width: 1280px) {
  body {
    font-size: 18px;
  }
}

@media (min-width: 1600px) {
  body {
    font-size: 20px;
  }
}

@media (min-width: 2300px) {
  body {
    font-size: 23px;
  }
}



/* Link
========================================================================== */

a {
  color: var(--c-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}



/* Headings
========================================================================== */
  
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: var(--ff-heading);
  color: var(--c-black);
  font-weight: 400;
  transition: color 0.25s 0.0833333333s;
}

h1, .h1 {
  font-size: 2.1em;
  line-height: 1.15;
}
h2, .h2 {
  font-size: 1.6em;
  line-height: 1.25;
}
h3, .h3 {
  font-size: 1.33em;
  line-height: 1.3;
}
h4, .h4 {
  font-size: 1.2em;
  line-height: 1.4;
}
h5, .h5 {
  font-size: 1em;
  line-height: 1.5;
}
h6, .h6 {
  font-size: 0.83em;
  line-height: 1.55;
}

@media (min-width: 1024px) {
  h1, .h1 {
    font-size: 2.7em;
  }
  h2, .h2 {
    font-size: 2em;
  }
  h3, .h3 {
    font-size: 1.55em;
  }
  h4, .h4 {
    font-size: 1.33em;
  }
  h5, .h5 {
    font-size: 1.2em;
  }
  h6, .h6 {
    font-size: 1em;
  }
}

@media (min-width: 1280px) {
  h1, .h1 {
    font-size: 3.6em;
  }
  h2, .h2 {
    font-size: 2.2em;
  }
}

@media (min-width: 1600px) {
  h1, .h1 {
    font-size: 4.1em;
  }
  h2, .h2 {
    font-size: 2.5em;
  }
  h3, .h3 {
    font-size: 1.7em;
  }
}

@media (min-width: 2300px) {
  h1, .h1 {
    font-size: 4.6em;
  }
  h2, .h2 {
    font-size: 2.9em;
  }
  h3, .h3 {
    font-size: 1.9em;
  }
}
