/* General
========================================================================== */

body {
  transition: color .3s ease-in-out;
  color: var(--c-black);
  font-family: var(--ff-general);
  font-size: 15px;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.5;
  font-style: normal;
  color: var(--c-black);
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  body {
    font-size: 18px;
  }
}

@media (min-width: 1600px) {
  body {
    font-size: 20px;
  }
}

@media (min-width: 2300px) {
  body {
    font-size: 23px;
  }
}



/* Links
========================================================================== */

a {
  transition: color .3s ease-in-out;
  color: var(--c-link);
  text-decoration: underline;
}
a:hover {
  color: var(--c-link-hover);
  text-decoration: none;
}



/* Paragraphs
========================================================================== */
  
p, body .p {
  color: var(--c-black);
  font-weight: 400;
}



/* Headings
========================================================================== */
  
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  color: var(--c-black);
  font-optical-sizing: auto;
  font-weight: 700;
}

h1, .h1 {
  font-size: 2.2em;
  line-height: 1.18;
}
h2, .h2 {
  font-size: 1.7em;
  line-height: 1.22;
}
h3, .h3 {
  font-size: 1.35em;
  line-height: 1.27;
}
h4, .h4 {
  font-size: 1.1em;
  line-height: 1.45;
}
h5, .h5 {
  font-size: 0.9em;
  line-height: 1.5;
}
h6, .h6 {
  font-size: 0.7em;
  line-height: 1.5;
}

@media (min-width: 820px) {
  h1, .h1 {
    font-size: 2.7em;
  }
  h2, .h2 {
    font-size: 2em;
  }
  h3, .h3 {
    font-size: 1.5em;
  }
  h4, .h4 {
    font-size: 1.27em;
  }
  h5, .h5 {
    font-size: 1.1em;
  }
  h6, .h6 {
    font-size: 0.9em;
  }
}

@media (min-width: 1280px) {
  h1, .h1 {
    font-size: 3.7em;
  }
  h2, .h2 {
    font-size: 2.45em;
  }
  h3, .h3 {
    font-size: 1.7em;
  }
}

@media (min-width: 1600px) {
  h1, .h1 {
    font-size: 4.75em;
  }
  h2, .h2 {
    font-size: 2.8em;
  }
  h3, .h3 {
    font-size: 2em;
  }
}

@media (min-width: 2300px) {
  h1, .h1 {
    font-size: 5.5em;
  }
  h2, .h2 {
    font-size: 3.3em;
  }
  h3, .h3 {
    font-size: 2.4em;
  }
}