*, *::after, *::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-image:url('../img/fondpoint.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

}

main {
  
  min-height: calc(100vh - 100px);
}

header{

  background-color: rgb(22 163 74);
}

.crenaux{

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    justify-content: center;
    width: 100%;
    padding: 20px;
    align-self: start;
    


}
.onecreneau{
    background-color:#f3f1e8; /* Beige clair par exemple */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: auto;
    position: relative;
    
}



.onecreneau .etat{

  font-size: 0.8em;
  margin: 0;
  display: flex;
  border-radius: 10px;
  background-color: rgb(22 163 74);
  color: rgb(245, 245, 245);
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 7px;
}

.onecreneau .infos{

  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.onecreneau .horaire{

  display: flex;
  font-size: 0.9rem;
  
}
.onecreneau .left{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.onecreneau .left .day{

  color: green;
  font-weight: 700;
  font-size: 1.4rem;
}

.onecreneau .reserve{
margin-top: 20px;
background-color: rgb(19, 150, 14);
color: rgb(243, 243, 243);
border-radius: 20px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.onecreneau .reserve:hover{

    background-color: #f0f0f0;
    color: rgb(19, 150, 14);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.01);
    cursor: pointer;
}





.boutons{

  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 50px;
  margin-top: 20px;
}

.boutons button{
border: 2px solid green;
background-color: rgba(39, 153, 16, 0.2);
border-radius: 50px;
padding: 10px;
padding-left: 15px;
padding-right: 15px;
}

.boutons button:hover{
border: 2px solid rgb(254, 255, 254);
background-color: green;
border-radius: 50px;

color: #f0f0f0;
}

.recherche input{
 
border-radius: 20px;
padding: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

@media screen and (max-width: 760px) {
    .boutons{

      flex-direction: column;
      margin-bottom: 10px;
      align-items: center;
    }
    
}