/****************************/
/* BELOW 1344px (Smaller desktops) */
/****************************/
@media (max-width: 84em) {
  .heading-primary {
    font-size: 4.4rem;
  }
}

/****************************/
/* BELOW 1200px (Landscape Tablets) */
/****************************/

@media (max-width: 75em) {
  html {
    /* 9px / 16px */
    font-size: 56.25%;
  }

  .logo {
    height: 8.4rem;
  }

  .heading-secondary {
    font-size: 3.6rem;
  }
  .heading-tertiary {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
  }

  .container {
    padding: 0;
  }

  .header {
    padding: 0 3.2rem;
  }

  .section-about {
    padding: 9.6rem 6.4rem;
  }

  .grid--4-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-list {
    padding: 2rem 0;
  }

  .form-img-box:before {
    background: none;
  }
}

/****************************/
/* BELOW 944px (Tablets) */
/****************************/

@media (max-width: 59em) {
  html {
    /* 8px / 16px */
    font-size: 50%;
  }

  .heading-secondary {
    margin-bottom: 4.8rem;
  }

  .grid--2-cols {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }

  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-text-box {
    margin-bottom: 6rem;
    margin-top: 0;
    width: 540px;
  }

  .form-list {
    margin-bottom: 3.2rem;
  }

  .form-row {
    flex-direction: column;
  }

  .form-captcha, .form-btn {
    align-self: center;
  }

  /* MOBILE NAVIGATION*/

  .sticky {
    height: 100%;
  }

  .contacts {
    font-size: 1.8rem;
  }

  .contact-link:link,
  .contact-link:visited {
    font-size: 1.8rem;
  }
}

/****************************/
/* BELOW 704px (Smaller Tablets) */
/****************************/

@media (max-width: 44em) {
  .grid--3-cols,
  .grid--4-cols {
    grid-template-columns: repeat(1, 1fr);
  }

  .form-text-box {
    width: 100%;
  }
}

/****************************/
/* BELOW 544px (Phones) */
/****************************/

@media (max-width: 34em) {
  .section-about {
    padding: 6.4rem 3.2rem;
  }

  .margin-bottom-lg {
    margin-bottom: 4.8rem !important;
  }

  .margin-bottom-md {
    margin-bottom: 3.2rem !important;
  }
}

/****************************/
/* BELOW 418px (Phones) */
/****************************/

@media (max-width: 26em) {
  .contact-link {
    font-size: 1.6rem;
  }

  .logo {
    height: 6.4rem;
  }

  .header div {
    justify-content: end;
    align-items: end;
    gap: 0.8rem;
    flex-wrap: wrap;
  }
}

/****************************/
/* Fixing Safari Flexbox gap */
/****************************/

@media (max-width: 75em) {
}

@media (max-width: 59em) {
}
