/* rem and em do NOT depend on html font-size in media queries!
instead, 1rem = 1em = 16px */

/* 1350 screensize/16 = 84 */

/**************************/
/* BELOW 1344px (Smaller desktops) */
/**************************/
@media (max-width: 84em) {
  /*Section into*/
}

/**************************/
/* BELOW 1200px (Landscape tablets) */
/**************************/
@media (max-width: 75em) {
  html {
    /* 9px/16px = 56.2% */
    font-size: 56, 25%;
  }

  .logo {
    height: 6rem;
    width: 6rem;
  }

  .logo-div {
    margin-right: 0.8rem;
  }

  .primary {
    font-size: 3.3rem;
  }

  .nav-links {
    font-size: 1.7rem;
    letter-spacing: 0.2rem;
    font-weight: 800;
  }

  .about-text {
    font-size: 1.6rem;
    margin-top: 1.6rem;
  }

  .email {
    margin-top: 1.6rem;
    font-size: 1.6rem;
  }
}

/**************************/
/* BELOW 944px (Tablets) */
/**************************/
@media (max-width: 59em) {
  /* 8px / 16px = 50% */

  html {
    font-size: 50%;
  }

  .logo {
    height: 5rem;
    width: 5rem;
  }

  .logo-div {
    margin-right: 0.6rem;
  }

  .primary {
    font-size: 3rem;
  }

  .nav-links {
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    font-weight: 800;
  }
  .about-text {
    font-size: 1.4rem;
    margin-top: 1.4rem;
  }

  .email {
    margin-top: 1.4rem;
    font-size: 1.4rem;
  }

  .fish-species-available {
    font-size: 1.5rem;
    padding: 0 5rem;
  }

  /**************************/
  /* MOBILE NAVIGATION */
  /**************************/
  .btn-mobile-nav {
    display: block;
    z-index: 100;
  }

  .nav {
    background-color: rgba(255, 255, 255, 0.973);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .nav-open .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;
  }

  .nav-list {
    flex-direction: column;
    gap: 8rem;
  }

  .nav-links {
    font-size: 3rem;
  }

  a:link,
  a:visited {
    padding: 3.2rem;
  }

  a:hover,
  a:active {
    padding: 3.2rem;
  }

  .about-text a {
    padding: 0;
  }
  .my-projects-ul {
    display: flex;
    flex-direction: column;
    font-size: 2.6rem;
    letter-spacing: 0.1rem;
    row-gap: 1rem;
  }

  .my-projects-li li {
    font-style: italic;
    display: flex;
    align-items: center;
  }

  .my-projects-li a {
    padding: 0;
  }
}

/**************************/
/* SMALLER TABLETS */
/* 700 */
/**************************/
/* 700/16= 43.75 = 44 */
@media (max-width: 44em) {
  .nav {
    margin-right: 2rem;
  }

  .nav-list {
    gap: 3rem;
  }

  .nav-links {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
  }

  .container {
    padding: 4rem;
  }
}

/**************************/
/* Below 600px for Phones */
/*600/16= 38em*/
/**************************/

@media (max-width: 38em) {
  .container {
    padding: 4rem;
  }
}
