/**************************/
/* SMALL SCREEN Green */
/* (max-width: 880px) */
/**************************/

/*   HERO SECTION  *****************/
/*   HIRING CARDS  *****************/
/*   HOW IT WORKS  *****************/
/*   GROWTH CONNECTIONG PEOPLE  ****/
/*   TESTIMONIALS  *****************/
/*   FOOTER  ***********************/

@media (max-width: 55em) {
  :root {
    font-size: 90%;
  }
  /*   MOBILE-NAV  *******************/

  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }

  .main-nav {
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.951);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transform: translateX(100%);

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;

    /*     1. step to hide the element
 */
    opacity: 0;

    /*     2. make it unacessible to mous and keyboard
 */

    pointer-events: none;

    /*     3. hide it from screen readers
 */
    visibility: hidden;
  }

  .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 {
    font-size: 3rem;
  }
  /*   NAVIGATION  *******************/

  .nav-col {
    grid-row: 1;
    grid-column: span 2;
  }
}
