body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0a0c27;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.indicador-carga {
    color: #00f;
    font-size: 2rem;
    text-shadow: 0 0 5px #00f, 0 0 10px #00f;
}

.contenedor-imagenes {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    height: 100vh;
}

.puerta {
    width: 50%;
    height: 100vh;
    object-fit: cover;
    transition: transform 2s ease-in-out;
    position: absolute;
    top: 0;
}

.puerta-izquierda {
    left: 0;
}

.puerta-derecha {
    right: 0;
}

.fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.reproductor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 280px;
    padding: 20px;
    background: rgba(10, 12, 39, 0.1); /* Más transparente */
    border-radius: 20px;
    box-shadow: 0 0 20px #00ffcc, 0 0 50px #00ffcc;
    text-align: center;
    animation: pulsar 1.5s infinite alternate; /* Animación continua */
    transition: transform 1s ease-in-out;
}

.reproductor.mostrar {
    transform: translate(-50%, -50%) scale(1);
}

.logo-container {
    margin-bottom: 15px;
}

.logo {
    width: 100px;
    border-radius: 50%;
}

.boton-reproducir {
    font-size: 2rem;
    color: #fff;
    background: #222;
    border: 2px solid #00ffcc;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.boton-reproducir:hover {
    background: #00ffcc;
    transform: scale(1.1);
}

.volume-control {
    margin-top: 20px;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #00ffcc 0%, #ff6600 100%);
    transition: background 0.3s;
}

.volume-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00ffcc;
    cursor: pointer;
}

.volume-control::-webkit-slider-thumb:hover {
    background: #ff6600;
}

@keyframes pulsar {
    0% {
        box-shadow: 0 0 20px #00ffcc, 0 0 50px #00ffcc;
    }
    100% {
        box-shadow: 0 0 30px #00ffcc, 0 0 70px #00ffcc;
    }
}

/* Estilos para la llovizna realista */
.llovizna {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.llovizna .gota {
    position: absolute;
    width: 2px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    animation: caer 1s infinite linear;
    opacity: 0.8;
}

@keyframes caer {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}
/* Nueva cabecera con título en PNG */
.titulo-container {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 100%;
    text-align: center;
}

.titulo-img {
    max-width: 100%;
    height: auto;
    width: 80%; /* Asegura que la imagen se redimensione adecuadamente */
    max-width: 600px; /* Limita el tamaño máximo */
}
/* Nueva cabecera con pie en PNG */
.pie-container {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 100%;
    text-align: center;
}

.pie-img {
    max-width: 100%;
    height: auto;
    width: 80%; /* Asegura que la imagen se redimensione adecuadamente */
    max-width: 400px; /* Limita el tamaño máximo */
}
  html, body {
    overflow: hidden;
  }