/*************************************/
/* BELOW 1344PX {Smaller desktop) */
/*************************************/

@media (max-width: 84em) {
  .hero {
    max-width: 120rem;
  }

  .heading-primary {
    font-size: 6.8rem;
    line-height: 67px;
  }

  .heading-primary::after {
    left: 17rem;
    width: 35rem;
    top: 9.5rem;
  }
}

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

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

  .header {
    padding: 0 6rem;
    background-position: right -12rem top;
  }

  .section-hero {
    background-position: top -14rem right -12.2rem;
  }

  .hero-text-box {
    margin-top: 7rem;
    padding-right: 2rem;
  }

  .heading-primary::after {
    top: 9.5rem;
  }

  .hero-img {
    width: 90%;
  }

  .hero-img-box::before {
    top: 6rem;
    right: 2rem;
    width: 17rem;
  }

  .hero-img-box::after {
    top: 0rem;
    left: -2.5rem;
    width: 17rem;
  }

  .section-category {
    padding: 4rem 0 6.4rem 0;
  }

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

  .feature-text {
    padding: 2rem 3rem 3rem 3rem;
  }

  .grid- {
    column-gap: 2rem;
    padding-right: 9rem;
  }

  .trip-box-europe::before {
    right: -6rem;
    top: 13rem;
    width: 11rem;
    height: 29rem;
  }

  .img-trip-box {
    margin-left: 3rem;
  }

  .rome-img {
    height: 3.8rem;
    width: 3.8rem;
  }

  .section-book {
    padding: 6.4rem 0;
  }

  .testimonial-icon {
    right: 2rem;
    bottom: 20rem;
  }

  .featured {
    padding: 6.4rem 0;
  }

  .heading-cta {
    font-size: 2.8rem;
  }

  .cta-box::before {
    height: 26.1rem;
    width: 17rem;
  }

  .center-text-cta::after {
    right: 2.6rem;
    bottom: 2rem;
    height: 15.4rem;
    width: 14.4rem;
  }

  .email {
    padding: 1.5rem 12rem 1.5rem 1rem;
  }
}

/*************************************/
/* BELOW 944PX (Tablets)*/
/*************************************/

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

  .section-hero {
    background-image: none;
  }

  .header {
    background-image: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 0 8rem;
    gap: 4rem;
  }

  .hero-text-box,
  .hero-img-box {
    margin-top: 4rem;
    text-align: center;
  }

  .subheading-hero {
    margin-bottom: 1rem;
  }

  .heading-primary {
    margin-bottom: 3.2rem;
    line-height: 80px;
  }

  .heading-primary::after {
    left: 21rem;
    width: 35rem;
    top: 10rem;
  }

  .btn-all {
    justify-content: center;
  }

  .hero-img {
    width: 60%;
  }
  .hero-img-box::before {
    top: 7rem;
    right: 19rem;
  }

  .hero-img-box::after {
    top: 2rem;
    left: 15rem;
  }

  .feature-title {
    margin-top: 2rem;
  }

  .feature-text {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }

  .trip-content {
    padding: 1.8rem 1.8rem 3.2rem 1.8rem;
  }

  .trip-box-europe::before {
    right: -5rem;
    top: 13rem;
    width: 12.3rem;
    height: 21rem;
  }

  .heading-s {
    font-size: 4.2rem;
  }

  .book-pragraph {
    padding-right: 3rem;
  }

  .img-trip-box {
    padding: 1.8rem;
  }

  .icon-group {
    gap: 0.8rem;
  }

  .customer-view-box {
    padding: 1rem 0 3rem 1.8rem;
  }

  .featured {
    padding: 4.8rem 0;
  }

  .cta-box::before {
    background-image: none;
  }

  .cta-box::after {
    background-image: none;
  }

  .heading-cta {
    font-size: 2.4rem;
    margin-bottom: 4rem;
  }

  /* MOBILE NAVIGATION */

  .btn-mobile-nav {
    display: block;
    z-index: 9999999;
  }

  .main-nav {
    background-color: rgb(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(5px);
    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;

    /* HIDE NAVIGATION */
    opacity: 0;

    pointer-events: 1;

    visibility: hidden;
    z-index: 99999;
  }

  .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;
  }
}

/*************************************/
/* BELOW 944PX (Tablets)*/
/*************************************/

