body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
}

.slideshow-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}

.content {
    position: relative;
    z-index: 1;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    margin: 50px auto;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
}

/* Estilos del Lightbox */
.lightbox-overlay {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: block;
    object-fit: contain;
    border: 5px solid white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.5s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* ... (El resto de tu código CSS) ... */

/* Estilos para el mensaje final */
.mensaje-final {
    position: relative;
    z-index: 1; /* Para que esté sobre el fondo */
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    background: linear-gradient(90deg, #ff69b4, #00ced1); /* Un degradado llamativo: rosa intenso y azul turquesa */
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite; /* Aplica la animación */
}

.mensaje-final h2 {
    font-size: 2.2em;
    font-weight: bold;
    color: #fff; /* Texto blanco para un alto contraste */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Sombra de texto para mayor legibilidad */
    margin: 0;
}

/* Animación de pulso para la sombra */
@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 105, 180, 0.8);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
}