header {
  position: relative;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
  border-bottom: solid;
  border-width: 3px;
  border-color: #6efafb;
  background-image: url("./images/videofallback.jpg");
  background-color: #1f271b;
}

#header2 {
  position: relative;
  height: 50vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
  border-bottom: solid;
  border-width: 3px;
  border-color: #6efafb;
  background-image: url("./images/videofallback.jpg");
  background-color: #1f271b;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.1;
  z-index: 1;
}

/* Media Query for devices withi coarse pointers and no hover functionality */
/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */
@media (pointer: coarse) and (hover: none) {
  header {
    background: url('../images/videofallback.jpg') black no-repeat center center scroll;
  }

  header video {
    display: none;
  }
}

#headerBox {
  background-color: rgba(6, 6, 6, 0.2);
  color: rgba(6, 6, 6, 0.2);
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: solid;
  border-width: 3px;
  border-color: #6efafb;
  border-radius: 10px;
  -webkit-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.67);
  box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.67);
  overflow: hidden;
}
