* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Nada fora do container */
}

.food-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Carrega imagem inteira sem cortes */
    background-color: #000; 
    opacity: 0; /* Todas as imagens começar invisível */
    animation: slide 255s infinite; /* Ciclo de animação */
    cursor: pointer;
}

.food-image:nth-child(1) { animation-delay: 0s; }
.food-image:nth-child(2) { animation-delay: 10s; }
.food-image:nth-child(3) { animation-delay: 20s; }
.food-image:nth-child(4) { animation-delay: 30s; }
.food-image:nth-child(5) { animation-delay: 40s; }
.food-image:nth-child(6) { animation-delay: 50s; }
.food-image:nth-child(7) { animation-delay: 60s; }
.food-image:nth-child(8) { animation-delay: 70s; }
.food-image:nth-child(9) { animation-delay: 80s; }
.food-image:nth-child(10) { animation-delay: 90s; }
.food-image:nth-child(11) { animation-delay: 100s; }
.food-image:nth-child(12) { animation-delay: 110s; }
.food-image:nth-child(13) { animation-delay: 120s; }
.food-image:nth-child(14) { animation-delay: 130s; }
.food-image:nth-child(15) { animation-delay: 140s; }
.food-image:nth-child(16) { animation-delay: 150s; }
.food-image:nth-child(17) { animation-delay: 160s; }
.food-image:nth-child(18) { animation-delay: 170s; }
.food-image:nth-child(19) { animation-delay: 180s; }
.food-image:nth-child(20) { animation-delay: 190s; }


@keyframes slide {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}



.qr-code {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.qr-code img {
    width: 140px;
    height: 140px;
    object-fit: cover;
}

#timer {
    position: fixed;
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 40px;
    font-family: Arial, sans-serif;
    z-index: 1000; /* Acima de outros elementos */
    text-align: center;
}

#temperature {
    font-size: 40px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 10px;
}


