.burger-menu-button {
    display: none;
    cursor: pointer;
    padding: 40px;
    z-index: 1000;
}

.bar {
    width: 50px;
    height: 6px;
    background-color: #fff;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.burger-menu {
    display: none;
    position: absolute;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
}

.burger-menu.active {
    right: 0;
}

.burger-menu-content {
    padding: 80px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.burger-menu-content a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.burger-menu-content a:hover {
    color: #666;
}

.burger-menu-button.active .bar {
    background-color: #333;
}

.burger-menu-button.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-10px, 12px);
}

.burger-menu-button.active .bar:nth-child(2) {
    opacity: 0;
}

.burger-menu-button.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-10px, -12px);
}

@media screen and (max-width: 768px) {
    .sous-menu.right {
        display: none;
    }
    
    .burger-menu-button {
        display: block;
    }
    
    .burger-menu {
        display: block;
    }
}
