* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #05070b;
}

body {
  overflow: hidden;
}

.page {
  width: 100vw;
  height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05070b;
}

.hero {
  width: 100vw;
  height: 100vh;
  min-height: 100dvh;
  object-fit: cover;
  object-position: center center;
  display: block;
  animation: crewnexFade 900ms ease-out both;
}

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

@keyframes crewnexFade {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Su telefono mostriamo tutta l'immagine senza tagliarla */
@media (orientation: portrait) {
  body {
    overflow: auto;
  }

  .page {
    min-height: 100vh;
  }

  .hero {
    height: auto;
    min-height: auto;
    object-fit: contain;
  }
}
