html, body {
  height: 100%;
  margin: 0;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin: auto;
}

.pattern {
  position: absolute;
  z-index: 1;
  background-size: auto auto;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      var(--bg) 2px,
      var(--bg) 4px
  );
}

video {
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: var(--video-opacity);
}

.text,
.pattern,
video {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  header {
      height: 100vh;
  }
}
