html,body {
    width:100vw;
    height: 100vh;
    margin: 0;
}
#videoBG {
    position:fixed;
    z-index: -1;
}
@media (min-aspect-ratio: 16/9) {
    #videoBG {
        width:100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    #videoBG { 
        width:auto;
        height: 100%;
    }
}
@media (max-width: 767px) {
    #videoBG {
        display: none;
    }
    body {
        background: url('poster.jpg');
        background-size: cover;
    }
}

@media screen and (orientation: portrait) {
  #videoBG {
    height: 100%;
    width: auto;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
}


div.textdiv {
  max-width: 500px;
  height: 700px;
  margin: 30px;
  background-color: black;
  opacity: 0.7;
  overflow-y: scroll;
}
div.textdiv p {
  margin: 5%;
  font-weight: bold;
  color: white;
  font-size: large;
}
div.textdiv h1 {
  margin: 5%;
  font-weight: bold;
  color: white;
}

.overlay {
    position:absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index:1;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1; 
} 
::-webkit-scrollbar-thumb {
  background: #888; 
}
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}