@font-face {
  font-family: 'Dosis';
  src: url('../fonts/Dosis/Dosis-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'REM regular';
  src: url('../fonts/REM/REM-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'REM bold';
  src: url('../fonts/REM/REM-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: var(--font-descriptions);
  line-height: var(--description-height);
  font-size: 14px;
  color: var(--gray);

  @media screen and (min-width: 425px) {
    font-size: 16px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-titles);
  line-height: var(--title-height);
  color: var(--black);
  overflow: hidden;
}

h1 {
  font-size: 24px;

  @media screen and (min-width: 768px) {
    font-size: 48px;
  }

  @media screen and (min-width: 1430px) {
    font-size: 64px;
  }
}

h2 {
  font-size: 32px;

  @media screen and (min-width: 768px) {
    font-size: 40px;
  }
}

h3 {
  font-size: 24px;

  @media screen and (min-width: 768px) {
    font-size: 32px;
  }
}

h4 {
  font-size: 20px;

  @media screen and (min-width: 768px) {
    font-size: 24px;
  }
}