html, body {
    margin: 0;
    padding: 0;
    
}



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: 1060px;
    margin: 0 auto;
}

header{
   
    display: flex;
    height: 90px;
    align-items: center;
    margin-bottom: 80px;
 
  
}

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;
}


h2 {
    color: white;
    font-size: 10vw; /* Scales with the viewport width */
    margin-top: 20px;
    margin-left: 16px;
    max-width: 100%; /* Ensures it doesn’t overflow */
    word-break: break-word; /* Prevents breaking layout */
}

#rectangle{
    background-color: #2E7C3C;
    width: 130px;
    height: 16px;
   
}

.poubelle{
    width: 10vw; /* Scales with viewport width */
    height: 10vw;
    max-width: 100px; /* Ensures it doesn’t get too large */
    max-height: 100px;

    margin-top: 26px;
    margin-left: 10px;
}

.titre{
    display: flex;
}


.text-box {
    width: 205px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    font-size: 16px;
    margin-right: 20px;
    margin-top: 25px;
  }



  .dropdown {
    
    margin-top: 25px;
    width: 216px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
}

.question{
    margin-left: 20px;
}

h3{
    color: white;
    font-size: 44px;
    margin-bottom: 10px;
}


.service{
    margin-top: 80px;
}

h4{
    color: white;
    font-size: 24px;
    margin-bottom: 0;
}


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);
  
}



#confirmer{
    width: 200px;
    height: 55px;
    background-color: #2E7C3C;
    margin-top: 30px;
    justify-content: center;
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 30px;
}

#confirmer:hover{

opacity: 80%;
}





@media (min-width: 1000px) {
    .mobile-break {
      display: none;
    }
  }







p{
    color: white;
    font-size: 18px;
    margin: 0;
    font-weight: bold;
    margin-top: 30px;
}




@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: 768px) {
    header .wrapper ul {
        gap: 10px;
    }
}









@media (min-width: 1200px) {
    h2 {
        font-size: 100px;
    }
}

/* Ensure it doesn’t get too small on very small screens */
@media (max-width: 375px) {
    h2 {
        font-size: 8vw;
    }
    .poubelle{
        margin-top: 18px;
    }
}

h3 {
    color: white;
    font-size: 5vw; /* Scales with viewport width */
    margin-bottom: 10px;
    max-width: 100%; /* Ensures it doesn’t overflow */
    word-break: break-word; /* Prevents breaking layout */
}

/* Set a max size for larger screens */
@media (min-width: 1200px) {
    h3 {
        font-size: 44px;
    }
}

/* Ensure it doesn’t get too small on very small screens */
@media (max-width: 375px) {
    h3 {
        font-size: 6vw;
    }
}


@media (max-width: 526px) {
    header {
        margin-bottom: 30px;
    }
}

@media (max-width: 620px) {
    .tableau {
        transform: scale(0.6); /* Shrinks the body content to 85% */
        transform-origin: top left;
    }
}
@media (max-width: 400px) {
    .tableau {
        transform: scale(0.45); /* Shrinks the body content to 85% */
        transform-origin: top left;
    }
}
