
/* 
    Created on : 20 avr. 2026, 20:57:07
    Author     : GRICOLAT D.
*/


/* Menu caché par défaut sur mobile */



/* Responsive (important) */
@media (min-width: 900px) {
    #nav_toggle{
        display:none !important;
    }

}


/* Ajustement du menu caché*/
/* NAV cachée par défaut */
#nav_toggle {
    position: fixed;
    top: 0;
    left: 0;

    width: 260px;
    height: 100vh;

    background:#ffffff4d;
    backdrop-filter: blur(12px);

    transform: translateX(-100%);
    transition: transform 0.35s ease;

    padding: 80px 20px;
    z-index: 999;

    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}

/* Etat actif */
#nav_toggle.active {
    transform: translateX(0);
}

/* Liste */
#nav_toggle ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Liens */
#nav_toggle li {
    margin-bottom: 20px;
}

#nav_toggle a {
    color: #fff;
    text-decoration: none;
    font-size:14px;
    font-weight: 500;

    display: block;
    padding: 10px 15px;
    text-align:center;
    border-radius:1px;
    transition: all 0.25s ease;
    border: 1px solid #bdbaba;
    background: rgba(120, 120, 120, 0.24);
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #747373;
    text-shadow: 0px 1px 0.5px #000;
}

/* Hover premium */
#nav_toggle a:hover {
    background: rgba(0, 82, 211, 0.92);
    transform: translateX(5px);
    border: 1px solid #9ba6ff42;
}



/*GESTION MENU BURGER */



/* Position initiale */
.burger span:nth-child(1) {
    top: 0;
    transition: all 0.25s ease;
}

.burger span:nth-child(2) {
    top: 9px;
    transition: all 0.25s ease;
}

.burger span:nth-child(3) {
    top: 18px;
    transition: all 0.25s ease;
}

/* ✖️ Animation quand actif */
.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    translate: 0px 9px;
    transition: all 0.25s ease;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    translate: 0px -15px;
    transition: all 0.25s ease;
}