
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: sans-serif;
    height: 100%;
}

.container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #333;
    color: white;
    padding: 20px;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    z-index: 1000;
}

.sidebar.show {
    transform: translateX(0);
}

.close-btn {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    float: right;
    cursor: pointer;
    margin-bottom: 20px;
}

.sidebar h2 {
    margin-bottom: 20px;
    clear: both;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.main-content {
    padding: 20px;
    background-color: #f4f4f4;
    height: 100%;
    overflow-y: auto;
}

header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

#toggle-btn {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 900;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.overlay.hidden {
    display: none;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 20px;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    z-index: 1000;
}

.sidebar.show {
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .sidebar {
        width: 250px;
    }
}
