:root {
  --paragraphs: #797988;
  --heading: #232333;
  --accent: #ffb74e;
  --white: white;
  --dark: #09191f;
  --border: #d9e0e3;
  --background: #ecf1f4;
  --extra-2: #d03152;
  --extra-1: #1d61bf;
  --extra-3: #25534e;
}

body {
  color: var(--paragraphs);
  font-family: DM Sans, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7em;
}

h1 {
  color: var(--heading);
  margin-top: 35px;
  margin-bottom: 26px;
  font-size: 55px;
  font-weight: 500;
  line-height: 1.27em;
}

h2 {
  color: var(--heading);
  margin-top: 28px;
  margin-bottom: 20px;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.3em;
}

h3 {
  color: var(--heading);
  margin-top: 27px;
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3em;
}

h4 {
  color: var(--heading);
  margin-top: 20px;
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3em;
}

h5 {
  color: var(--heading);
  margin-top: 18px;
  margin-bottom: 17px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3em;
}

h6 {
  color: var(--heading);
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3em;
}

p {
  margin-top: 25px;
  margin-bottom: 25px;
}

a {
  text-decoration: underline;
}

ul, ol {
  color: var(--heading);
  margin-top: 30px;
  margin-bottom: 30px;
  padding-left: 30px;
}

li {
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 9px;
}

img {
  max-width: 100%;
  display: inline-block;
}

strong {
  color: var(--heading);
  font-weight: 700;
}

blockquote {
  border-left: 2px solid var(--accent);
  color: var(--heading);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 10px 30px;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6em;
}

figure {
  margin-bottom: 10px;
}

figcaption {
  text-align: center;
  margin-top: 5px;
}

.body-3 {
  background-color: #fff;
  border: 1px solid #fff;
}

.rotating-text__heading {
  text-align: center;
  letter-spacing: -.02em;
  height: 20vh;
  margin-top: auto;
  margin-bottom: auto;
  font-size: clamp(2.5em, 7.5vw, 4.5em);
  font-weight: 500;
  line-height: 1;
}

.rotating-text__highlight {
  color: #33de96;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 26px;
  }

  h5 {
    font-size: 22px;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 21px;
  }

  blockquote {
    padding-left: 20px;
    padding-right: 20px;
  }
}
