html, body {
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    font-family:  'Didot';
    font-weight:100 ;
    color:#ffcc00;
   

}
/*
@keyframes kenBurns {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.swiper-wrapper {
    animation: kenBurns 8.3s ease-in-out infinite alternate;
    will-change: transform;
    transform: translateZ(0);
}

*/
/* Configura lo slideshow */
/* Configura lo slideshow */
.swiper-container {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 3s ease-in-out, filter 3s ease-in-out; /* Transizioni lente */
    transition: blur 3s ease-in-out, filter 3s ease-in-out; /* Transizioni lente */
    opacity: 0; /* Nascondi inizialmente */
    filter: grayscale(100%) blur(100px); /* Scala di grigi iniziale */

}

/* Slide attiva (entrata) */
.swiper-slide-active {
    opacity: 1; /* Mostra l'immagine */
    filter: grayscale(0%) blur(0px); /* Passa a colori */
}

/* Slide in uscita */
.swiper-slide-exiting {
    opacity: 0; /* Torna trasparente */
    filter: grayscale(100%) blur(100px); /* Torna in scala di grigi */
    transition: opacity 3s ease-in-out, filter 3s ease-in-out; /* Lenta uscita */
    transition: blur 3s ease-in-out, filter 3s ease-in-out; /* Transizioni lente */
}
/* Posizione del pulsante candela */

#candle-button-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
@keyframes candlePulse {
    0% {
        transform: scale(1);
       
    }
    50% {
        transform: scale(1.1);
       
    }
    100% {
        transform: scale(1);
        
    }
}

.candle-off {
    width: 50px;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
    animation: candlePulse 3s infinite ease-in-out;
}

.candle-active {
    animation: none !important;
    width: 150px; /* Ingrandisce la candela */
    transition: transform 1s ease-in-out;
}

/* Contenitore delle candele accese */
#candles-container {
    position: fixed;
    bottom: 40px;
    right: 10px;
    width: 150px;
    height: 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}

/* Stile delle candele piccole */
.candle-small {
    width: 10px;
    height: 10px;
    background: orange;
    border-radius: 50%;
    position: absolute;
    transition: transform 2s ease-out;
    animation: flicker 1.5s infinite alternate;
}
.candle-small-small {
    width: 3px;
    height: 3px;
    background: orange;
    border-radius: 50%;
    position: absolute;
    transition: transform 2s ease-out;
    animation: flicker 1.5s infinite alternate;
}

/* Effetto di tremolio della fiamma */
@keyframes flicker {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}


/* Stile del testo sotto la candela */
#candle-text {
    position: absolute;
    bottom: -15px; /* Distanza sotto la candela */
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Effetto glow */
    text-align: center;
    white-space: nowrap;
}
/* Effetto della candela accesa */
/* Effetto della candela accesa */
.candle-active {
    width: 150px;
    transition: transform 1s ease-in-out;
}

/* Puntini luminosi che si accumulano a destra */
.candle-small {
    width: 10px;
    height: 10px;
    background: orange;
    border-radius: 50%;
    position: absolute;
    transition: transform 2s ease-out;
    animation: flicker 1.5s infinite alternate;
}

/* Effetto di tremolio della fiamma */
@keyframes flicker {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}




/* Pulsante "Mi piace" */
.cuore {
    width: 50px;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Transizione fluida */
}

.cuore:hover {
    transform: scale(1.2); /* Ingrandisce il pulsante al passaggio del mouse */
    opacity: 1; /* Aumenta l'opacità */
}

/* Icona visitatore */
.visitor {
    width: 100px;
    opacity: 0.7;
}
.

/* Messaggi di benvenuto */
#welcome {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 3em;
    color: #BB6D2D;
    z-index: 5;
}

/* Contenitori */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.visitors-container {
    position: absolute;
    bottom: 32px;
    left: 20px;
    display: flex;
    align-items: center;
    color: #BB6D2D;
    font-size: 20px;
    z-index: 3;
}
#total-visitors{
    position: absolute;
    color:rgba(0, 0, 0, 0);
    bottom: -30px;
    left: 32px;
    z-index: 900;

}

#total-visitors hover{
    color:#BB6D2D;
}

.likes-container {
    position: absolute;
    bottom: 103px;
    right: 10px;
    transform: translate(-50%, 50%);
    display: flex;
    align-items: center;
    font-size: 20px;
    z-index: 3;
}

.like-btn, .visitor-icon {
    cursor: pointer;
    margin-right: 10px;
    z-index: 10;
}
#fullscreen-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}
#fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Footer */
footer {
    position: fixed;
    background: rgba(91, 74, 57, 0.5);
    bottom: 0;
    width: 100%;
    height: 40px;
    font-size: 20px;
    color: #BB6D2D;
    z-index: 1;
    text-align: right;
}

footer p {
    position: fixed;
    right: 20px;
    bottom: -15px;
}

/* Media queries per dispositivi mobili */



