/*****************************************/
/* BELOW 1344PX (SMALLER DESKTOPS) */
/*****************************************/

@media (max-width: 84em) {
  .hero {
    max-width: 120em;
  }

  .hero-description {
    font-size: 2rem;
  }
}

/*****************************************/
/* BELOW 1248PX (Landscape Tablets) */
/*****************************************/

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

  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 1.1rem;
  }

  .heading-primary {
    font-size: 4.8rem;
  }

  .gallery.text {
    bottom: 31rem;
    left: -20rem;
  }

  .product-heading {
    font-size: 3rem;
  }

  .product-gallery {
    column-gap: 3.4rem;
  }

  .banner-container::after {
    right: 0;
    top: 5rem;

    width: 42rem;
    height: 19rem;
  }
  .logo-img {
    width: 12rem;
  }

  .banner-description {
    font-size: 1.4rem;
  }

  .btn-banner:link,
  .btn-banner:visited {
    font-size: 2rem;
    padding: 1rem 2rem;
  }

  .insta-gallery {
    gap: 1rem;
  }

  .email {
    width: 40rem;
  }

  .grid-footer {
    gap: 4.8rem;
    padding-bottom: 4rem;
  }
}

/*****************************************/
/* BELOW 944PX (Tablets) */
/*****************************************/

@media (max-width: 59em) {
  html {
    /* 8px / 16px = 0.5 = 50 */
    font-size: 50%;
  }

  .header {
    padding: 0 10rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 14rem;
    gap: 6rem;
  }

  .heading-primary {
    margin-top: 1rem;
  }

  .hero-text-box,
  .hero-img-box {
    text-align: center;
  }

  .hero-img {
    width: 60%;
  }

  .hero-img-box::before {
    width: 60%;
    bottom: -2rem;
    right: 14rem;
  }

  .hero-description {
    font-size: 2.6rem;
  }

  .section-featured {
    padding: 4.8rem 0 0 0;
  }

  .brand img {
    height: 3rem;
  }

  .gallery-text {
    font-size: 2.2rem;
    bottom: 27rem;
    left: -18rem;
  }

  .products {
    padding: 4.8rem 0 3.2rem 0;
  }

  .banner {
    padding: 4.8rem 0 3.2rem 0;
  }

  .banner-heading {
    margin-bottom: 2rem;
  }

  .logo-img {
    width: 10rem;
  }

  .banner-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
  }

  .btn-banner:link,
  .btn-banner:visited {
    font-size: 1.6rem;
    padding: 1rem 1.8rem;
  }

  .banner-container::after {
    top: 2rem;
    width: 28rem;
    height: 13rem;
  }

  .slider-products {
    padding: 4.8rem 0;
  }

  .newsletter-instagram {
    padding: 6.4rem 0;
  }

  .footer {
    padding: 6.4rem 0 4.8rem 0;
  }

  /* .header {
    position: relative;
  } */

  /* MOBILE NAVIGATION */

  .main-header {
    display: none;
  }

  .line {
    display: none;
  }

  .line-mobile-header {
    display: block;
  }

  .mobile-nav-header {
    display: block;
  }

  .btn-mobile-nav {
    display: block;
  }

  .main-nav {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    --webkit-backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    transform: translatex(100%);

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;

    transition: all 0.5s ease-in;

    /* HIDE NAVIGATION */
    /* Allows N
    o transition at all */
    /* display: none; */

    opacity: 0;
    pointer-events: none;
    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;
  }
}

/*****************************************/
/* BELOW 704PX (Smaller Tablets) */
/*****************************************/

@media (max-width: 44em) {
  .header {
    padding: 0 7rem;
  }

  .hero-img-box::before {
    width: 60%;
    bottom: -2rem;
    right: 9rem;
  }

  .gallery {
    gap: 2rem;
  }

  .hot-category {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  .gallery-text {
    font-size: 3rem;
    bottom: 114rem;
    left: -26rem;
  }

  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .insta-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-footer {
    grid-template-columns: 1fr 1fr;
  }

  .title-footer {
    justify-content: center;
  }

  .social-links {
    align-self: center;
  }

  .catalog-col {
    justify-self: center;
  }
  .logo-col {
    /* grid-column: span 3; */
    justify-self: center;
  }

  .nav-col {
    grid-row: 1;
    /* grid-column: span 2; */
    justify-self: center;
  }
}

/*****************************************/
/* BELOW 560PX (Smaller Tablets) */
/*****************************************/

@media (max-width: 35em) {
  .header {
    padding: 0 3.2rem;
  }

  .header-link {
    gap: 1rem;
  }

  .hero {
    padding: 1rem 4.8rem;
  }

  .hero::before {
    width: 8rem;
    height: 5rem;
  }

  .hero::after {
    bottom: 14rem;
    width: 8rem;
    height: 10rem;
  }

  .hero-img {
    border-radius: 73px 0px;
  }

  .hero-img-box::before {
    bottom: -1.5rem;
    right: 6rem;
    border-radius: 73px 0px;
  }

  .hot-category {
    padding: 1rem;
    padding-top: 2rem;
  }

  .gallery-text {
    font-size: 1.4rem;
    bottom: 62rem;
    left: -14rem;
  }

  .product-heading {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }

  .banner {
    padding: 3.2rem 0 2rem 0;
  }

  .banner-heading {
    margin-bottom: 1rem;
  }

  .logo-img {
    width: 7rem;
  }

  .banner-description {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .btn-banner:link,
  .btn-banner:visited {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .banner-container::after {
    top: 3rem;
    width: 15rem;
    height: 7rem;
  }

  .slider-products {
    padding: 2.2rem 0;
  }

  .product {
    padding: 2rem 2rem;
    align-items: center;
  }

  .main-product-list {
    gap: 1.5rem;
  }

  .product-gallery {
    gap: 2rem;
  }

  .newsletter-instagram {
    padding: 4.8rem 0;
  }

  .email {
    width: 30rem;
  }

  .grid-footer {
    gap: 3.2rem;
  }

  .footer {
    padding: 4.8rem 0 1rem 0;
  }

  .footer-end {
    padding: 0 1.5rem;
  }

  .payment img {
    height: 1.2rem;
  }
}
