/* The Modal (background) */
#video-viewer {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    background-color: rgba(0,0,0,0.9);
}


#modal-body {
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    
}

#video-viewer span {
    position: absolute;
    z-index: 99999;
    top: 0;
    right: 35px;
    color: #f1f1f1;
    font-size: 100px;
    font-weight: bold;
    opacity: 1;
    transition: 0.3s;
   
}
#video-viewer span:hover,
#video-viewer span:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-content {
   background-color: transparent;
   margin: auto;
    aspect-ratio: 16 / 9;
    width: 80%;  
    max-width: 800px;
    animation-name: modal_zoom;
    animation-duration: 0.6s;
}

@keyframes modal_zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}


@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}