.topup {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 43.75rem;
    /* 700px */
    color: white;
    text-align: center;
    border-radius: 0.625rem;
    /* 10px */
    box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1);
    /* 10px */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 99999;
    display: block;
}

.topup .close-btn {
    background-color: transparent;
    border: none;
    padding: 0.625rem;
    border-radius: 0.3125rem;
    cursor: pointer;
    font-size: 1.6875rem;
    position: absolute;
    top: -9px;
    right: -4px;
    color: #2366A9;
}

.topup .close-btn:hover {
    color: #3b576d;
}

.topup-description {
    position: relative;
}

.topup-description img {
    width: 100%;
    background: transparent;
    height: 550px;
}

.topup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay effect */
    z-index: 999;
    display: none;
}

.topup.show {
    display: block;
}

.topup-overlay.show {
    display: block;
}

@media (max-width: 800px) {
    .topup-description img {
        height: 450px;
    }

}

@media (max-width: 600px) {
    .topup {
        top: 15%;
    }
}

@media (max-width: 525px) {
    .topup-description img {
        height: 450px;
    }

    .topup .close-btn {
        font-size: 1.375rem;
        /* 22px */
        top: -0.625rem;
        /* -10px */
        right: -0.625rem;
        /* -10px */
    }
}

@media (max-width: 370px) {
    .topup-description img {
        height: 450px;
    }

    .topup {
        width: 95%;
        max-width: 20rem;
        /* 320px */
    }
}