.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background-color: #1e1e2f;
    color: white;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-content {
    text-align: center;
}

.sidebar h2 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 1rem 0;
}

.sidebar a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
    color: #fff;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 900;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    background: #1e1e2f;
    color: white;
    border: none;
    font-size: 1.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1100;
}

@media (max-width: 768px) {
    .header {
        top: 30px;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

}