.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup-container.show {
    opacity: 1;
    pointer-events: auto;
}

.close-button {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #ffffff;
    cursor: pointer;
    font-size: 25px;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


@media only screen and (max-width: 768px) {
    .video-container {
        width: 90%;
        padding-top: 56.25%; /* 16:9 aspect ratio */
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .video-container {
        width: 700px;
        height: 393.75px; /* 16:9 aspect ratio */
    }
}

@media only screen and (min-width: 1025px) {
    .video-container {
        width: 800px;
        height: 450px; /* 16:9 aspect ratio */
    }
}