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

/**************************/
/* BELOW 1914px */
/**************************/

@media (max-width: 120em) {
  .heading-primary-hero {
    font-size: 4.8rem;
    padding-right: 10rem;
    margin-left: 0rem;
  }

  .hero-text {
    font-size: 1.4rem;
    padding-right: 6rem;
    margin-right: 20rem;
  }
}

/**************************/
/* BELOW 1696px */
/**************************/

@media (max-width: 15em) {
  .heading-primary-hero,
  .hero-text {
    padding-right: 24rem;
  }

  .color-title {
    /* padding: 0 3.2rem 3.2rem 2.4rem; */
    padding-bottom: 3.2rem;
    margin: 6.4rem 0;
  }
}

/**************************/
/* BELOW 1520px */
/**************************/

@media (max-width: 95em) {
  .heading-primary-hero,
  .hero-text {
    padding-right: 30rem;
  }
}

/**************************/
/* BELOW 1344px */
/**************************/

@media (max-width: 84em) {
  .heading-primary-hero,
  .hero-text {
    padding-right: 40rem;
    padding-left: 0%;
  }

  .heading-primary-hero {
    font-size: 4.4rem;
  }

  .treatment-card {
    height: 40rem;
    width: 40rem;
  }

  .treatment-img {
    height: 40rem;
    width: 40rem;
  }

  .color-title {
    /* padding: 0 3.2rem 3.2rem 2.4rem; */
    padding-bottom: 3.2rem;
    margin: 4.8rem 0;
  }
}

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

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

  /* .heading-primary-hero,
  .hero-text {
    padding-right: 40rem;
    padding-left: 0%;
  } */

  .grid {
    column-gap: 4.8rem;
    row-gap: 6.4rem;
  }

  .heading-secondary {
    font-size: 3.6rem;
  }

  .heading-tertiary {
    font-size: 2.4rem;
  }

  .header {
    padding: 0 3.2rem;
  }

  .main-nav-list {
    gap: 3.2rem;
  }

  .testimonials-container {
    padding: 9.6rem 3.2rem;
  }

  .section-hero {
    min-height: 60vh;
    max-height: 60vh;
  }

  .testimonial-card {
    position: absolute;

    height: 25rem;
    max-width: 30rem;
    top: 0;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.5 ease;
  }

  .ot-grid {
    gap: 6rem;
    margin-bottom: 12rem;
  }
}

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

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

  .link-hover:link,
  .link-hover:visited {
    display: block;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2rem;
    padding: 2.4rem 1rem;
    color: #555;
    transition: all 0.2s;
    background-color: rgba(0, 0, 0, 0.001);
  }

  .hero-text {
    padding-right: 40rem;
    padding-left: 0%;
    margin-bottom: 10rem;
  }

  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    z-index: 1050;
  }

  .main-nav {
    background-color: rgba(255, 255, 255, 0.97);
    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;

    /* 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;
    z-index: 1001;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    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: 6rem;
  }

  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 3rem;
  }
  .section-hero {
    min-height: 50vh;
    max-height: 50vh;
  }

  .nav-hero-btn {
    font-size: 2.4rem;
  }

  .bio-description {
    position: relative;
    padding: 6.2rem;
    padding-left: 6.2rem;
    padding-right: 8rem;
    border-radius: 8px;
  }

  .bio-img {
    width: 90%;
    padding-left: 6.2rem;
  }

  .makeup-img {
    /* overflow: hidden; */
    width: 40rem;
  }

  .ot-grid {
    gap: 6rem;
    margin-bottom: 40rem;
  }

  .lamnination-img {
    /* overflow: hidden; */
    width: 45rem;
  }
}

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

