/* Below 1350px */

@media (max-width: 84em) {
  .hero {
    max-width: 120rem;
  }
}
/* Below 1200px */

@media (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
  .why-us-heading,
  .about-heading,
  .services-heading,
  .testimonials-heading {
    font-size: 3.6rem;
  }
  .cta-heading {
    font-size: 2.4rem;
  }
  .about,
  .pricing-box,
  .footer-grid {
    column-gap: 4.8rem;
    row-gap: 6.4rem;
  }
  .cta-text {
    font-size: 1.4rem;
  }
  .header {
    padding: 0 3.2rem;
  }
  .hero {
    gap: 4.8rem;
  }
  .main-nav-list {
    gap: 3.2rem;
  }
  .transport-prices .btn {
    font-size: 1.6rem;
    font-weight: 400;
  }
}
/* Below 944px */
@media (max-width: 59em) {
  html {
    font-size: 50%;
  }

  .hero {
    grid-template-columns: 1fr;
  }
  .hero-img {
    width: 60%;
  }
  .hero-primary {
    text-align: center;
  }
  .hero-img-box {
    text-align: center;
  }
  .headin-primary {
    font-size: 4.8rem;
  }
  .hero-description {
    font-size: 1.8rem;
  }
  .highlight-text {
    line-height: 2.4rem;
    font-size: 1.3rem;
  }

  .why-us-el {
    font-size: 1.2rem;
    gap: 2rem;
  }

  .about-description {
    font-size: 1.4rem;
  }
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 6.2rem;
    row-gap: 2.4rem;
  }
  .testimonial-text {
    font-size: 1.4rem;
  }
  .testimonial-name {
    font-size: 1.2rem;
  }
  .pricing-box {
    grid-template-columns: 1fr 1fr;
  }
  .transport-prices {
    grid-column: -1 /1;
    justify-self: center;
  }
  .cta {
    grid-template-columns: 3fr 2fr;
  }
  .cta-form {
    grid-template-columns: 1fr;
  }
  .cta-form input,
  .cta-form select {
    font-size: 1.2rem;
  }
  .btn-mobile-nav {
    display: block;
    z-index: 100;
  }
  .main-nav {
    background-color: #ffffffe6;
    backdrop-filter: blur(10px);
    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;

    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;
  }
  .counter {
    padding: 1.8rem 3rem;
    font-size: 1.4rem;
  }
}
/* below 700px */
@media (max-width: 44rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .adress-col {
    grid-column: -1 /1;
    justify-self: center;
  }
  .footer-link {
    display: block;
  }
  .contacts-text {
    display: block;
    text-align: center;
  }
}
/* Below 544px */
@media (max-width: 34em) {
  .testimonials,
  .pricing-box,
  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 4.8rem;
  }
  .footer-container {
    margin: 0 auto;
    padding: 0 3.2rem;
  }
  .hero {
    padding: 0, 3.2rem;
  }
  .hero-section {
    padding: 2.4rem 0 4.8rem 0;
  }
  .heading-primary {
    font-size: 3.6rem;
  }
  .btn,
  .btn:link,
  .btn:visited {
    padding: 2.4rem 1.6rem;
    font-size: 1.3rem;
  }
  .btn-form {
    padding: 1.4rem 7.6rem;
    font-size: 1.5rem;
  }
  .hero-img {
    width: 85%;
  }

  .why-us-el {
    font-size: 1rem;
    gap: 1.5rem;
  }

  .about-description {
    font-size: 1.2rem;
  }

  .about {
    grid-template-columns: 1fr;
    column-gap: 2.4rem;
    row-gap: 3.2rem;
  }

  .about-img {
    width: 100%;
    display: block;
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .cta-img-box {
    height: 32rem;
    grid-row: 1;
  }
  .cta-text-box {
    padding: 3.2rem;
  }
  .counter {
    padding: 2.4rem 4.4rem;
    font-size: 2rem;
  }
  .testimonials-heading {
    font-size: 3rem;
  }
  .inner-pop-up {
    width: 85%;
  }
  .pop-up-text {
    font-size: 1.3rem;
  }
  .btn-viber {
    font-size: 1.5rem;
    width: 50%;
    margin-top: 2.5rem;
  }
}
