@media (max-width: 50em) {
  /*******************
    Hero-Section */
  .book-button:link,
  .book-button:visited {
    text-decoration: none;
    color: #fff;
    font-size: 1.6rem;
    padding: 1.5rem 2.5rem;
    font-weight: 700;
    border-radius: 1.5rem;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
  }
  /*******************
    Hero-Section End */

  /*******************
    About-Us Section */
  .about {
    padding: 8rem 5rem;
  }

  .about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 2rem 1rem 2rem 1rem;
  }

  .about-us-header {
    margin-bottom: 0rem;
    font-size: clamp(3rem, 5vw, 3.6rem);
    color: #1a5325;
    font-weight: 700;
  }

  .about-us-description {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 4rem;
    line-height: 1.3;
  }

  /*******************
    About-Us Section End */

  /****************
    How it Works Section */
  .header-how-text {
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100vh;
    width: 100%;
    padding-top: 2rem;
    padding-left: 2rem;
  }

  .h1-how {
    font-size: clamp(3rem, 5vw, 3.6rem);
    line-height: 1;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 700;
  }

  .flex-how {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }

  .why-us {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    height: 100vh;
    width: 100%;
    padding-bottom: 2rem;
    padding-right: 2rem;
  }
  /****************
  How it Works Section End */

  /****************
  Testimonial-Section */
  .testimonial-section {
    padding: 10rem 5rem;
    margin-top: 0rem;
  }

  .testimonial-grid {
    row-gap: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8rem;
  }

  .testimonial-image-1 {
    align-self: flex-start;
    width: 100%;
    height: auto;
    object-fit: initial;
    border-radius: 0.5rem;
  }

  .testimonial-image {
    width: 100%;
    height: auto;
    object-fit: initial;
    border-radius: 0.5rem;
    align-self: flex-start;
  }

  .h1-testimonial {
    font-size: clamp(3rem, 5vw, 3.6rem);
    color: #1a5325;
    line-height: 1;
    margin-bottom: 12.5rem;
    text-align: center;
  }

  .testimonial-comment {
    font-size: 1.6rem;
    font-weight: 600;
    width: 100%;
    justify-self: end;
  }

  .testimonial-comment-1 {
    font-size: 1.6rem;
    font-weight: 600;
    width: 100%;
    justify-self: flex-start;
  }
  /****************
  Testimonial-Section End 
  *******************/

  /****************
  Pagination-Section 
  ******************/
  /*.pagination-button {
    background: none;
    border: 1px solid #1a5325;
    height: 3rem;
    width: 3rem;
    color: #1a5325;
    border-radius: 50%;
    cursor: pointer;
  } */

  .pagination-icon {
    height: 2.6rem;
    width: 2.6rem;
    color: #1a5325;
  }

  .pagination-link:link,
  .pagination-link:visited {
    text-decoration: none;
    color: #3b3b3b;
    font-size: 1.6rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3.6rem;
    width: 3.6rem;
  }

  .pagination-link.link-4 {
    background-color: #1a5325;
    color: #fff;
  }

  .pagination-link:active,
  .pagination-link:hover {
    background-color: #1a5325;
    color: #fff;
  }
  /****************
  Pagination-Section 
  *****************/

  /****************
  Contact-Us Section 
  ******************/

  .contact-us {
    padding: 10rem 5rem;
    margin-top: 0rem;
  }

  .contact-us-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    justify-self: end;
    gap: 3rem;
    width: 100%;
  }
  /****************
  Contact-Us Section end 
  *******************/

  /*********************
  Footer-Section
  *********************/

  .footer {
    padding: 5rem;
  }

  .footer-logo {
    display: inline-block;
    position: absolute;
    height: 17rem;
    width: auto;
    left: -1.6rem;
    top: -2rem;
  }

  /*********************
  Footer-Section End
  *********************/
}

@media (max-width: 39em) {
  /********************
  Header-Section (Navigation)*/
  .swifthaul-nav {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100vh;

    /* To make it slide */
    transform: translateX(100%);

    /* Adjust the navigation in the center vertically */
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    background-color: rgb(26, 83, 37);

    /* Transition trick */
    transition: all 0.8s;

    /* Hide the navigation */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .nav-open .swifthaul-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0);
  }

  .nav-open .icon-mobile-navigation-close {
    display: block;
    height: 3rem;
    width: 3rem;
    color: #fff;
    z-index: 100;
  }

  .nav-open .icon-mobile-navigation-menu {
    height: 3rem;
    width: 3rem;
    color: #fff;
    z-index: 100;
    display: none;
  }

  .nav-open .swifthaul-logo {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .mobile-navigation {
    display: block;
    position: absolute;
    top: 4rem;
    right: 4rem;
    margin-top: 2rem;
  }

  /********************
  Header-Section (Navigation) End */
  .swifthaul-logo {
    display: block;
    height: 20rem;
    margin-left: 7rem;
    margin-top: -3rem;
  }

  .header-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-evenly;
    height: 100vh;
    width: 100%;
    padding-bottom: 2rem;
    padding-right: 4rem;
  }


  /********************
  About-Us Section */
