/* rem and em do NOT depend on HTML font-size in media queries. 
Instead, 1rem = 1em = 16px */

/****************************/
/* BELOW 1296px */
/****************************/

@media (max-width: 81em) {
  html {
    font-size: 57.5%;
  }

  .header {
    padding: 0 2rem;
  }

  .container {
    padding: 0 2rem;
  }

  .main-nav-list {
    gap: 1.6rem;
  }

  .hero {
    gap: 3.2rem;
  }

  .testimonials-container {
    padding: 3.2rem;
  }

  .testimonials {
    row-gap: 4.8rem;
    column-gap: 2.4rem;
  }

  .alterations-gallery {
    column-gap: 3.2rem;
    margin-bottom: 4.8rem;
  }

  .embroidery-gallery {
    column-gap: 3.2rem;
    row-gap: 3.2rem;
  }

  .grid-products {
    column-gap: 3.2rem;
    margin-bottom: 3.2rem;
  }

  .product-details {
    padding: 2.4rem;
  }

  .iframe-online-booking {
    height: 83rem;
  }
}

/****************************/
/* BELOW 1120px */
/****************************/

@media (max-width: 70em) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 0 2rem;
  }

  .subheading {
    margin-bottom: 1.2rem;
  }

  .hero {
    gap: 2rem;
  }

  .hero-description-2 {
    margin-bottom: 3.2rem;
  }

  .served-customers {
    margin-top: 6.4rem;
  }

  .container {
    padding: 0 1.6rem;
  }

  .main-nav-list {
    gap: 0.8rem;
  }

  .grid {
    column-gap: 3.2rem;
    row-gap: 8rem;
  }

  .layer-img-Custom-Embroidery {
    width: 37%;
  }

  .testimonials-container {
    padding: 2.4rem;
  }

  .testimonials {
    column-gap: 2rem;
  }

  .alterations-gallery {
    column-gap: 2.4rem;
  }

  .embroidery-section-grid {
    gap: 2.4rem;
    margin-bottom: 4.8rem;
  }

  .embroidery-gallery {
    column-gap: 2.4rem;
    row-gap: 2.4rem;
  }

  .grid-products {
    column-gap: 2.4rem;
    margin-bottom: 2.4rem;
  }

  .product-details {
    padding: 2rem;
  }

  .iframe-online-booking {
    height: 92rem;
  }

  .grid--footer {
    column-gap: 4.8rem;
  }
}

/****************************/
/* BELOW 944px */
/****************************/

