.elementor-508 .elementor-element.elementor-element-7e46e3c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:400px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-508 .elementor-element.elementor-element-7e46e3c.e-con{--align-self:center;}.elementor-508 .elementor-element.elementor-element-4692363{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-508 .elementor-element.elementor-element-4692363.elementor-element{--align-self:center;}.elementor-508 .elementor-element.elementor-element-2ef4399{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-508 .elementor-element.elementor-element-ff52a1c{--display:flex;}.elementor-508 .elementor-element.elementor-element-ff52a1c.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-508 .elementor-element.elementor-element-1db42ed{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-508 .elementor-element.elementor-element-92f9b0a{text-align:center;}.elementor-508 .elementor-element.elementor-element-92f9b0a .elementor-heading-title{font-family:"Pixelify Sans", Sans-serif;font-size:15px;font-weight:600;}@media(min-width:768px){.elementor-508 .elementor-element.elementor-element-7e46e3c{--width:100%;}.elementor-508 .elementor-element.elementor-element-ff52a1c{--width:98.713%;}}/* Start custom CSS for html, class: .elementor-element-4692363 */body {
  margin: 0;
  background-color: black;
  overflow-x: hidden;
}

.star {
  position: absolute;
  width: 1px;
  height: 1px;
  background-color: white;
}

/* Intro animata centrata */
.intro {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: intro 1s ease-out 1s;
  color: rgb(75, 213, 238);
  font-weight: 400;
  font-size: 3vw;
  opacity: 0;
  text-align: center;
}

@keyframes intro {
  0% { opacity: 0; }
  20% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

/* Logo centrato */
.logo {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: logo 7s ease-out 2s;
  opacity: 0;
}

.logo img, .logo svg {
  width: 18em;
}

/* Animazione logo */
@keyframes logo {
  0% {
    transform: translateX(-50%) scale(1.50);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(0.1);
    opacity: 0;
  }
}

/* Testo giallo stile Star Wars */
p {
  color: #FFFF82;
  font-size: 1em;
}

/* Testo 3D stile Star Wars */
#board {
  font-family: 'Century Gothic', sans-serif;
  transform: perspective(500px) rotateX(25deg);
  transform-origin: 50% 100%;
  text-align: justify; /* ← cambia da justify a center */
  position: absolute;
  width: 100vw;
  height: 200vw;
  font-size: 2vw;
  font-weight: bold;
  bottom: 0;
  left: 0;
  padding: 0 20%; /* ← aumenta padding per restringere e centrare */
  z-index: 0;
  overflow: hidden;
}

#board:after {
  position: absolute;
  content: ' ';
  bottom: 60%;
  left: 0;
  right: 0;
  top: 0;
}

/* Scroll dell’opening crawl */
#content {
  animation: scroll 200s linear 7s forwards;
  position: relative;
  top: 100%;
  width: 100%;
}

#title, #subtitle {
  text-align: center;
}

@keyframes scroll {
  0% {
    top: 100%;
  }
  100% {
    top: -200%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-4f12cd3 *//* Rimuove margini e abilita scroll */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
}

/* Sfondo video */
.fullscreen-video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Video di default (desktop) */
.video-desktop {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100vw;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Video mobile nascosto di default */
.video-mobile {
  display: none;
}

/* Mostra solo il video mobile su schermi piccoli */
@media screen and (max-width: 768px) {
  .video-desktop {
    display: none;
  }
  .video-mobile {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
}

/* Contenuto della pagina */
.page-content {
  position: relative;
  z-index: 1;
  color: white;
  font-family: 'Press Start 2P', monospace;
  padding: 100px 20px;
}/* End custom CSS */