* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Poppins-regular sans-serif;
    background-color: #fff;
}

/* Toggle Button */
.menu-icon {
    width: 35px;
    height: 30px;
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 1100;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    height: 4px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.open span:nth-child(2) {
    opacity: 0;
}

.menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Sidebar */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(254, 253, 253, 0.95);
    overflow-x: hidden;
    transition: width 0.4s ease;
    padding-top: 60px;
    z-index: 1050;
}

.sidebar.open {
    width: 300px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
}

.sidebar a {
    transform: translateY(0);
    /* transition: all 1.6s ease !important; */
    padding: 11px 25px;
    text-decoration: none;
    font-size: 20px;
    color: #151515;
    transition: all 0.3s ease;
    font-weight: 200;
    text-align: end;
    font-family: inherit;
}

.sidebar a:hover {
    font-weight: bold;
    /* background-color: #575757; */
}

.sidebar a.active {
    font-weight: bold;
    color: #000;
}

/* Overlay for background fade */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(101, 98, 98, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.content {
    padding: 20px;
    z-index: 1;
}

h1 {
    font-size: 2em;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    .sidebar.open {
        width: 80%;
    }

    .sidebar a {
        font-size: 18px;
        padding: 12px 20px;
    }

    .menu-icon {
        width: 28px;
        height: 24px;
    }

    .menu-icon span {
        height: 3px;
    }

    h1 {
        font-size: 1.5em;
    }
}