#popup.overlay {
    position: fixed;
    display: none;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1030;
    color: #707070;
}

#popup .popup-container {
    width: 900px;
    max-width: 90%;
    max-height: 90%;
    height: 580px;
    background-color: transparent;
    border-radius: 20px;
    font-size: 20px;
}


#popup .popup-container .popup-card {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    position: relative;
}

#popup .popup-container .close {
    padding: 4px;
    border-radius: 50%;
    background-color: #C1C1C1;
    cursor: pointer;
    position: absolute;
    right: 2%;
    top: 3%;
    width: 26px;
    height: 26px;
    opacity: 1;
    z-index: 1;
}

#popup .popup-container .close:before,
#popup .popup-container .close:after {
    position: absolute;
    left: 12px;
    content: ' ';
    height: 20px;
    width: 2px;
    background-color: #fff;
}

#popup .popup-container .close:before {
    transform: rotate(45deg);
}

#popup .popup-container .close:after {
    transform: rotate(-45deg);
}

#popup .popup-container .popup-card .mobile {
    display: none;
}

@media screen and (max-width: 1300px) {
    #popup .popup-container {
        width: 700px;
        height: 450px;
        font-size: 18px;
    }
}

@media screen and (max-width: 992px) {
    #popup .popup-container {
        width: 650px;
        height: 400px;
        font-size: 16px;
    }
}

@media screen and (max-width: 767px) {
    #popup .popup-container {
        height: fit-content;
        width: 90%;
        font-size: 14px;
    }

    #popup .popup-container .close {
        right: 3%;
        top: 2%;
    }

    #popup .popup-container .popup-card {
        width: fit-content;
        margin: auto;
    }

    #popup .popup-container .popup-card .desktop {
        display: none;
    }

    #popup .popup-container .popup-card .mobile {
        display: unset;
        max-height: 100%;
        max-width: 100%;
    }
}