@import url("https://fonts.googleapis.com/css?family=Poppins");
@import url("https://fonts.googleapis.com/css2?family=Unbounded&display=swap");
* {
  margin: 0;
  padding: 0;
}

body {
  background: black;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Unbounded;
  cursor: url(../assets/cursorWhite.png) 16 16, auto !important;
  user-select: none; /* Evita la selección de texto */
  -webkit-user-select: none; /* Para navegadores basados en WebKit */
  -moz-user-select: none; /* Para Firefox */
  -ms-user-select: none; /* Para navegadores antiguos de Microsoft */
}

/*Card*/
#tiltcard {
  width: 650px;

  border-radius: 10px;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/*Fondo*/
#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/fondo1.gif");
  background-size: cover; /* Hace que la imagen cubra todo el contenedor */
  background-position: center center; /* Centra la imagen dentro del contenedor */
  background-repeat: no-repeat; /* No repite la imagen */
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
  filter: blur(6px) contrast(120%) brightness(40%);
}

/*Boton inicio*/
#playButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  font-size: 18px;
  background: #00000000;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  transition: opacity 0.3s; /* Animación de desaparición del botón */
  cursor: url(../assets/cursorWhite.png) 16 16, auto !important;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  filter: drop-shadow(0 0 0.2rem #ffffff);
  z-index: 99;
  user-select: none;
  transition: transform 0.2s ease-in-out;
}
#playButton:hover {
  opacity: 0.7;
  transform: translate(-50%, -50%) scale(1.2);
}

/*Ocultar tiltcard*/
.hidden {
  display: none;
}

/* Video player */
.video-container {
  width: 100%;
  margin-top: auto; /* Empuja el reproductor al fondo */
}

video#videoPlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* El video ocupa todo el fondo */
}

/* Video de fondo */
.background-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(7px) contrast(110%) brightness(80%);
  z-index: -2;
}

#videoPlayer {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  background: red;
}
#efectoFondo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/dot.png") repeat 0 0 transparent;
  opacity: 0.2;
  z-index: 1;
}