@media (max-width: 52em) {
  .section-hero {
    min-height: 40vh;
    max-height: 40vh;
  }

  .hero-text,
  .heading-primary-hero {
    padding-right: 40rem;
    padding-left: 0%;
    margin-bottom: 10rem;
    display: none;
  }

  .treatment-grid-container.grid {
    font-size: 1.6rem;
    grid-template-rows: 45rem 45rem 45rem 45rem 45rem 45rem;
    grid-template-columns: 1fr;
    row-gap: 0rem;
  }

  .treatment-card--1,
  .treatment-text.color-treatment {
    grid-row: 1;
    grid-column: 1;
  }

  .treatment-card--2,
  .treatment-text.makeup-treatment {
    grid-row: 2;
    grid-column: 1;
  }

  .treatment-card--3,
  .wax-treatment {
    grid-row: 3;
    grid-column: 1;
  }

  .treatment-card--4,
  .treatment-text.lamination-treatment {
    grid-row: 4;
    grid-column: 1;
  }

  .treatment-card--5,
  .treatment-text.eyebrows-treatment {
    grid-row: 5;
    grid-column: 1;
  }

  .treatment-card--6,
  .treatment-text.head-spa-treatment {
    grid-row: 6;
    grid-column: 1;
  }

  .treatment-title {
    display: inline-block;
    text-align: center;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 4rem;
    letter-spacing: 2px;
    /* margin-top: 1rem; */
    padding-top: 3.6rem;
    padding-right: 3.6rem;
    padding-left: 3rem;
    padding-bottom: 2.4rem;
    color: var(--quaternary-text-color);
    /* text-shadow: 1px 0 #f9a5c2, -1px 0 #f9a5c2, 0 1px #f9a5c2, 0 -1px #f9a5c2,
             0.5px 0.5px #f9a5c2, -0.5px -0.5px #f9a5c2, 0.5px -0.5px #f9a5c2, -0.5px 0.5px #f9a5c2; */
  }

  .treatment-description {
    font-size: 1.6rem;
    line-height: 2;
    padding: 0 3rem;
    margin-bottom: 2.6rem;
    /* text-align: center; */
  }

  .treatment-info:link,
  .treatment-info:visited {
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--quaternary-text-color);
    padding: 1rem 2rem;
    /* box-shadow: inset 0 0 0 3px var(--primary-color); */
    background-color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .treatments-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 4.8rem 9.6rem;
    /* border-radius: 10px; */
    margin-bottom: 12rem;
    transition: all 0.4s;
    z-index: 100;
  }

  .section-footer::after {
    top: 20rem;
  }

  .footer::after {
    top: 60rem;
  }

  .makeup-img {
    /* overflow: hidden; */
    width: 40rem;
    /* margin-bottom: 0rem; */
    /* transform: scale(1.25); */
    border-radius: 10px;
  }

  .lashes-description {
    /* background-color: rgba(255, 227, 227, 0.1); */
    width: 40rem;
    height: 80rem;
    box-shadow: var(--secondary-background-color) 0px 0px 1px;
    border-radius: 8px;
    margin-bottom: 2rem;
  }

  .makeup-description {
    /* background-color: rgba(255, 227, 227, 0.1); */
    width: 40rem;
    height: 80rem;
    box-shadow: var(--secondary-background-color) 0px 0px 1px;
    border-radius: 8px;
  }
}

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

@media (max-width: 44em) {
  .grid--3-cols,
  .grid--4-cols-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .heading-secondary {
    margin-bottom: 4.8rem;
  }

  /* .logo-col,
  .address-col {
    grid-column: span 2;
  } */

  /* .nav-col {
    grid-row: 1;
    grid-column: span 2;
    margin-bottom: 3.2rem;
  } */

  .section-hero {
    min-height: 30vh;
  }
}

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

@media (max-width: 34em) {
  .grid {
    row-gap: 4.8rem;
  }

  .grid--2-cols,
  .grid--3-cols,
  .grid--4-cols {
    grid-template-columns: 1fr;
  }

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

  .section-hero {
    min-height: 27vh;
    max-height: 30vh;
  }

  .testimonial-card {
    position: absolute;

    height: 30rem;
    max-width: 13rem;
    top: 0;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.5 ease;
  }

  .testimonial-person-name {
    text-align: left;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    padding: 1.6rem 1.8rem 1.2rem 1.8rem;
    padding-bottom: 0;
    color: var(--secondary-color);
  }

  .star-rating {
    display: flex;
    padding: 0.8rem 3.6rem 0 3.6rem;
  }

  .star {
    color: #ffd000;
    height: 1.4rem;
    width: 1.4rem;
  }

  .testimonial-text {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 2rem;
    padding: 0.8rem 1.8rem 1.2rem 1.8rem;
  }

  .testimonial-card--btn {
    position: absolute;
    top: 50%;
    z-index: 10;

    border: none;
    background-color: var(--secondary-color);
    font-family: inherit;
    color: #333;
    border-radius: 50%;
    height: 3.2rem;
    width: 3.2rem;
    font-size: 2rem;
    cursor: pointer;
    z-index: 102;
  }

  .description-subtitle {
    padding: 0 4rem 0 4rem;
    margin-bottom: 8rem;
  }

  .makeup-title {
    font-size: 5.4rem;
  }

  .lamination-title {
    font-size: 6.2rem;
    margin-top: 1.6rem;
  }
}

/* 
- 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
*/
