body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    background: #ffc0dd;
    min-height: 100vh;
}

.container {
    display: none;
}
.collage-header {
    text-align: center;
    padding: 2rem 1rem 1rem;
    font-family: 'Pacifico', cursive;
    color: #d63384;
}

.collage-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
        animation: glow 1.5s ease-in-out infinite alternate;

}

.collage-header p {
    font-size: 1.2rem;
    color: #8a2f5a;
        animation: glow 1.5s ease-in-out infinite alternate;

}

.collage-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    gap: 2rem;
}

.photo {
    position: relative;
    width: 200px;
    transform: rotate(var(--angle));
    transition: transform 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    border: 8px solid white;
    border-radius: 10px;

}
@keyframes glow {
    from {
        text-shadow: 0 0 5px #ff8af2,
            0 0 10px #ff7bd7,
            0 0 15px #ff5fc1,
            0 0 20px #ff3cab;
    }

    to {
        text-shadow: 0 0 10px #ffa8f0,
            0 0 20px #ff87dc,
            0 0 30px #ff5fc1,
            0 0 40px #ff3cab;
    }
}


.photo:hover {
    transform: scale(1.05) rotate(var(--angle));
    z-index: 2;
}

.photo img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
}

.photo span {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #b4005a;
        animation: glow 1.5s ease-in-out infinite alternate;

}

/* Estilo del popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    animation: fadeInPopup 0.5s ease-out forwards;
    /* Animación del popup */
}

@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    text-align: center;
    position: relative;
}
/* Personalización del popup de bienvenida */
.popup-content.welcome {
    background: linear-gradient(145deg, #ffe3f4, #ffc0dd);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    animation: popup-fade 0.6s ease-out;
    max-width: 400px;
}

.popup-scroll-text {
    max-height: 500px; /* Altura visible antes del scroll */
    overflow-y: auto;
    padding-right: 10px; /* espacio para la scrollbar */
    margin-bottom: 20px; /* espacio antes del botón */
    text-align: left;
    font-size: 1rem;
}

/* Opcional: personalizar scrollbar en navegadores Webkit */
.popup-scroll-text::-webkit-scrollbar {
    width: 8px;
}
.popup-scroll-text::-webkit-scrollbar-thumb {
    background-color: #ff8ac4;
    border-radius: 10px;
}

.welcome-text {
    font-family: 'Quicksand';
    font-size: 2rem;
    color: #d63384;
    margin-bottom: 20px;
    animation: fadeInText 1s ease-out;
}

/* Botón de empezar */
.start-button {
    background-color: #ff5fa2;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}