.video-background-holder {
  position: relative;
  background-color: black;
  height: calc(100vh - 80px);
  min-height: clamp(22rem, 70vh, 42rem);
  width: 100%;
  overflow: hidden;
}

.video-background-holder video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.video-background-content {
  position: relative;
  z-index: 2;
}

.video-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.32;
  z-index: 1;
}

@supports (height: 100svh) {
  .video-background-holder {
    height: calc(100svh - 80px);
  }
}

@supports (height: 100dvh) {
  .video-background-holder {
    height: calc(100dvh - 80px);
  }
}

@media (max-width: 991.98px) {
  .video-background-holder {
    height: 68svh;
    min-height: 21rem;
  }

  @supports (height: 100dvh) {
    .video-background-holder {
      height: 68dvh;
    }
  }
}

@media (max-width: 575.98px) {
  .video-background-holder {
    height: 62svh;
    min-height: 19rem;
  }

  @supports (height: 100dvh) {
    .video-background-holder {
      height: 62dvh;
    }
  }
}

@media (max-width: 767.98px) and (orientation: portrait) {
  .video-background-holder {
    height: auto;
    min-height: 220px;
    max-height: 360px;
    aspect-ratio: 16 / 9;
  }

  @supports (height: 100dvh) {
    .video-background-holder {
      max-height: calc(100dvh - 80px);
    }
  }

  .video-background-holder video {
    object-position: center 45%;
  }
}

@media (max-width: 767.98px) and (orientation: landscape) {
  .video-background-holder {
    height: calc(100svh - 64px);
    min-height: 0;
    max-height: none;
  }

  @supports (height: 100dvh) {
    .video-background-holder {
      height: calc(100dvh - 64px);
    }
  }
}

