* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.video-background {
    background: #000;
    min-height: 35em;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -10;
    overflow: hidden;
    background-size: cover;
    background: center no-repeat;
}

.video-foreground,
.video-background iframe {
    height: 50%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#vidtop-content {
    top: 0;
    color: #fff;
}

.vid-info {
    position: absolute;
    top: 0;
    right: 0;
    width: 33%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 1rem;
    font-family: Avenir, Helvetica, sans-serif;
}

.vid-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
}

.vid-info a {
    display: block;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: .6s background;
    transition: .6s background;
    border-bottom: none;
    margin: 1rem auto;
    text-align: center;
}

/*video-text*/

.leaf-wrap:before{
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
}

.text-video{
  width: 99%;
  text-align: center;
  color: white;
  opacity: .6;
  display: inline-block;
  vertical-align: middle;
}

h1.text-h1{
    font-size: 25px;
    margin: 0;
    font-weight: 500;
    letter-spacing: 2px;
}

.text-video span{
   font-size: 16px;
}

@media (min-aspect-ratio: 16/9) {

   .video-foreground {
        height: 300%;
        top: -100%;
    }

    .text-video{
        display: none;
    }

}

@media (max-aspect-ratio: 16/9) {
    .video-foreground {
        width: 320%;
        left: -100%;
    }

    .video-background iframe{
        display: none;
    }
}

@media (max-width: 375px){
    .video-foreground {
        width: 400%;
    }

    .video-background iframe{
        display: none;
    }
}

@media all and (max-width: 600px) {
    .vid-info {
        width: 50%;
        padding: .5rem;
    }
    .vid-info h1 {
        margin-bottom: .2rem;
    }

     .text-video{
         width: 95%;
         height: 50%;
     }

     .video-background{
        height: 40em;
     }
}

@media all and (max-width: 500px) {
    .vid-info .acronym {
        display: none;
    }
}

@media screen and (min-width: 1024px){
     .video-background {
        background: top center no-repeat;
    }
}

@media screen and (min-width: 1200px) {
     .text-video{
         display: none;
     }
    
}


