@font-face {
  font-family: "rotu";
  src: url(/assets/fuentes/PermanentMarker.ttf);
}
@font-face {
  font-family: "Raleway";
  src: url(/assets/fuentes/Raleway.ttf);
}

body {
  margin: 0;
  box-sizing: border-box;
  height: 100vh;
  width: 100vw;
  overflow: hidden;

}

/* Contenedor principal para el video */
.intro__container {
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}
 
/* Estilo para el video */
.intro__container video {
  width: 100%;
  height: 100%;       
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  object-position: top ;
}
@media (min-width: 1151px) {
  .intro__container video {
    object-position: 50% 20%; /* Centrado horizontal, 20% desde la parte superior */
  }
}


.animate-character {
  text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #ffb700 0%,
    /* Amarillo claro, inicio del amanecer */ #ff8c00 29%,
    /* Naranja brillante */ #ff4500 67%,
    /* Naranja rojizo, intensidad */ #ffa500 100%
      /* Naranja, final del amanecer */
  );
  background-size: auto auto;
  background-size: 200% auto; /* Aumentamos el tamaño para que el gradiente se mueva más */
  color: #fff; /* Esto se superpondrá con el clip-text */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 3.2s linear infinite; /* Aquí aplicaremos la animación */
  display: inline-block;
  font-family: "Raleway";
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  font-size: 2em;
  font-weight: bold; /* Para que los colores se noten mejor */
  letter-spacing: 2px; /* Un poco de espacio entre letras */
}

@keyframes textclip {
  to {
    background-position: 200% center; /* Mueve el gradiente 200% hacia la derecha */
  }
}
.intro__container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* capa oscura */
  z-index: 0;
}

.animate-character {
  z-index: 1; /* el texto queda por encima */
}
/* fin de contenedor principal para el video */
