
@keyframes popup {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes popout {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.7); opacity: 0; }
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 10px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: center;
    animation: popup 1s;

}

.modal-content {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: -1px;
    font-size: 24px;
    cursor: pointer;
}

/* Style for the video container (16:9 aspect ratio) */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    width: 100%;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Adjust the size as needed */
    height: 100%; /* Adjust the size as needed */
}
.modal:not(.active) .modal-content {
    animation: popout 1s; /* Apply the pop-out animation when the modal is not active */
}