:root {
  --title-size-h1: 40px;
  --title-size-h2: 36px;
  --title-size-h3: 24px;
  --head-title-size: 16px;
  --text-size: 16px;
  --text-flag-size: 18px;
  --component-gap: 90px;
}

.container {
  max-width: 1230px;
}

@media screen and (max-width: 1500px) {
  .container {
    max-width: 1230px;
  }
  :root {
    --title-size-h1: 36px;
    --title-size-h2: 32px;
    --title-size-h3: 20px;
  }
}

@media screen and (max-width: 1280px) {
  .container {
    max-width: 1230px;
  }
}
@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
    :root {
      --title-size-h1: 32px;
      --title-size-h2: 28px;
      --title-size-h3: 18px;
      --head-title-size: 14px;
      --text-size: 14px;
      --text-flag-size: 16px;
      --component-gap: 60px;
    }
}

@media screen and (max-width: 991px) {
  :root{
    --title-size-h1: 28px;
    --title-size-h2: 24px;
    --title-size-h3: 16px;
    --head-title-size: 12px;
    --text-size: 12px;
    --text-flag-size: 14px;
    --component-gap: 40px;
  }

  .container {
    max-width: 720px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --title-size-h1: 24px;
    --title-size-h2: 20px;
    --title-size-h3: 14px;
    --head-title-size: 14px;
    --component-gap: 30px;
  }
  .container {
    max-width: 540px;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --title-size-h1: 24px;
    --title-size-h2: 20px;
    --title-size-h3: 14px;
    --head-title-size: 14px;
    --component-gap: 50px;
  }
  .container {
    max-width: 450px;
  }
}
@media screen and (max-width: 480px) {
  .container {
    max-width: 360px;
  }
}