html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}



body{
    background-color: rgb(30, 30, 30);
    font-family: "Work Sans", serif, sans-serif;
}

h1{

    display: inline-block;
    margin: 0;

}


h1 a{

    color: white;
    font-size: 35px;
    letter-spacing: -1px;




}

.wrapper {
    width: 90%;
    max-width: 1060px;
    margin: 0 auto;
}


header{
   
    display: flex;
    height: 90px;
    align-items: center;
 
 
  
}

a{
    text-decoration: none;
    color: white;
}

ul{
    margin: 0;
    list-style: none;
    gap: 45px;
    display: flex;
    margin-left: auto;
    
   
    
}

header .wrapper{
    display: flex;
    align-items: center;
}


li a{
    font-size: 14px;
    font-weight: 400;
    
}

a:hover{
    color: #D2D2D2;
}


.hero{
    background-image: url('../images/hero.png');
    background-repeat: no-repeat;
    height: 700px;
    background-size: 100% auto;
    background-position: 0% 40%;
    display: flex;
    align-items: center;
   
}

h2{
    margin: 0;
    
}


.hero h2{
    color: white;
    font-size: 72px;
    line-height: 40px;
}
h2 span{
    font-size: 40px;
}

.reserver{
    width: 320px;
    height: 65px;
    background-color: rgb(30, 30, 30);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    
}

.reserver:hover{
    background-color: rgba(30, 30, 30, 0.9);
}

h3{
    font-size: 54px;
    color: white;
    margin-top: 80px;
    margin-bottom: 24px;
}

.services p{
    color: white;
    font-size: 24px;
   
    width: 680px;
    font-weight: 300;
    line-height: 1.3;
 
}

#rectangle{
    background-color: #2E7C3C;
    width: 130px;
    height: 16px;
  
   
}

.texteFleche{
    position: relative;
}

.services img{
   width: 62px;
   height: 62px;
    position: absolute;
    top: 202px;
    left: 400px;
   
}
.images{

 
   
    margin-top: 70px;
 
    
}
.images .wrapper a{
display: flex;

}
.images img{
    width: 50%;
    height: 50%;
   
}

.images .wrapper a:hover{
    opacity: 0.8;
    
    }


.aide{
    color: white;
}

.email{
    color: #2E7C3C;
}

.aideTop{
    margin-bottom: 50px;
    margin-top: 8px;
}
.aide h3{
    margin-bottom: 0px;
}

.aide p{
    font-weight: 300;
}

footer{
    margin-top: 45px;
}
.footerTop{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding-left: 70px;
    padding-right: 70px;
    margin-top: 45px;
    color: white;
}

.footerTop p{
    font-size: 14px;
    font-weight: 300;
    margin-top: 0;
}

h5{
    margin-bottom: 8px;
}
.upBouton{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.year{
    text-align: center;
    color: white;
   
}

#goUP{
    margin-top: 20px;
    margin-bottom: 20px;
    width: 25px;
    height: 25px;
  
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
#goUP img{
    width: 25px;
    height: 25px;
    transform: rotate(-90deg);
  
}

.fleche:hover{
    transform: scale(1.1);
    transition: 0.3s ease;
   
}

.reviews {
    margin-top: 80px;
    overflow: hidden;
    position: relative;
    width: 100%;
    white-space: nowrap; /* Prevents container from wrapping */
}

.toutLesReviews {
    display: flex;
    gap: 150px;
    width: max-content;
    animation: moveRight 20s linear infinite;
}

@keyframes moveRight {
    from {
        transform: translateX(-52.1%); /* Start halfway left */
    }
    to {
        transform: translateX(0); /* Move to normal position */
    }
}

.review p {
    white-space: normal; /* Allow <p> tags to wrap text inside reviews */
    font-size: 18px;
    font-weight: 400;
    margin-left: 15px;
    line-height: 28px;
    margin-right: 15px;
}





.review{
    width: 225px;
    height: 345px;
    background-color: white;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    
   
}

.etoiles img{
    width: 25px;
    height: 25px;
   
}

.etoiles{
    margin: auto;
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
}

h6{
    color: black;
    font-size: 28px;
    margin-top: 15px;
    margin-left: 15px;
    margin-bottom: 0;
    margin-right: 15px; 
}



img {
    max-width: 100%;
    height: auto;
}




@media (max-width: 968px) {
    .hero {
        height: auto;
        padding: 40px 0;
    }

    .services p {
        width: 100%;
        font-size: 18px;
    }





    .footerTop {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h2 {
    font-size: 8vw; /* Adjust font size dynamically */
    line-height: 50px;
}
h2 span{
    font-size: 4vw; /* Adjust font size dynamically */
}

.hero {
    background-size: cover;
    height: 35vh;
    text-align: center;
    padding: 20px;
    align-items: center;
    background-position: right;

}

.hero a div{
 
    margin: 0 auto;
}


.reserver {
    width: 80%;
    max-width: 320px;
}




}
@media (max-width: 700px) {
    .images .wrapper a{
        display: block;
        
        }
    .images img{
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }
}





@media (max-width: 526px) {
    header h1 a{
        font-size: 18px;
    
    }
    h1{
        line-height: 20px;
    }
    header a{
        font-size: 11px;
    }
    .reserver{
        transform: scale(0.8); /* Shrinks the body content to 85% */
        transform-origin: top center; /* Keeps the content from shifting */
    }
    .review{
        transform: scale(0.7); /* Shrinks the body content to 85% */
        transform-origin: top center; /* Keeps the content from shifting */
    }
    .toutLesReviews {
        
        gap: 40px;
        
        animation: moveRight 40s linear infinite;
    }

}
@media (max-width: 375px) {
    header h1 a{
        font-size: 16px;
    }
    header li a{
        font-size: 8px;
    }
    .reserver{
        transform: scale(0.6); /* Shrinks the body content to 85% */
        transform-origin: top center; /* Keeps the content from shifting */
    }
}

@media (max-width: 320px) {
    header h1 a{
        font-size: 14px;
    }
    header li a{
        font-size: 6px;
    }
}


@media (max-width: 768px) {

    header ul{
        gap: 10px;
    }
}

@media (max-width: 628px) {

    header ul{
        padding-left: 10px;
    }

}



@media (max-width: 968px) { /* Adjust for screens smaller than 768px */
    .off{
        display: none;
    }
}

