.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1.0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 450px;
    border-radius: 10px;
    overflow: hidden;
    animation: myAnim 1s ease 0s 1 normal forwards;
}

.loading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}


.popup img {
    max-width: 100%;
    height: auto;
}

.countdown {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    text-align: center;
    margin-top: 10px;
}

.loader {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-top: 10px;
    margin-left: 7px;
    display: inline-block;
    border-top: 4px solid var(--button-color);
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#wrapper {
    display: none;
}

@keyframes myAnim {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .popup {
            width: 290px;
        }
}