/* styles.css */

/* Header Styles */


.header {
    position: fixed;
    display: flex;
    width: 100%;
    top: 0;
    left: 0;
    height: 120px;
    justify-content: space-between;
    background-color: #528265;
    color: white;
    z-index: 1000;
}


@media all and (max-width: 959px) {
    .menuAll{
        position: fixed;
        display: flex;
        width: 100%;
        top: 0;
        left: 0;
        justify-content: space-between;
        align-items: center;
        background-color: #528265;
        color: white;
        z-index: 1000;
    }

    .leftMenu {
        display: none;
    }

    .rightMenu {
        display: none;
    }

    .centerMenu {
        margin-right: 10px;
    }

    .menu > li {
        margin: 0 1rem;
        overflow: hidden;
    }

    .menu-button-container {
        margin-left: 20px;
        display: none;
        height: 100%;
        width: 30px;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle {
        display: none;
    }

    .menu-button,
    .menu-button::before,
    .menu-button::after {
        display: block;
        background-color: #fff;
        position: absolute;
        height: 4px;
        width: 30px;
        transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
        border-radius: 2px;
    }

    .menu-button::before {
        content: '';
        margin-top: -8px;
    }

    .menu-button::after {
        content: '';
        margin-top: 8px;
    }

    #menu-toggle:checked + .menu-button-container .menu-button::before {
        margin-top: 0px;
        transform: rotate(405deg);
    }

    #menu-toggle:checked + .menu-button-container .menu-button {
        background: rgba(255, 255, 255, 0);
    }

    #menu-toggle:checked + .menu-button-container .menu-button::after {
        margin-top: 0px;
        transform: rotate(-405deg);
    }

    .menu-button-container {
        display: flex;
    }
    .menu {
        position: absolute;
        top: 0;
        margin-top: 120px;
        left: 0px;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    #menu-toggle ~ .menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    #menu-toggle:checked ~ .menu li {
        border: 1px solid #333;
        height: 2.5em;
        align-items: center;
        /*padding: 0.5em;*/
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    .menu > li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color:#528265;
    }
    .menu > li:not(:last-child) {
        border-bottom: 1px solid #444;
    }
    li a:hover {
        color : #528265;
        width: 100%;
        height: 100%;
        background-color: white;
        justify-content: center;
        display: flex;
        align-items: center;
    }
}


@media all and (min-width:960px) {

    .smartphoneLeftMenu {
        display: none;
    }

    .menuAll {
        display: flex;
        width: 900px;
        margin : auto;
        justify-content: space-between;
        z-index: 1000;
    }


    .leftMenu {
        display: flex;
        align-items: center;
        height: 120px;
        width: 390px;
    }

    .rightMenu {
        height: 100%;
        width: 390px;
        
    }

    /* Pour faire joli */ 
    nav ul {
        display: flex;
        /*justify-content: space-evenly;*/
        list-style: none;
        width: 390px;
    }
    nav ul ul{
        width: 150px;
    }

    nav a {
        height: 120px;
        color: white;
        margin-right: 1rem;
        text-decoration: none;
    }

    nav a:hover {
        color : #528265;
        background-color: white;
    }

    li a{
        display: flex;
        width: 100%;
        height: 120px;
        justify-content: center;
        align-items: center;
    }
}

.dropdown-menu{
    width: 150px;
    inset: -10px auto auto 0px;
}
.dropdown-menu ul {
    display: block;
    

}


.dropdown-menu li a{
    width: 100%;
    border: 1px solid #528265;;
    height: auto;
    color: black;

}

.dropdown-menu li a:hover{
    color: #528265;

}


button{
    color: white;
    width: 100%;
    height: 100%;
    vertical-align: middle; 
    padding: 5px;
}


button:hover {
    color : #528265;
    background-color: white;
}

/* Logo Styles */
.centerMenu {
    text-align: center;
    font-size: 0;
    color: #3C2C32;
}

.centerMenu img {
    width: 120px; /* Ajustez la largeur selon vos besoins */
    height: 120px; /* Ajustez la hauteur selon vos besoins */
    margin: 0; /* Réinitialise la marge du logo */
}

/*.menuDroite{*/
/*    width: 200px;*/
/*}*/

/* Content Section Styles */
.container {
    margin: 0 auto;
    max-width: 900px;
    padding: 0 1rem;
    text-align: justify;
    scroll-margin-top: 150px; /* Ajustez la valeur en fonction de la hauteur de votre header */
    scroll-behavior: smooth;
}


.contIMG
{
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('https://lh3.googleusercontent.com/d/1Nq02PWFsy1eDuiShrw0dldK_bHLfPQIP');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.container a {
    color : #528265;
}

.container a:hover {
    text-decoration: underline;
}


/* Footer Styles */
footer {
    margin-top: auto;
    background-color: #528265;
    color: white;
    text-align: center;
    padding: 1rem;
}

footer a {
    color : white;
}

footer a:hover {
    text-decoration: none;
}

figcaption{
    text-align: center;
}

table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        th, td {
            padding: 12px;
            border: 2px solid #528265; /* Couleur des bordures */
            text-align: center;
        }

        th {
            background-color: #528265; /* Couleur d'arrière-plan de l'entête */
            color: white;
        }

        tr:nth-child(even) {
            background-color: #f2f2f2; /* Couleur de fond alternée pour les lignes */
        }
.photoR {
    max-width: 450px;
    height: auto;
    float: right;
    margin: 5px;
}

h1, h2{
 color: #528265; 
 text-align: center;
}