
.menu-item {
    position: relative;
}

.menu-item::after {
    content: '';
    position: absolute;
    left: -30px;
    width: 0;
    height: 4px;
    background-color: rgb(255, 255, 255);
    transition: width 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.menu-item:hover::after {
    width: 20px;
}

body.menu-open {
    overflow: hidden;
}

.burger-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

.menu-open .burger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-open .burger-icon span:nth-child(2) {
    opacity: 0;
}

.menu-open .burger-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}