* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    min-height: 100vh;
}

.sidebar1 {
    width: 20%;
    background-color: transparent;

   
    height: 100vh;
}

.sidebar {
    width: 20%;
    background-color: #333;
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    /*border-radius: 0px 20px 20px 0px;*/
    position: fixed;
    height: 100vh;

    
}

.sidebar .logo {
    width: 70%;
    height: auto;
    margin-bottom: 20px;
    
}

.sidebar select {
    margin: 20px 0;
    padding: 10px;
    width: 80%;
    border: none;
    border-radius: 5px;
    background-color: #dfca09;
   
}

.align corps{
    margin-left: 20%;
    background-color: black;
}

.centre{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    color: #333;
    
}

.centre h1{
    width: 80%;
    background-color: #dfca09;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 20px;
}



.align{
    display: flex;
    flex-direction: column;
    background-color: #ecf0f1;
    width: 100%;
}

.align nav{
    padding: 40px 0px;
    
    gap: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

label{
    background-color: #dfca09;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #ecf0f1;
    
  
}

.images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
 
    width: 60%;
}

.images img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.cadre{
    position: relative;
}


.titre {
    position: absolute;
    opacity: 0; /* Rendre invisible au départ */
    transition: opacity 0.3s ease; /* Transition douce */
    color: white;
}

.texte{
    position: absolute;
    opacity: 0; /* Rendre invisible au départ */
    transition: opacity 0.3s ease; /* Transition douce */
    color: white;
}

.titre {
    top: 65%;
    left: 10px;
}

.texte {
    top: 80%;
    left: 10px;
}

.cadre:hover .titre, 
.cadre:hover .texte {
    opacity: 1; /* Rendre visible au survol */
}

.cadre:hover img {
    filter: brightness(30%); /* Assombrir légèrement l'image au survol pour mettre en valeur le texte */
    transition: filter 0.3s ease;
}


    
.dispo{
    display: none;
}

@media (max-width:500px){
    
    .corps {
        display: none;  
    }
    
    .dispo{
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: larger;
        font-weight: 600;  
        text-align: center;
        color: red;
    }
    

}