@media (max-width: 44em) {
  .section-hero {
    padding: 1rem 0 4.8rem 0;
    background-image: none;
  }

  .header {
    background-image: none;
  }

  .subheading-hero {
    font-size: 1.8rem;
  }

  .heading-primary {
    font-size: 5.2rem;
    line-height: 1.3;
    letter-spacing: -2px;
  }

  .heading-primary::after {
    background-image: none;
  }

  .hero-description {
    padding: 0 1rem 3.5rem 1rem;
  }

  .hero {
    gap: 0.2rem;
  }

  .hero-img {
    width: 70%;
  }

  .hero-img-box::before {
    top: -4rem;
    left: -2rem;
  }

  .hero-img-box::after {
    top: 0;
    right: 2.5rem;
    width: 17rem;
  }

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

  .center-text-::after {
    background-image: none;
  }

  .feature-text {
    padding: 2rem 4rem 4rem 4rem;
  }

  .section-category {
    padding: 2rem 0 3.2rem 0;
  }

  .grid-3-cols,
  .grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 4.8rem;
    column-gap: 3.2rem;
  }

  .trip-box-europe {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .trip-box-europe::before {
    right: -8rem;
    top: 17rem;
    width: 12.3rem;
    height: 31.8rem;
  }

  .grid-2-cols {
    grid-template-columns: repeat(1, 1fr);
    align-items: flex-end;
  }

  .grid {
    row-gap: 6.8rem;
    column-gap: 3.2rem;
  }

  .heading-s {
    padding-right: 18rem;
  }

  .book-pragraph {
    padding-right: 18rem;
  }

  .img-trip-box {
    padding: 2.4rem;
  }

  .ongoing-trip {
    bottom: 6.6rem;
  }

  .section-testimonial {
    padding: 4.8rem 0 10rem 0;
  }

  .logos img {
    height: 2.4rem;
  }

  .section-cta {
    padding: 4.8rem 0;
  }

  .cta-form-group {
    flex-direction: column;
    gap: 4rem;
  }

  .email {
    padding: 1.5rem 10rem 1.5rem 0.5rem;
  }

  .mail {
    padding: 2rem 0.2rem 2rem 2rem;
  }

  .center-text-cta::after {
    right: 2rem;
    bottom: -3rem;
    height: 13.4rem;
    width: 14.4rem;
  }

  .grid-footer {
    grid-template-columns: repeat(6, 1fr);
  }

  .footer-logo,
  .logo-col {
    grid-column: span 3;
  }

  .nav-col {
    grid-row: 1;
    grid-column: span 2;
  }
}

/*************************************/
/* BELOW  496PX (Tablets)*/
/*************************************/

@media (max-width: 31em) {
  .section-hero {
    padding: 1rem 3.2rem;
  }

  .header {
    padding: 0 3rem;
  }

  .hero {
    padding: 0 3.2rem;
  }

  .hero-text-box {
    margin-top: 0;
  }

  .subheading-hero {
    font-size: 1.4rem;
  }

  .btn:link,
  .btn:visited {
    margin-right: 2rem;
    padding: 2.2rem 2.2rem;
    font-size: 1.6rem;
  }

  .play-icon {
    margin-right: 1.5rem;
  }

  .btn-play-demo {
    font-size: 1.6rem;
  }

  .hero-img-box::after,
  .hero-img-box::before {
    background-image: none;
  }

  .hero-img {
    width: 80%;
  }

  .logos img {
    height: 1.2rem;
  }

  .grid-4-cols,
  .grid-3-cols {
    grid-template-columns: 1fr;
    row-gap: 3.2rem;
  }

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

  .feature-text {
    padding: 2rem 6.4rem 4rem 6.4rem;
  }

  .feature-plane::after {
    width: 30%;
    height: 5%;
  }

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

  .trip-box-europe::before {
    background-image: none;
  }

  .heading-s {
    padding-right: 0;
    margin-bottom: 3.2rem;
  }

  .book-pragraph {
    padding-right: 0;
  }

  .img-trip-box {
    margin-left: 0;
  }

  .customer-view {
    padding-right: 0;
  }

  .testimonial-icon {
    bottom: 12rem;
  }

  .container-cta {
    padding: 0 6rem;
  }

  .cta-box {
    padding: 5rem;
  }

  .email {
    padding-right: 6rem;
  }
}
