/* Basic reset 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Popup overlay */
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0; /* Start with 0 opacity */
    transition: opacity 1.5s ease-in-out; /* Fade transition */
}

/* Popup content */
.popup-content {
    position: relative;
    background-color: #fff;
    padding: 12px;
    border-radius: 8px;
    width: 100%; /* Default width */
    max-width: 960px; /* Maximum width */
    overflow: auto;
    transform: rotateY(90deg); /* Start flipped */
    opacity: 0; /* Start with 0 opacity */
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
}

/* Show popup overlay and content */
.popup-overlay.active {
    display: flex; /* Show overlay */
    opacity: 1; /* Fade in */
}

.popup-overlay.active .popup-content {
    transform: rotateY(0); /* Flip to normal */
    opacity: 1; /* Fade in */
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

/* Iframe styling */
iframe {
    width: 100%;
    height: 100%;
    border: none;
}