/* style.css */
.pantalla {
  height: 100vh;
  width: 100vw;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portada {
  background-image: url('assets/img/fondo-movil.jpg');
  background-size: cover;
  background-position: center;
}

@media (min-width: 640px) {
  .portada {
    background-image: url('assets/img/fondo-escritorio.jpg');
  }
}

.titulo {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.imagen-central {
  border-radius: 9999px;
  border: 4px solid white;
  margin-bottom: 1.5rem;
  width: 150px;
  height: 150px;
}

.boton-play,
.boton-siguiente,
.boton-navegacion,
.boton-verificar {
  background: white;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-top: 1rem;
}

.texto-descriptivo,
.texto-poema {
  max-width: 500px;
  text-align: left;
  font-size: 1.125rem;
}

.contenido-flex {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.imagen-lateral {
  width: 50%;
  border-radius: 1rem;
}

.navegacion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}

.reproductor {
  background-color: #2d2d2d;
  padding: 1rem;
  border-radius: 0.5rem;
  width: 33%;
}

.lista-playlist {
  background-color: #2d2d2d;
  border-radius: 0.5rem;
  padding: 1rem;
  width: 100%;
  max-width: 400px;
}

.item-playlist {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #444;
}

.input-respuesta {
  color: black;
  padding: 0.5rem;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}

.mensaje-error {
  color: red;
  margin-top: 0.5rem;
}

#heartRain {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: 10;
}

.heart {
  position: absolute;
  top: -20px;
  font-size: 4px;
  color: pink;
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

body {
  background-image: url('assets/img/fondo-movil.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white; /* asegura contraste en todo el sitio */
}

@media (min-width: 640px) {
  body {
    background-image: url('assets/img/fondo-escritorio.jpg');
  }
}