﻿.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    animation: fadeIn 0.2s;
}
    .menu-overlay.active {
        display: flex;
    }

.menu-dialog {
    position: fixed;
    width: 440px;
    background: white;
    border-radius: 5px;
    z-index: 99999;
    display: none;
}

.menu-close {
    position: absolute;
    top: 5px;
    right: 10px;
}

@media (min-width: 1001px) {
    .menu-dialog {
        top: 10px;
        right: calc((100vw - 1000px) / 2);
    }
}

@media (max-width: 1000px) {
    .menu-dialog {
        top: 10px;
        left: 0;
        width: 100%;
    }
}

.menu-dialog.open {
    display: block;
    /*animation: slideIn 0.3s ease-out;*/
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

