/****************************/
/*       BELLOW 1344px     */
/**************************/

@media (max-width: 84em) {
  .about-us {
    padding-bottom: 27rem;
  }

  .about-us-img-one {
    
    display: none;
  }

  .about-us-img-two {
  
    display: none;
  }

  .about-us-text{
    font-size: 2.4rem;
  }

  .languageFlex {
    flex-direction: column;
    gap: 5rem;
  }

  .language-text {
    text-align: center;
    margin: auto 10rem;
    font-size: 2.4rem;
  }

  .order-2 {
    order: 2;
  }

  .price-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 7rem;
    /* margin: auto 10rem; */
  }
}

/****************************/
/*       BELLOW 1168px     */
/**************************/

@media (max-width: 73em) {
  html {
    /* 9px / 16px */
    font-size: 56.25%;
  }

  .heading-primary {
    font-size: 6rem;
  }

  .hero .heading-secondary {
    font-size: 3rem;
  }

  .hero-image {
    width: 35rem;
    height: 30rem;
    margin-bottom: 5rem;
  }

  .about-us {
    padding-bottom: 25rem;
  }

 .language-text{
  font-size: 2.4rem;
 }

  .about-us-img-one {
    width: 20rem;
    top: 64%;
    right: -11%;
  }

  .about-us-img-two {
    width: 20rem;
    top: 73%;
    left: -11%;
  }

  .hero-section {
    padding-bottom: 2rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    
  }

  .hero .heading-secondary {
    text-align: center;
  }

  .hero-text {
    text-align: center;
    margin: 0 5rem;
    

  }

  .hero-image {
    margin-top: 5rem;
  }

  .header-section {
    display: flex;
    justify-content: space-between;
  }

  .about-us-text {
    display: none;
  }

  .about-us-text-secondary {
    display: block;
    text-align: center;
    margin: auto 2rem;
    margin-top: 5rem;
    font-size: 2.4rem;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 5rem;
    align-items: center;
  }

  .three {
    grid-column: span 2;
  }

  .team-section .heading-secondary {
    padding-top: 0;
  }

  .team-img {
    margin-top: 7rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 65rem;
    margin: 0 auto;
  }

  .gallery-img {
    width: 25rem;
  }

  /* .price-grid {
    grid-template-columns: 1fr;
    row-gap: 10rem;
  } */
}

/****************************/
/*       BELLOW 848px      */
/**************************/

@media (max-width: 53em) {
  .about-us {
    padding-bottom: 17rem;
  }

  .about-us-img-one {
    display: none;
  }

  .about-us-img-two {
    display: none;
  }

  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }

  .nav-header {
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    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;
  }

  .nav-open .nav-header {
    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;
  }

  .nav-list {
    flex-direction: column;
    gap: 4.8rem;
  }

  .nav-link:link,
  .nav-link:visited {
    font-size: 3rem;
  }
}

/****************************/
/*       BELLOW 672px      */
/**************************/

@media (max-width: 42em) {
  html {
    /* 8px / 16px = 0.5 */
    font-size: 50%;
  }

  .header {
    padding: 0 1rem;
    padding-top: 2rem;
  }

  .sticky .header {
    padding: 1rem;
    height: 12rem;
  }

  .about-us-img-one {
    top: 52%;
  }

  .about-us-img-two {
    top: 63.7%;
  }

  .language-text {
    margin: auto 2rem;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .three {
    grid-column: span none;
  }

  .price-grid {
    grid-template-columns: 1fr;
    row-gap: 7rem;
    /* margin: auto 10rem; */
  }

  .footer {
    grid-template-columns: 1fr;
    row-gap: 5rem;
  }

  .google-map {
    margin: auto;
  }
}

/****************************/
/*       BELLOW 464px      */
/**************************/
@media (max-width: 29em) {
  .about-us-img-one {
    top: 58%;
  }

  .about-us-img-two {
    top: 68.6%;
  }
}

/****************************/
/*       BELLOW 400px      */
/**************************/
@media (max-width: 25em) {
  .about-us-img-one {
    top: 59.8%;
  }

  .about-us-img-two {
    top: 69.8%;
  }

  .gallery-img {
    width: 21rem;
  }

  .google-map-frame {
    width: 30rem;
  }
}

/****************************/
/*       BELLOW 352px      */
/**************************/
@media (max-width: 22em) {
  .about-us-img-one {
    display: none;
  }

  .gallery-img {
    width: 18.5rem;
  }

  .about-us-img-two {
    top: 72.1%;
    left: 22%;
  }
}

/****************************/
/*       BELLOW 304px      */
/**************************/
@media (max-width: 19em) {
  .about-us-img-two {
    top: 75%;
  }

  .gallery-img {
    width: 17rem;
  }
}
