﻿/* Toggle button */
.menu-toggle {
    max-width: 40px;
    padding: 0px 0px 0px 10px;
/*    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;*/
}

/* Side menu */
#side-menu {
    position: fixed;
    font-size: 1.2em;
    top: 0;
    left: 0;
    width: 260px;
    height: 100%;
    background: #222;
    padding: 20px;
    border-radius: 16px;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 5002;
}

    #side-menu a {
        display: block;
        color: white;
        text-decoration: none;
        cursor: pointer;
        padding: 8px 0;
    }

    /* Open state */
    #side-menu.open {
        transform: translateX(0);
    }

/* Overlay */
#overlayMenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 5000;
}

    #overlayMenu.show {
        opacity: 1;
        pointer-events: auto;
    }

/* Close button */
.btnMenuClose {
    /*background: none;*/
    /*border: none;*/
    /*color: white;*/
    /*    font-size: 28px;
    cursor: pointer;
    margin-bottom: 20px;*/
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    border-radius: 7px;
    border-width: 0px;
    /*align-self: flex-end;*/
    display: relative;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    padding: 0px;
    margin: 0px;
    background-color: red;
}
