
.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
}

.navbar-brand {
    font-size: 1.5em;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    padding: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ddd;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* ... (le reste du CSS reste inchangé) ... */

.nav-links.nav-active {
    display: flex;
    transform: translateX(0%);
    width: 100%;
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ... (le reste du CSS reste inchangé) ... */


@media screen and (max-width: 768px) {

 
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 5vh;
        background-color: #333;
        display: none;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        margin-top: 50px;
    }

    .burger {
        display: block;
    }
}
