/*podes usar tu css */

/* reseteo simple css */
body,
html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.hero-container {
  height: 100vh; /* Ocupa el 100% de la altura de la ventana */
  width: 100%;
  position: relative; /* Necesario para posicionar el video y el contenido */
  overflow: hidden; /* Evita barras de scroll si el video se desborda */

  /* Para centrar el contenido de texto */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Esta es la propiedad clave: */
  /* Cubre todo el contenedor, recorta si es necesario, sin distorsionar */
  object-fit: cover;

  z-index: -1; /* Envía el video detrás del contenido, aca hay que ver cuantos zindex tenes*/

  /* Opcional: Un filtro oscuro para que el texto resalte más */
  /* filter: brightness(0.7); */
}

.hero-content {
  position: relative; /* Asegura que esté sobre el z-index -1, fijate los zindex por ahi necesitas mas de1 en 1 */
  z-index: 1;
  color: white;
  text-align: center;

  /* Opcional: Un fondo semitransparente para legibilidad */
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 10px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 1rem;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
