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{
    display: flex;
    gap: 120px;
    justify-content: center;
    margin-top: 85px;
    margin-bottom: 85px;
}

.choix{
color: white;
display: flex;
align-items: center;
flex-direction: column;

gap: 10px;
}

.choix ul{
    padding: 0;
    margin: 0;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-right: auto;

}

.choix ul li{

    display: flex;
    align-items: center;
    gap: 10px;

}

.choix ul li img{

    width: 22px;
    height: 22px;

}
.choix ul li p{

   font-size: 16px;
    font-weight: bold;

}

.blocgris{
    background-color: rgb(59, 59, 59);
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    width: 270px;
    height: 420px;
    padding: 20px;
    padding-bottom: 30px;

 

}
.choix h2{
    margin-bottom: 10px;
    font-size: 30px;
}

.bouton{
    background-color: #2E7C3C;
    width: 310px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    font-size: 22px;
    font-weight: bold;
}

.int{
    display: flex;
  
    align-items: center;
    flex-direction: column;
  
}

.topIMG1{
    width: 120px;
    height: 120px;

 

}

.topIMG2{
    width: 110px;
    height: 110px;
    margin-bottom: 10px;

}

.bouton:hover{
    scale: 1.05;
    cursor: pointer;
    transition: 0.3s;
}


footer{
    margin-top: 45px;
    padding-bottom: 15px;
}
.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);
  
}








@media (max-width: 526px) {
    header h1 a{
        font-size: 18px;
    
    }
    h1{
        line-height: 20px;
    }
    header a{
        font-size: 11px;
    }


}
@media (max-width: 375px) {
    header h1 a{
        font-size: 16px;
    }
    header li a{
        font-size: 8px;
    }

}

@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: 351px) {
    h2{
        font-size: 40px;
    }
}

@media (max-width: 768px) {

    .footerTop {
        grid-template-columns: 1fr;
        text-align: center;
    }

}


@media (max-width: 750px) { /* Adjust for screens smaller than 768px */
    .hero {
        transform: scale(0.7); /* Shrinks the body content to 85% */
        transform-origin: top center; /* Keeps the content from shifting */
        margin-bottom: 60px;
    }
}

@media (max-width: 535px) { /* Adjust for screens smaller than 768px */
    .hero {
        transform: scale(0.5); /* Shrinks the body content to 85% */
        transform-origin: top center; /* Keeps the content from shifting */
        margin-bottom: 40px;
    }
}

@media (max-width: 375px) { /* Adjust for screens smaller than 768px */
    .hero {
        transform: scale(0.3); /* Shrinks the body content to 85% */
        transform-origin: top center; /* Keeps the content from shifting */
        margin-bottom: 20px;
    }
}



