

*{
    margin: 10px; 
    padding: 0; 
}


video-wrap {
    clip: rect(0, auto, auto, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
}

#myVideo {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    will-change: transform;
    z-index: -1000;
    }

video { 
        position: fixed;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -100;
        transform: translateX(-50%) translateY(-50%);
        background: url('') no-repeat;
        background-size: cover;
        transition: 1s opacity;
        }
        
.video-background {
        position: relative;
        width: 100%;
        min-height: 100vh;
        }

        @media (min-aspect-ratio: 16/9) {
            video {
              width: 100%;
              height: auto;
            }
          }
          @media (max-aspect-ratio: 16/9) {
            video {
              width: auto;
              height: 100%;
            }
          }


.hero
          {
          width: 100%; 
          height: 100vh;
          position: relative;
          display: flex;
          align-items: center;
          justify-content: center;
          
          }