/* Reset margini e overflow */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

/* Contenitore full-screen */
.video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stili di default (mobile first):
   video copre tutto lo schermo in object-fit: cover */
.video-container video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* Desktop: video mantiene altezza 100vh, larghezza automatica,
   per non deformare; centrato orizzontalmente */
@media (min-width: 768px) {
  .video-container video {
    width: auto;
    height: 100vh;
    object-fit: contain;
  }
}
