/* BREAKPOINT */
/* *************************************************** */
/* BELOW 1366px (smaller desktop / hd screen) */
/* *************************************************** */
/* setting breakpoint is to 1350px / 16px = 84.375em let's choose 84em which is 1344px */
@media (max-width: 84em) {
  .hero {
    max-width: 120rem;
  }
  .heading-primary {
    font-size: 5.2rem;
  }
}

/* *************************************************** */
/* BELOW 1200px (landscape tablet) */
/* *************************************************** */
@media (max-width: 75em) {
  /* 1step down font size 9px / 16px = 0.5625 = 56.25% */
  html {
    font-size: 56.25%;
  }
  .section-hero {
    padding: 0 6.4rem;
  }
  .artist-about {
    margin-left: 6.4rem;
  }
  .makeup-textbox {
    margin-right: 6.4rem;
  }
  .hairstyle-textbox {
    margin-left: 6.4rem;
  }
  .testimonial-flex,
  .grid {
    gap: 6.4rem;
  }
  /* .btm-border-certificate,
  .btm-border-gallery {
    right: 41.5%;
  } */
  /* .img-sec2 {
    width: 60%;
  } */
}

/* *************************************************** */
/* BELOW 944px (tablet) */
/* *************************************************** */
/* 944px / 16 = 59em */
@media (max-width: 59em) {
  /* one step down html font-size 8px */
  html {
    font-size: 50%;
  }
  .sticky .header {
    height: 9rem;
  }
  .section-hero {
    padding: 0 4.8rem;
  }
  .sub-about,
  .services {
    grid-template-columns: 1fr;
  }
  .makeup-textbox {
    grid-row: 3;
  }
  .img-sec2 {
    width: 50%;
  }
  .artist-about,
  .makeup-textbox,
  .hairstyle-textbox {
    padding: 9.6rem 4.8rem;
    margin: 0 0;
  }
  .gallery-div {
    grid-template-columns: repeat(2, 1fr);
    gap: 4.8rem;
    padding: 4.8rem;
  }
  bottom-border {
    height: 5.5rem;
  }
}

/* *************************************************** */
/* BELOW 736px (smaller tablet) */
/* *************************************************** */
/* 736px / 16px = 46em */
@media (max-width: 46em) {
  .sticky .header {
    height: 8rem;
  }
  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }
  .main-nav {
    /* blur */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* *************************** */
    position: absolute;
    background-color: rgba(255, 240, 245, 0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* animate */
    transition: all 0.5s ease-in;
    transform: translateX(100%);
    /* hide element */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .main-nav-list {
    flex-direction: column;
    gap: 4.8rem;
  }
  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    /* animate */
    transform: translateX(0);
  }
  .main-nav-link:link,
  .main-nav-link:visited {
    color: #fe6f5e;
  }
  .main-nav-link:hover,
  .main-nav-link:active {
    color: #010b13;
  }
  .main-nav-link ion-icon {
    height: 4.8rem;
    width: 4.8rem;
  }
  .nav-open .icon-mobile-nav[name="arrow-forward"] {
    display: block;
    color: #fe6f5e;
  }
  .nav-open .icon-mobile-nav[name="menu"] {
    display: none;
  }
  .grid-1-cols {
    grid-template-columns: 1fr;
  }
  .logo-img {
    padding-top: 0;
  }
  .hero-text-box {
    text-align: center;
    padding: 4.8rem 4.8rem 0 4.8rem;
  }
  .testimonial-flex,
  .grid {
    gap: 4.8rem;
  }
  .hero-imgbox {
    width: 60%;
    /* height: 100vh; */
    margin: 0 auto;
  }
  .artist-about,
  .makeup-textbox,
  .hairstyle-textbox {
    padding: 4.8rem 4.8rem;
  }
  .gallery-portfoilo,
  .section-test,
  .cert-section {
    padding: 4.8rem 0;
  }
}

/* *************************************************** */
/* BELOW 544px (mobile phones) */
/* *************************************************** */
/* 544px / 16px = 34em */
@media (max-width: 34em) {
  .header {
    height: 8em;
  }
  .logo-img {
    width: 12%;
  }
  .hero-text-box {
    text-align: center;
    padding: 1.6rem 4.8rem 0 4.8rem;
  }
  .margin-right-16px {
    margin-right: 0 !important;
  }
  .mrb-32px {
    margin-bottom: 3.2rem;
  }
  .about-imgbox {
    flex-direction: column;
    /* display: block; */
  }
  .about-me-textbox {
    padding: 4.8rem;
    order: -1;
  }
  .service-info {
    flex-direction: column;
  }
  .about-hairstyle-box {
    flex-direction: column;
  }
  .img-sec2 {
    background-color: #010b13;
    width: 100%;
  }
  .testimonial-flex {
    flex-direction: column;
  }
  .client-test {
    margin-bottom: 1.6rem;
  }
  .gallery-div {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    row-gap: 4.8rem;
  }
  .bottom-border {
    height: 5.5rem;
    width: 21rem;
  }
}