@media (max-width: 59em) {
  html {
    font-size: 52.5%;
  }

  .subheading {
    margin-bottom: 0.8rem;
  }

  .main-nav-list {
    gap: 0.4rem;
  }

  .grid {
    column-gap: 2.4rem;
    row-gap: 6.4rem;
  }

  .hero-description-2 {
    margin-bottom: 2.4rem;
  }

  .served-customers {
    margin-top: 4.8rem;
  }

  .testimonials {
    column-gap: 1.6rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item-7,
  .gallery-item-8,
  .gallery-item-9 {
    display: none;
  }

  .alterations-gallery {
    column-gap: 2rem;
    row-gap: 0.8rem;
    padding: 0.8rem;
  }

  .embroidery-section-grid {
    gap: 2rem;
  }

  .embroidery-gallery {
    padding: 0.8rem;
  }

  .product-details {
    padding: 1.6rem;
  }

  .iframe-online-booking {
    height: 95rem;
  }

  .grid--footer {
    column-gap: 3.2rem;
  }
}

/****************************/
/* BELOW 768px */
/****************************/

@media (max-width: 48em) {
  html {
    font-size: 50%;
  }

  .subheading {
    margin-bottom: 0.4rem;
  }

  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }

  .main-nav {
    background-color: rgba(251, 234, 228, 0.9);
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 60vh;
    transform: translateX(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-out;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    z-index: 9999;
  }

  .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: 2rem;
  }

  .section-hero {
    /*Padding TOP RIHGT BOTTOM LETF*/
    /* padding: 4.8rem 2.4rem 3.2rem 2.4rem; */
    margin-top: 4.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    /* gap: 6.4rem; */
  }

  .hero-text-box,
  .hero-img-box {
    text-align: center;
  }

  .served-customers {
    justify-content: center;
  }

  .hero-img {
    width: 60%;
  }

  .grid {
    column-gap: 2rem;
    row-gap: 4.8rem;
  }

  .heading-primary {
    font-size: 3.6rem;
  }

  .heading-secondary {
    font-size: 3rem;
  }

  .heading-tertiary {
    font-size: 2.4rem;
  }

  .section-how {
    /*Padding TOP RIHGT BOTTOM LETF*/
    padding: 0 2.4rem 0 2.4rem;
  }

  .grid--2-cols-how {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* ### Layer 1 ### */
  .layer-text-box1 {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .layer-img-box1 {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  /* ### Layer 2 ### */
  .layer-img-box2 {
    grid-column: 1/2;
    grid-row: 4/5;
  }

  .layer-text-box2 {
    grid-column: 1/2;
    grid-row: 3/4;
  }

  /* ### Layer 3 ### */
  .layer-text-box3 {
    grid-column: 1/2;
    grid-row: 5/6;
  }

  .layer-img-box3 {
    grid-column: 1/2;
    grid-row: 6/7;
  }

  /* ### Layer 4 ### */
  .layer-img-box4 {
    grid-column: 1/2;
    grid-row: 8/9;
  }

  .layer-text-box4 {
    grid-column: 1/2;
    grid-row: 7/8;
  }

  .layer-img-box {
    transform: translateY(-1.2rem);
    margin-bottom: 4.8rem;
    width: 70%;
    justify-self: center;
  }

  .grid:last-child {
    margin-bottom: 0;
  }

  .layer-img-box::before {
    width: 70%;
    padding-bottom: 70%;
  }

  .layer-img-box::after {
    width: 60%;
    padding-bottom: 60%;
  }

  .layer-img {
    width: 65%;
  }

  .layer-img-Custom-Embroidery {
    width: 43%;
  }

  .section-testimonials {
    grid-template-columns: 1fr;
    /*Padding TOP RIHGT BOTTOM LETF*/
    padding: 0 2.4rem 4.8rem 2.4rem;
  }

  .testimonials {
    column-gap: 0rem;
    margin-bottom: 0rem;
  }

  .gallery {
    grid-template-columns: repeat(6, 1fr);
    margin-bottom: 2rem;
  }

  .alterations-gallery {
    column-gap: 0.8rem;
  }

  .internal-text-centered {
    font-size: 1.4rem;
  }

  .embroidery-section-grid {
    grid-template-columns: 8fr 2fr;
    gap: 2.4rem;
    margin-bottom: 4.8rem;
  }

  .embroidery-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4.8rem;
    row-gap: 4.8rem;
    margin-bottom: 6.4rem;
  }

  /* ### TRABALHOS FEITOS ### */

  .trabalho1 {
    grid-column: 1/3;
    grid-row: 1/3;
  }

  .trabalho2 {
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .trabalho3 {
    grid-column: 2/3;
    grid-row: 3/4;
  }

  .trabalho4 {
    grid-column: 1/2;
    grid-row: 4/5;
  }

  .trabalho5 {
    grid-column: 2/3;
    grid-row: 4/5;
  }

  .grid-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 2rem;
  }

  .product-details {
    padding: 1.2rem;
  }

  .grid--2-cols-about-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
  }
  .layer-img-box-about-us {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .iframe-online-booking {
    height: 99rem;
  }

  .paragraph-2 {
    grid-column: 1/3;
    grid-row: 2/3;
  }

  .paragraph-3 {
    grid-column: 1/3;
    grid-row: 3/4;
  }

  .grid--footer {
    grid-template-columns: 4.95fr 0.1fr 4.95fr;
  }

  .contact-us-heading,
  .phone-email-contact,
  .footer-link,
  .address {
    display: none;
  }
}

/****************************/
/* BELOW 720px */
/****************************/

@media (max-width: 45em) {
  html {
    font-size: 47.5%;
  }

  .iframe-online-booking {
    height: 95rem;
  }
}

/****************************/
/* BELOW 592px */
/****************************/

@media (max-width: 37em) {
  html {
    font-size: 45%;
  }

  .iframe-online-booking {
    height: 109rem;
  }
}