.about {
    padding: 5rem 2rem;
  }

  .about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5rem;
    row-gap: 3rem;
    padding: 0rem;
  }

  /********************
  About-Us Section End*/

  /********************
  How it works section */

  .header-how-text {
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100vh;
    width: 100%;
    padding-top: 3rem;
    padding-left: 3rem;
  }

  .h1-how {
    font-size: clamp(2.4rem, 5vw, 3rem);
    line-height: 1;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 700;
  }

  .why-us {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    height: 100vh;
    width: 100%;
    padding-bottom: 3rem;
    padding-right: 3rem;
  }
  /********************
  How it works section End */

  /********************
  Testimonial - Section */
  .testimonial-section {
    padding: 7.5rem 2rem;
    margin-top: 0rem;
  }

  .testimonial-grid {
    row-gap: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5rem;
  }

  .h1-testimonial {
    font-size: clamp(2.4rem, 5vw, 3rem);
    color: #1a5325;
    line-height: 1;
    margin-bottom: 5rem;
    text-align: center;
  }

  .testimonial-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 7rem;
  }

  .pagination-button {
    margin-bottom: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2.8rem;
    color: #1a5325;
  }

  .testimonial-comment {
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
    justify-self: end;
  }

  .testimonial-comment-1 {
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
    justify-self: flex-start;
  }

  .testimonial-author {
    font-size: 1.3rem;
    margin-top: 1rem;
    font-weight: 400;
    justify-self: end;
  }

  .testimonial-author-1 {
    font-size: 1.3rem;
    margin-top: 1rem;
    font-weight: 400;
    justify-self: flex-start;
  }
  /********************
  Testimonial-Section End */

  /****************
  Contact-Us Section 
  ******************/
  .contact-us {
    padding: 7.5rem 2rem;
    margin-top: 0rem;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
  }

  .h1-contact {
    margin-bottom: 8rem;
    text-align: center;
    font-size: clamp(2.4rem, 5vw, 3rem);
    color: #1a5325;
    border-bottom: 1px solid #1a5325;
  }

  .contact-message {
    font-size: 1.8rem;
    font-weight: 600;
  }

  .contact-image {
    margin-top: 2rem;
    flex: 1; /* Takes remaining space */
    width: 100%; /* Ensures full width */
    height: auto; /* Scales properly */
    object-fit: cover; /* Crops image nicely */
    opacity: 70%;
  }

  /****************
  Contact-Us Section End
  ******************/

  /*********************
  Footer-Section
  *********************/
  .footer {
    padding: 5rem 2rem;
  }

  .footer-header {
    font-size: clamp(2.4rem, 5vw, 3rem);
    margin-bottom: 1rem;
  }

  .subscribe-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .subscribe-button {
    padding: 1rem 2rem;
    border-radius: 0 0.5rem 0.5rem 0;
    background: none;
    background-color: #3b3b3b;
    color: #fff;
    cursor: pointer;
  }

  .subscribe-elements {
    display: flex;
    align-items: center;
    max-width: 35rem;
    margin-bottom: 2rem;
  }
  
  .subscribe-button:hover {
    background-color: #123a1a;
  }

  .site-elements {
    font-size: 1.2rem;
    gap: 1rem;
    display: flex;
    margin-bottom: 5rem;
  }

  .footer-logo {
    display: inline-block;
    position: absolute;
    height: 15rem;
    width: auto;
    left: -1.6rem;
    top: -1.2rem;
  }

  /*********************
  Footer-Section End
  *********************/
}

