/* Réinitialisation des marges et des rembourrages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style pour le corps et le HTML */
body, html {
    height: 100%;
    font-family: Arial, sans-serif; /* Changement de police */
}

/* Style pour l'image de fond */
.background-image {
    background-image: url('../images/1.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Style pour le filtre sur l'image de fond */
.background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Style pour la barre de navigation */
nav.navbar {
    position: absolute;
    top: 10px; /* Espace par rapport au haut de la page */
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1;
}

nav.navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav.navbar ul li {
    margin: 0 20px;
}

nav.navbar ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.2em; /* Augmentation de la taille de la police */
}

nav.navbar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: black;
}

/* Style pour le dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 10px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Style pour l'en-tête */
header {
    text-align: center;
    z-index: 2;
}

h1 {
    margin: 0;
    font-size: 3em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


.cookie-consent-popup {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background-color: var(--light-grey); /* Assurez-vous que cette couleur est définie */
        color: var(--dark-charcoal); /* Assurez-vous que cette couleur est définie */
        padding: 20px;
        border-radius: 10px;
        display: none; /* La popup devrait être cachée initialement et montrée via JS */
        flex-direction: column;
        align-items: center;
        z-index: 1000;
        width: 80%;
        max-width: 400px;
    }
    

.cookie-consent-popup p {
    margin: 0 0 20px 0;
    text-align: center;
}

.cookie-consent-popup a {
    color: var(--warm-beige);
    text-decoration: underline;
}

#acceptCookies {
    background-color: var(--warm-beige);
    color: var(--dark-charcoal);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

#acceptCookies:hover {
    background-color: var(--soft-grey);
}



footer {
    background-color: var(--muted-olive);
    color: var(--light-grey);
    padding: 20px 0;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    display: inline;
    margin: 0 15px;
}

footer a {
    color: var(--warm-beige);
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: var(--soft-grey);
}