/****************/
/* BELOW 1312px */
/****************/

@media (max-width: 82em) {
  .heading-primary {
    font-size: 4.4rem;
  }

  .section-hero {
    width: 100%;
  }

  .section-conf {
    width: 100%;
  }
}

/****************/
/* BELOW 1200px */
/****************/

@media (max-width: 75em) {
  html {
    font-size: 56.25%;
  }

  .grid {
    column-gap: 4.8rem;
    row-gap: 6.4rem;
  }

  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }

  .main-nav {
    background-color: rgba(230, 244, 240, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .main-nav-link:link,
  .main-nav-link:visited {
    color: #099268;
  }

  .main-nav-link:hover,
  .main-nav-link:active {
    color: #077553;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
  }

  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 4.8rem;
  }

  .main-nav-link:link,
  .main-nav-link:visited,
  .main-nav-link-color:link,
  .main-nav-link-color:visited {
    font-size: 3rem;
  }
}

/***************/
/* BELOW 896px */
/***************/

@media (max-width: 56em) {
  html {
    font-size: 50%;
  }

  .section-what .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-links .grid--2-cols {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .news-grid a {
    text-align: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .news-grid a {
    text-align: center;
  }

  .section-links .container:nth-child(2) {
    display: none;
  }
}

/***************/
/* BELOW 704px */
/***************/

@media (max-width: 44em) {
  .hero-text-box {
    width: 100%;
  }

  .section-about .grid--4-cols {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .about-img-box:nth-child(3) {
    grid-row: 4;
  }

  .section-what .grid--3-cols {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .section-what .ordered-list-item {
    margin-left: 3.2rem;
  }

  .footer .grid--3-cols {
    grid-template-columns: 1fr;
  }
}

/***************/
/* BELOW 544px */
/***************/

@media (max-width: 34em) {
  .section-what .grid--4-cols {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}
