/*
.video-background {
    background: #000;
    position: fixed;
    top: 0; right: 0; left: 0; bottom: 0;
    width: 100vw;
    height: 100dvh;
    height: 100vh;
    z-index: -99;
}
.video-foreground,
.video-background iframe {
    position: absolute;
    top: 0; right: 0; left: 0; bottom: 0;
    
    pointer-events: none;
}
.video-background iframe {
    width: 100%; 
    height: 100dvh;
    height: 100vh;
}

@media (min-aspect-ratio: 16/9) {
    .video-foreground { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
    .video-foreground { width: 300%; left: -100%; }
}
*/


.iframe-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
  }
  
  /* Make the iframe keep an aspect ratio, and
  position it in the middle of its parent wrapper*/
  
  .iframe-wrapper iframe {
    width: 100%;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100%;
    min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
