.sidemenu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--sidemenu-width, 25%);
    background: white;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .sidemenu {
        width: 90%;
    }
}

.sidemenu .menu-item {
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    color: #333;
    cursor: pointer;
}

.sidemenu .menu-item:hover {
    background:#eee;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    user-select: none;
}

.overlay.visible {
    display: block;
}

.sidemenu-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
    line-height: 1;
    color: #333;
}

.sidemenu.open {
    transform: translateX(0);
}