@font-face {
  font-family: "Melodrama-Variable";
  src: url("../assets/fonts/Melodrama-Variable.woff2") format("woff2"),
    url("../assets/fonts/Melodrama-Variable.woff") format("woff"),
    url("../assets/fonts/Melodrama-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "DM-Sans";
  src: url("../assets/fonts/DMSans-VariableFont_opsz,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.text-display {
  font-size: var(--display-size);
  line-height: var(--display-height);
  font-weight: 350;
  font-weight: var(--display-weight);
  font-family: var(--display-font);
  text-transform: uppercase;
}

.text-hero {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 450;
  font-weight: var(--title-weight);
  font-family: var(--title-font);
  text-transform: uppercase;
}

.text-section-title {
  font-size: 2.5rem;
  line-height: 2.75rem;
  font-weight: 400;
  font-family: var(--title-font);
  margin: 0 0 48px;
}

.text-heading {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 450;
  font-weight: var(--title-weight);
  font-family: var(--title-font);
  text-transform: uppercase;
}

.text-subheading {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  font-weight: var(--subtitle-weight);
  font-family: var(--subtitle-font);
  text-transform: uppercase;
}

.text-minor {
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 600;
  font-weight: var(--subtitle-weight);
  font-family: var(--subtitle-font);
}

.text-paragraph,
.single-post__inner p {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-weight: var(--paragraph-weight);
  font-family: var(--paragraph-font);
}

.text-link,
.text-link a {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-weight: var(--paragraph-weight);
  font-family: var(--paragraph-font);
  text-decoration: none;
}

/* ===============================
   TABLET VERSION (min-width: 768px)
   =============================== */

@media (min-width: 768px) {
  .text-hero {
    font-size: 2.25rem;
    line-height: 2.75rem;
  }

  .text-heading,
  .text-subheading {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .text-minor {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }

  .text-paragraph,
  .text-link,
  .single-post__inner p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* ===============================
   DESKTOP VERSION (min-width: 1024px)
   =============================== */

@media (min-width: 1024px) {
  .text-hero {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .text-heading,
  .text-subheading {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .text-paragraph,
  .text-link,
  .single-post__inner p {
    font-size: 1rem;
    line-height: 2rem;
  }
}
