/*
* VINI VIDI STYLISTI
* ICI sera placé le style de mon projet
* (note : plusieurs fichiers css peuvent coexister)
*/




/* DÉBUT CSS MIS EN PAGE TOUTE LES PAGES */

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

h1, h2, h3, h4, h5, h6, .barre_nav {
    font-family: "Source Code Pro", sans-serif;
}

p {
    font-family: "Fira Code", sans-serif;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #bfbdc1;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    pointer-events: none;
}


.fond_page {
    flex: 1;
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.fond_page_pas_flex {
    margin: 0;
    padding: 1rem;
    background: #bfbdc1;
}

/* FIN CSS MIS EN PAGE TOUTE LES PAGES */





/* DÉBUT CSS HEADER */

.barre_nav {
    background-color: #37323e; /* fond très foncé */
    padding: 20px 40px;
    height: 120px;
    position: sticky;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo à gauche */
.logo {
    color: #deb841;
    font-size: xx-large;
}

/* Nav-links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6em;
    margin-left: auto;
    margin-right: 10vw;
}

/* Liens simples */
.nav-links a {
    color: #deb841; /* jaune vif */
    text-decoration: none;
    padding: 10px 14px;
    transition: background 0.2s;
    font-size: 16px;
    font-weight: bold;
}

.nav-links a:hover {
    background-color: #6d6a75; /* gris foncé */
    border-radius: 4px;
}

.dropdown {
    position: relative;
}

.dropdown-button {
    background-color: transparent;
    border: none;
    color: #deb841;
    cursor: pointer;
    padding: 10px 14px;
    font-size: 16px;
}

.dropdown-button:hover {
    background-color: #6d6a75;
    border-radius: 4px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background-color: #bfbdc1; /* gris clair */
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
    border-radius: 4px;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #37323e; /* texte sombre */
    padding: 10px 14px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #de9e36; /* orange */
}

/* Bouton Déconnexion */
.dropdown-content form button {
    background-color: #de9e36; /* orange */
    color: #fff;
    padding: 10px 14px;
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.dropdown-content form button:hover {
    background-color: #c5721f; /* orange plus foncé */
}


/* FIN CSS HEADER */



/* DÉBUT CSS FOOTER */

.footer {
    background: #232323;
    text-align: center;
    padding: 1em;
    color: white;
}

.footer h2 {
    color: #deb841;
}

.footer div {
    padding: 2rem;
}

.footer div a {
    text-decoration: none;
    color: gray;
}

/* DÉBUT CSS FOOTER */


