 /* Hide the popup initially */
 #popupBox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    height: 60%;
    max-height: 400px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
}

#popupBox iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Style for the close button */
.closePopup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #333;
}

/* Background overlay */
#popupOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #popupBox {
        width: 90%;
        height: 70%;
        max-width: none;
        max-height: none;
    }

    .closePopup {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    #popupBox {
        width: 95%;
        height: 80%;
    }

    .closePopup {
        font-size: 32px;
    }
}