/* Styles CSS */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-size: cover;
    color: #101010;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    background-size: contain;
    color: #101010;
}

header {
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 20vh 0;
    position: relative;
    overflow: hidden;
}

.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 3;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(101, 67, 33, 0.5);
    z-index: 1;
}

header h1 {
    font-size: 5em;
    margin: 0;
    color: #fff;
    text-shadow: 2px 2px 4px #000;
    position: relative;
    z-index: 2;
}

.burger-menu {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
    z-index: 3;
    font-size: 36px;
}

.burger-menu div {
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin: 5px 0;
    transition: transform 0.4s ease;
}

.burger-menu.open div:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 12px);
}

.burger-menu.open div:nth-child(2) {
    opacity: 0;
}

.burger-menu.open div:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -12px);
}

.dropdown-menu {
    position: absolute;
    top: 70px;
    right: 40px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 5px;
    display: none;
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
}

.contact-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #101010;
}

.contact-box .contact-item {
    margin-bottom: 20px;
}

.contact-box .role {
    font-weight: bold;
    margin-bottom: 5px;
}

.justify{
	text-align: justify;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

/*a, p, h2{
    color: #fff;
}

.contact-box p{
    color:#000;
}*/

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #000;
    color: #000;
}

th {
    background-color: #333;
    color: #fff;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.gallery-image {
    width: auto;
    height: 200px;
}

.body-background {
    /*background-image: url('images/woodChessBrown.webp');*/
    background-color: #161616;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    width: 98vw;
}

.container-background {
    /*background-image: url('images/woodChessBeige.webp');*/
    background-color: #ffffeb;
    background-size: contain;
    background-position: center center;
}

.header-background {
    background-image: url('images/Chess.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

@media (max-width: 900px) {
    body {
        width: 100%;
        height: auto;
        overflow-x: hidden; /* Empêcher le défilement horizontal */
    }

    .container {
        width: 95%;
        padding: 10px;
 	margin-right: 8px;
        box-sizing: border-box; /* Assurer que le padding ne cause pas de débordement */
    }

    header h1 {
        font-size: 3.5em;
    }

    .logo {
        top: 5px; /* Ajuster la position si nécessaire */
        left: 5px; /* Ajuster la position si nécessaire */
        width: 120px; /* Réduire la taille du logo */
        height: 120px; /* Réduire la taille du logo */
    }

    .gallery-image {
        height: 150px; /* Réduire la hauteur des images de la galerie */
    }
}
