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;


}

p{
    color: white;
    font-size: 18px;
    margin: 0;
    font-weight: bold;
    margin-top: 30px;
}


@media (min-width: 1000px) {
    .mobile-break {
      display: none;
    }
  }

.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: 38px;
    margin-bottom: 10px;
}


.service{
    margin-top: 80px;
}

h4{
    color: white;
    font-size: 24px;
    margin-bottom: 0;
}



footer{
    margin-top: 35px;
}


.calendrier{
    display: flex;
    min-height: 50vh;
    margin-top: 30px;
   
}

.calendar{
    width: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 3);


}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.monthYear{
    text-align: center;
    font-weight: 600;
    width: 150px;



}

.header button{
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 4);
}

.days{
    display: grid;
    grid-template-columns: repeat(7,1fr);

}

.day{
    text-align: center;
    padding: 5px;
    color: #999FA6;
    font-weight: 500;

}


.dates{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;

}

.date{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    margin: auto;
    cursor: default;
    font-weight: 600;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: 0.2s;
}
.chiffreGras{
    color: black;
    cursor: pointer;
}
.chiffreGras:hover{
    background: #2E7C3C;
    color: #fff;

}

.selected{
    background: #2E7C3C;
    color: #fff;
}

.inactive:hover{
    background: #fff;
    cursor: default;
}

.date.inactive{
    color: #d2d2d2;

}

.date.inactive:hover{
    color: #fff;

}


.nomDesDates {
    color: #2E7C3C;
    font-size: 18px;
    margin-left: 25px;
    margin-top: 10px;
    font-weight: bold;


}

hr{
    width: 1080px;
}

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%;
}


.datesChoisis {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px; 
  }







  @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;
    }
}




@media (max-width: 526px) {
    header {
        margin-bottom: 30px;
    }
}
@media (max-width: 805px) {
    .question {
        transform: scale(0.8); /* Shrinks the body content to 85% */
        transform-origin: top left;
    }
    .test{
        height: 300px;
    }
}

@media (max-width: 700px) {
    .question {
        transform: scale(0.6); /* Shrinks the body content to 85% */
        transform-origin: top left;
    }
    .test{
        height: 200px;
    }
}
@media (max-width: 520px) {
    .question {
        transform: scale(0.45); /* Shrinks the body content to 85% */
        transform-origin: top left;
    }
    .test{
        height: 150px;
    }
}
@media (max-width: 375px) {
    .question {
        transform: scale(0.35); /* Shrinks the body content to 85% */
        transform-origin: top left;
    }
    .test{
        height: 130px;
    }
}

@media (max-width: 275px) {
    .question {
        transform: scale(0.20); /* Shrinks the body content to 85% */
        transform-origin: top left;
    }
    .test{
        height: 100px;
    }
}

.description{
    max-width: 436px;
}

