﻿html, body {
  margin: 0;
  padding: 0;
  background-color: lightblue;
}

#myVideoContainer {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* BEGIN: hero video fix — make wrapper 16:9 box, video absolute cover, overlay centered */
#videoWrapper {
  width: 100%;
  /* height: auto; */        /* remove auto height */
  position: relative;
  aspect-ratio: 16 / 9;     /* ensures a consistent 16:9 box */
}

#myVideoContainer .video-bg {
  /* width: 100%;
  height: auto; */          /* replace with absolute fill */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.full-screen-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;        /* Target render size */
  max-width: 80%;      /* Scale down on small screens */
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 2;
  pointer-events: none;
  image-rendering: auto;
}
/* END: hero video fix */

#myVideoContainer video {
  display: block;
}

#contentSection {
  padding: 20px;
}