@media (max-width: 30em) {
    /********************
  Hero-Section*/

  header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(Header-images/green-truck-2.webp);
    background-size: cover;
    height: 100vh;
    overflow-x: hidden;
    
  }

  /********************
   (Navigation)*/
  .swifthaul-nav {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100vh;

    /* To make it slide */
    transform: translateX(100%);

    /* Adjust the navigation in the center vertically */
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    background-color: rgb(26, 83, 37);

    /* Transition trick */
    transition: all 0.8s;

    /* Hide the navigation */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .nav-open .swifthaul-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0);
  }

  .nav-open .icon-mobile-navigation-close {
    display: block;
    height: 3rem;
    width: 3rem;
    color: #fff;
    z-index: 100;
  }

  .nav-open .icon-mobile-navigation-menu {
    height: 3rem;
    width: 3rem;
    color: #fff;
    z-index: 100;
    display: none;
  }

  .nav-open .swifthaul-logo {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .mobile-navigation {
    display: block;
    position: absolute;
    top: 4rem;
    right: 4rem;
    margin-top: 2rem;
  }

  .swifthaul-logo {
    display: block;
    height: 20rem;
    margin-left: 4rem;
    margin-top: -3rem;
  }



  /*.mobile-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    position: absolute;
    width: 100%;
    height: 15%;
    top: -5rem;
    z-index: 9999;
    align-items: center;
    align-content: flex-start;
  } */

   /*/* Fixes the width of the logo and places it in the mobile-navigation flex 
   .mobile-navigation img{
    width: 25rem;
    height: auto;
  } */

   /********************
   (Navigation) End */

  .h-1 {
    font-size: clamp(3.6rem, 5vw, 4.4rem);
    color: #1a5325;
    line-height: 1;
    margin-bottom: 2rem;
  }

  .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 100vh;
    width: 100%;
    padding-bottom: 2rem;
    padding-right: 0rem;
  }

  .header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .book-button:link,
  .book-button:visited {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 1.6rem;
    padding: 1.5rem 2.5rem;
    font-weight: 700;
    border-radius: 1.5rem;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
  }
  /********************
     Hero-Section End */

  /********************
  About-Us Section*/

  .about-us-grid {
    display: grid;
    grid-template-columns:1fr;
    column-gap: 5rem;
    row-gap: 3rem;
    padding: 0rem;
  }

  .about-us-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-self: center;
    margin-bottom: 0rem;
    font-size: clamp(3rem, 5vw, 3.6rem);
    color: #1a5325;
    font-weight: 700;
  }

  .about-us-description {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 2rem;
    line-height: 1.3;
  }

  .services-header {
    margin-bottom: 2rem;
    font-size: clamp(3rem, 5vw, 3.6rem);
    color: #1a5325;
    font-weight: 700;
    justify-self: center;
  }

  .header-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: baseline;
    margin-left: 2.5rem;
  }

  .services-flex {
    justify-content: center;
  }

  .services-location {
    grid-column: 1/2;
  }

  .services-text {
    justify-self: center;
    justify-items: self-start;
  }

  .services-icon-30em {
    display: none;
  }

  /********************
  About-Us Section End */

  /********************
  How it Works Section*/
  .header-how {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(how-section/how\ it\ works\ delivery.webp);
    background-size: cover;
    background-position: center;
    height: 100vh;
  }

  .header-how-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  /********************
  Testimonial-Section */
  .testimonial-section {
    margin-top: 0;
    padding: 5rem 2rem;
  }

  .testimonial-grid {
    row-gap: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 3rem;
    grid-row: 1fr;
  }

  .flex-how-1st {
    margin-left: -2rem;
  }

  .why-us {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    height: 0;
    width: 100%;
    padding-bottom: initial;
    padding-right: initial;
  }

  .why-us-text {
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .h1-how {
    font-size: clamp(2.4rem, 5vw, 3rem);
    line-height: 1;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
    width: fit-content;
  }

  .h1-how-1st {
    margin-left: -2rem;

  }

  .testimonial-image {
    height: auto;
    width: 100%;
    object-fit: fill;
    align-self: flex-start;
  }

  .testimonial-comment {
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    justify-self: end;
  }

  .testimonial-comment-1 {
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    justify-self: flex-start;
  }

  .testimonial-author {
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 400;
    justify-self: end;
  }

  .testimonial-author-1 {
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 400;
    justify-self: flex-start;
  }

  /********************
  Testimonial-Section End */

  /********************
  Pagination Section */
  
  .testimonial-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 5rem;
  }

  .pagination-button {
    margin-bottom: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2.8rem;
    color: #1a5325;
  }

  .pagination-icon {
    height: 2.6rem;
    width: 2.6rem;
    color: #1a5325;
  }

  .pagination-link:link,
  .pagination-link:visited {
    text-decoration: none;
    color: #3b3b3b;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 3rem;
  }

  .pagination-link.link-4 {
    font-size: 1.2rem;
    background-color: #1a5325;
    color: #fff;
  }

  .pagination-link:active,
  .pagination-link:hover {
    background-color: #1a5325;
    color: #fff;
  }
  /********************
  Pagination Section End */

  /********************
  Contact Us Section */

  .contact-us {
    padding: 5rem 2rem;
    margin-top: 0rem;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .h1-contact {
    margin-bottom: 5rem;
    text-align: center;
    font-size: clamp(2.4rem, 5vw, 3rem);
    color: #1a5325;
    border-bottom: 1px solid #1a5325;
  }

  .contact-button {
    align-self: center;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    width: 50%;
    background: none;
    cursor: pointer;
    margin-left: 0rem;
    color: #1a5325;
    background-color: #1a5325;
    color: #fff;
  }

  .contact-info {
    padding-top: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: end;
    flex-wrap: wrap;
  }

  .contact-text {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

   /********************
  Contact Us Section End */

   /********************
    Footer Section */

  .footer-logo {
    display: inline-block;
    position: absolute;
    height: 15rem;
    width: auto;
    left: -1.6rem;
    top: -1.2rem;
  }

  .element-7, .element-5, .element-6 {
    display: none;
  }

   /********************
    Footer Section End */

}


/* Paddings for different media-queries in the project /*

Max-Width 30em paddings
-About Us Section (5rem, 2rem)
-Testimonial - Section (5rem, 2rem)
-Contact Us Section (5rem, 2rem)
-Footer Section (5rem, 2rem) 

Max-Width 39em paddings 
- About us (5rem, 2rem)
-Testimonial-Section (7.5rem, 2rem)
-Contact-Us Section (7.5rem, 2rem)
-Footer Section (5rem, 2rem) /*

Max-Width 50em paddings
- About us (8rem 5rem)
-Testimonial Section (10rem, 5rem)
-Contact Us Section (10rem, 5rem)
-Footer Section (5rem) 

Max-Width 59em paddings 
-About Us section (8rem,7rem)
-Testimonial Section (8rem, 7rem)
-Contact us Section (8rem, 7rem)
-Footer Section (8rem 7rem)

Max-Width 65em paddings
-About us Section (8rem 6rem) 
-Testimonial Section (10rem)
-Contact Us Section (10rem)
-Footer Section (10rem)

Max-Width 75em paddings
-About us Section (5rem, 2rem) 
-Testimonial Section (10rem)
-Contact Us Section (10rem)
-Footer Section (10rem)

Max-Width 84em paddings
-About us Section (5rem, 2rem) 
-Testimonial Section (10rem,8rem)
-Contact Us Section (10rem,8rem)
-Footer Section (10rem,8rem)


Couple of thing to handle before launching the project, Issues in light-house audit */
/* Maybe remove the border-radius from the pictures in the media-queries /*


Absolute-Positioning for the different media-queries !

media (max-width: 39em) {
    .swifthaul-logo {
        height: 20rem;
        margin-left: 7rem;
        margin-top: -3rem;
    }
    
    .mobile-navigation {
        display: block;
        position: absolute;
        top: 4rem;
        right: 4rem;
        margin-top: 2rem;
    }
    
    .header-container {
        display: flex
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-evenly;
        height: 100vh;
        width: 100%;

        (Important)
        padding-bottom: 2rem;
        padding-right: 4rem;
    }
        /**********************
        media (max-width: 39em) End
        /**********************

      
      
        /**********************
        media (max-width: 30em) 
      /**********************
      .header-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-evenly;
      height: 100vh;
      width: 100%;
      padding-bottom: 2rem;
      padding-right: 0rem;
  }

    .mobile-navigation {
      display: block;
      position: absolute;
      top: 4rem;
      right: 4rem;
      margin-top: 2rem;
      }


    .swifthaul-logo {
     height: 20rem;
      margin-left: 4rem;
      margin-top: -3rem;
      }
      
      /**********************
        Media-Query (max-width: 30em) End
      /**********************


    
        
        
  
      

       
        
         Tasks for tommorow !
         1) Fix the subscribe section, is too big for small screens
         2) Fix the images aspect ratio (displayed 325px, actual size 1200px)
         3) Fix the failing reason, cache!?
         4) Type in tricks what overflow-hidden does and x and also y
         

         SwiftHaul-Logistics is deployed !!! (with minor bugs)
