/*NOT depend on html font-size in media queries! Instead, 1rem = 1em = 16px */

/**************************/
/* BELOW 1344px (Smaller desktops) */
/**************************/

@media (max-width: 84em) {
    .cont-int{
        max-width: 80%;
        margin: 0 auto;
        padding: 2.4rem;
      }
      .link-int{
        color: #f1f1f1;
        font-size: 4.8rem;
        font-weight: bold;
        line-height: 1.2;
    
        text-decoration: none;
      }
      .i{
        font-size: 64px;
      }

}
/**************************/
/* BELOW 1200px (Landscape Tablets) */
/**************************/

@media (max-width: 75em) {
  html {
    /* 9px / 16px  */
    font-size: 56.25%;
  }

  .header-menu{
    gap: 3rem;
}
.logo-box{
    width: 300px;
}

.link-menu{
    font-size: 1.4rem;
}

.cont-int{
    max-width: 80%;
    margin: 0 auto;
    padding: 2.4rem;
  }
  .link-int{
    color: #f1f1f1;
    font-size: 4.8rem;
    font-weight: bold;
    line-height: 1.2;

    text-decoration: none;
  }
  .i{
    font-size: 64px;
  }

}

/**************************/
/* BELOW 944px (Tablets) */
/**************************/

@media (max-width: 59em) {
  html {
    /* 8px / 16px = 0.5 = 50% */
    font-size: 50%;
  }
 
  header{
    width: 100%;
    left: 0;
  }
  .i{
    font-size: 48px;
  }

  
}

/**************************/
/* BELOW 704px (Smaller tablets) */
/**************************/

@media (max-width: 44em) {
    .cont-int{
        max-width: 100%;
      }
      .link-int{
        font-size: 3.2rem;
      }
      .i{
        font-size: 32px;
      }

    /* MOBILE NAVIGATION */
     
  .btn-mobile-nav {
    display: block;
    background: none;
  }

  .main-nav {
    /*background-color: rgba(255, 255, 255, 0.9);*/
    background: rgba(0, 0, 0, 0.144);
    backdrop-filter: blur(5px);
    position: absolute;
    top: -100;
    right: 0;
    width: 100vw;
    height: 100vh;
    transform: translateX(100%);
    transform: translateY(100%);
  
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;

    /* Hide navigation */
    /* Allows NO transitions at all */
    /* display: none; */

    /* 1) Hide it visually */
    opacity: 0;

    /* 2) Make it unaccessible to mouse 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: 3.2rem;
    color:black;
  }

  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 2rem;
    padding: 1rem 2rem;
    color:white;
    background-color: #197a89 ;
    border: none;
    border-radius: 2px;
    width: 35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
  }

  .main-nav-link:hover{
    
    color: #f1f1f1;
  }
  .item-menu:hover{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
  }
}

/**************************/
/* BELOW 544px (Phones) */
/**************************/

@media (max-width: 34em) {
 
  header{
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-container{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo{
    width: 70%;
    height: 80%;
  }
  
  .link-int{
    font-size: 2.4rem;
  }
  .i{
    font-size: 24px;
  }

footer .container{
  display: flex;
  flex-direction: column;
  align-items: center;
 }

  footer .container-mob{
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
  }

  footer .margin-bottom{
    margin-top: 2rem;
  }

  footer ul li{
    display: flex;
    justify-content: center;
  }
  footer .copy{
    font-size: 1rem;
    
}
.h2{
  
  font-size: 2.4rem;

}
.h3{
  font-size: 2.4rem;
  margin: 3.2rem 0;
}
}

/* 
- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/