html {
  color-scheme: dark;
  min-height: 100%;
  background: linear-gradient(#0b1225 50%, #25354b 50%);
}

body {
  margin: 0;
}

video {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66.6667% 33.3333%;
}

@media (max-aspect-ratio: 4/3) {
  video {
    inset: 50% 0 auto;
    height: auto;
    transform: translateY(-50%);
    object-fit: contain;
    mask-image: linear-gradient(
      transparent, black 7px, black calc(100% - 7px), transparent
    );
  }
}

video:focus-visible {
  outline: 2px solid #8fe4dc;
  outline-offset: -4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
