/* General Menu Wrapper */
.menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Menu Button */
.menu-button {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: #E75480; /* Pink */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-button .menu-icon {
    width: 20px;
    height: 2px;
    background-color: #fff;
    position: relative;
}

.menu-button .menu-icon::before,
.menu-button .menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    left: 0;
    transition: transform 0.3s ease;
}

.menu-button .menu-icon::before {
    top: -6px;
}

.menu-button .menu-icon::after {
    top: 6px;
}

/* Transform Menu Icon to 'X' */
.menu-button.open .menu-icon {
    background-color: transparent;
}

.menu-button.open .menu-icon::before {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-button.open .menu-icon::after {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Side Menu */
.menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #333;
    color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.menu.open {
    transform: translateX(250px);
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 60px;
}

.menu ul li {
    padding: 15px;
    border-bottom: 1px solid #444;
}

.menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    transition: color 2s ease;
    border-radius: 5px;
    padding-left: 7px;
}

.menu ul li a.active {
    background-color: #E75480; /* Pink for the active page */
}

.menu ul li a:hover {
    color: #E75480; /* Hover effect */
}
