:root {
    --FondColor : #1f1f1f;
    --FondColor2: #2c2c2c;
    --FondFooter: #000000;
    --TextColor:  #E0E0E0;
    --TextColor2: #E0E0E0;
    --BoutonColor:#007bff;
    --BoutonSurvol:#0056b3;
    --FondBlocs:  #00000073;
    --Opacity :     "0.8";

    --PoliceText:   "Geologica";

    background:     var(--FondColor);
    color :         var(--TextColor);
    font-family:    var(--PoliceText);
    font-size:      large;

    margin:  0;
    padding: 0;
}

.Kreativcam {
    font-family: MuseoModerno;
}

body {
    display:block;
    margin : 0px;
    padding-top: 60px; /* Ajuste selon la hauteur de la navbar */
}

/* Container qui contient toutes les sections */
.container {
    display: flex;
    flex-direction:column;
    max-width: 80%;
    margin: 20px auto;
    
    padding: 1%;
}

/* Barre de navigation */
.NavMenu {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Assure un bon espacement */
    flex-direction: row;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Évite le débordement */
    z-index: 9999;

    text-align: center;
    background-color: var(--FondFooter);
    color: var(--TextColor);

    padding: 10px 2%; /* Ajuste les espaces intérieurs */

    
    margin: 0;
    box-sizing: border-box; /* Évite que padding + width dépassent */
}

/* Liste des éléments du menu */
.NavMenuPuces {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Style des éléments du menu */
.puce {
    margin: 0 15px; /* Ajuste l'espacement horizontal */
}

.puce a {
    text-decoration: none;
    color: var(--TextColor);
}

.logo {
    display: block;

    font-family: "MuseoModerno";
    font-weight: bolder;
    font-size: 25px;
    color: var(--TextColor);
    text-decoration: none;
} 

/* tout ce qui concerne le pied de page */
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    bottom: 0;                  /* Aligné en bas */
    
    text-align: center;
    background-color: var(--FondFooter); 
    color: var(--TextColor);              /* Couleur du texte */

    padding-top: 4px;            /* Espacement intérieur */
    padding-left: 2%;
    padding-right: 2%;
    margin : 0;

    margin: 0;
    width: 100%;
    box-sizing: border-box; /* Évite que padding + width dépassent */
    z-index: 1000;
}

.footer-logo a {
    display: block;

    font-family: "MuseoModerno";
    font-weight: bolder;
    font-size: 25px;
    color: var(--TextColor);
    text-decoration: none;
} 

.footer-midle-text {
    padding-right: 4%;
}

.social {
    display : flex;
    flex-direction: row;
    justify-content: space-around;
    align-items:center;
}

.social img {
    height: 40px;
    margin: 10px;
}

.burger-menu {
    display: none;
}

@media screen and (max-width: 900px) {
    .container {
        max-width: 95%;
        padding: 2%;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }

    .social {
        justify-content: center;
    }

    .puce a, .puce h3 {
        font-size: medium;
        text-decoration:none;
    }

    .puce {
        margin: 0 5px; /* Ajuste l'espacement horizontal */
    }

    .NavMenu {
        padding: 5px 1%; /* Ajuste les espaces intérieurs */
    }


    .burger-menu {
        display: block;
        background-color:#000000;
        color: var(--TextColor);
        border: none;
        font-size:larger;

        transition: transform 0.3s ease-in-out;
    }

    .NavMenuPuces {
        display: none; /* Caché par défaut */
        flex-direction: column;
        position: absolute;
        text-align: left;
        top: 40px;
        right: 0px;
        background: var(--FondFooter);
        padding: 10px 40px 10px 10px;
        border-radius: 0px 10px;
    }

    .NavMenuPuces.show {
        display: flex; /* Affiche le menu lorsqu'il a la classe "show" */
    }

    .burger-menu.active {
        transform: rotate(90deg); /* Rotation pour effet dynamique */
    }
}