body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: #0D121A;
    color: #ffffff;
    overflow-x: hidden;
}

p {
    font-family: "Roboto Condensed", sans-serif;
}


/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid #05EAF3;
    height: 8vh;
}

/* Logo */
.logo {
    font-size: 34px;
    color: #05EAF3;
    text-shadow: 0 0 10px #05EAF3, 0 0 20px #05EAF3;
    font-weight: 700;
    display: flex;
    gap: 10px;
    text-decoration: none;
}

.logo img{
    width: 50px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger .line {
    width: 30px;
    height: 3px;
    background: #05EAF3;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Menu */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    text-decoration: none;
    color: #ffffff;
    padding: 5px 10px;
    position: relative;
    overflow: hidden;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

/* Effet de survol */
.menu li a:hover {
    color: #00FF9D; /* Couleur du texte au survol */
    animation: glitch 0.5s infinite; /* Animation du grésillement */
}


/* Sous-ligne qui s'étend lors du survol */
.menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #05EAF3;
    transition: width 0.3s ease-in-out;
}

.menu li a:hover::after {
    width: 100%;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding-top: 2vw;
    flex-direction: column;
}

footer p {
    font-size: 1vw!important;
    font-family: 'Orbitron', sans-serif!important;
}

footer h2 {
    font-size: 1.2vw!important;
}

.memberlist {
    align-items: center;
    display: flex;
    gap: 2vw
}

.memberimg img {
    width: 6vw;
}
/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        right: 0px;
        background: rgba(0, 0, 0, 0.9);
        border: 1px solid #05EAF3;
        border-radius: 0px 0px 0px 5px;
        padding: 10px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease;
        width: 120px;
    }
    
    .menu.active {
        display: flex;
        max-height: 300px;
        animation: reveal 0.5s ease-in-out;
    }
    
    .menu.closing {
        max-height: 0;
        animation: hide 0.5s ease-in-out;
    }   

    .menu li {
        margin: 10px 0;
    }

    .memberlist {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 4vw;
    }

    footer p {
        font-size: 2vw!important;
    }
    
    footer h2 {
        font-size: 2.5vw!important;
    }

    .memberimg img {
        width: 15vw;
    }

}

@media all and (max-width: 480px){
    .logo {
        font-size: 7vw;
    }

    .logo img {
        width: 30px;
    }
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
    background: #ff0000;
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
    background: #ff0000;
}

/* EFFECT */
/* Effet de grésillement */
@keyframes glitch {
    0% {
        text-shadow: 
            2px 0 red, 
            -2px 0 blue;
        transform: skew(-0.5deg);
    }
    20% {
        text-shadow: 
            -2px 0 red, 
            2px 0 blue;
        transform: skew(0.5deg);
    }
    40% {
        text-shadow: 
            1px 0 green, 
            -1px 0 orange;
        transform: skew(-0.3deg);
    }
    60% {
        text-shadow: 
            2px 0 yellow, 
            -2px 0 purple;
        transform: skew(0.2deg);
    }
    80% {
        text-shadow: 
            -1px 0 cyan, 
            1px 0 pink;
        transform: skew(-0.2deg);
    }
    100% {
        text-shadow: 
            2px 0 red, 
            -2px 0 blue;
        transform: skew(0.3deg);
    }
}

@keyframes reveal {
    0% {
        max-height: 0;
    }
    100% {
        max-height: 300px;
    }
}

@keyframes hide {
    0% {
        max-height: 300px;
    }
    100% {
        max-height: 0;
    }
}   
