body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: rgb(255, 255, 255);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    background-color: #0c0c0c;
}
/*  --- NAVBAR NIGHT MODE   --- */

header {
    font-family: 'Inter', sans-serif;
    position: sticky;
    top:0;
    width: 100%;
    height: 70px;
    background-color: #000;
    color: white;

    display: flex;                 
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;
    box-shadow: 0px 4px 10px rgba(0,0,0,.35);
    z-index: 1000;
}

/* ---- NAV --- */

nav{
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
}

nav ul li a {
    position: relative;
    text-decoration: none;
    color: #f9f8f8;
    transition: 0.3s ease;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #d8dcf4;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #d8dcf4;
    text-decoration: none;
    transform: scale(1.15);
}

nav ul li a:hover::after {
    width: 100%;
}


/*   -- DROPDOWN   -- */

.menu-deroulant{ position:relative; }

.choice-list{
    display:none;
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    background:#111;
    border:1px solid #2a2a2a;
    border-radius:10px;
    padding:12px 0;
    min-width:240px;
    z-index:999;
}

.menu-deroulant:hover .choice-list{ display:block; }

.choice-list a{
    display:block;
    color:#fff;
    padding:10px;
    border-radius:6px;
}
.choice-list a:hover{ background:#222; }

/*   -- BOUTON MODE + COOKIES   -- */

.style-toggle{
    display:flex;
    align-items:center;
    gap:15px;
}

.select-nav-cookie{
    color:#ccc;
    text-decoration:none;
}
.select-nav-cookie:hover{ color:white; }

.dark-mode,
.light-mode{
    padding:6px 15px;
    border-radius:8px;
    font-weight:500;
    cursor:pointer;
}

/* bouton nuit dans mode nuit */
.dark-mode{
    background:#000;
    color:white;
    border:1px solid #555;
}
.dark-mode:hover{ background:#333; }

/* bouton jour */
.light-mode{
    background:#dad8e6;
    color:#000;
}
.light-mode:hover{ background:#c6c3d8;
text-decoration: none; }



