div#Popup {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    transition: all .5s;
}

div#Popup.show {
    opacity: 1;
    pointer-events: all;
}

#Popup .popupBox{
    top: 0px;
    bottom: 0px;
    right: 0;
    left: 0px;
    padding: 25px;
    overflow: auto;
    background: #1b1c1c;
    max-width: 95%;
    margin: auto;
    z-index: 10;
    transition: all .3s cubic-bezier(0.6, -0.28, 0.74, 0.05);
    box-sizing: border-box;
    box-shadow: 0px 0px 32px -2px #0000009c;
    height: auto;
    max-height: 80%;
    border-radius: 20px;
    transform: translateY(100px);
}

#Popup.show .popupBox{
    transform: translateY(0px);
}

div#Popup .closePanelBtn {
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    opacity: .5;
    transition: all .3s;
}

div#Popup .navigation h3 {
    margin: 0px;
}

div#Popup .closePanelBtn:hover {
    opacity: 1;
}

div#Popup.doubleWidth {
    width: 60%;
    max-width: 800px;
}

#Popup .popupCloseBackground {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000d1;
}



@media only screen and (max-width: 600px) {
    #Popup .popupBox {
        height: 100%;
        max-height: 100%;
        border-radius: 0px;
    }

    #Popup .popupBox {
        height: 100%;
        max-height: 100%;
        border-radius: 0px;
    }
}