body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
}

h1{
    text-align: center;
    color: #333;
}

.produtos { 
    display: flex;
    justify-content: center; 
    gap: 20px;               
    padding: 20px;
}

.produto {
    border: 2px solid #333;
    padding: 10px;
    border-radius: 8px;         
    flex: 1;                 
    text-align: center; 
    transition: all 0.3s ease-out;
    height: 100%;
}

.produto:hover {
    background-color: #333;  
    color: #fff;
    transform: scale(1.05);
    cursor: pointer;
}

.produto:hover>p {
    color: #cacaca;           
}

.animacao-container {
    opacity: 0; 
    animation: surgir 0.8s ease-out forwards;
    flex: 1;
}

@keyframes surgir {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animacao-container:nth-child(1) { animation-delay: 0.2s; }
.animacao-container:nth-child(2) { animation-delay: 0.4s; }
.animacao-container:nth-child(3) { animation-delay: 0.6s; }


.preco {
    display: block;    
    font-weight: bold;
    color: #2ecc71;    
    margin-top: 10px;
}


.produto:hover .preco {
    color: #fff; 
}


footer {
    padding: 20px;
    padding-top: 2px;
    background-color: #333;
    margin-top: 20px;
}

footer p {
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.redes-sociais {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.icone {
    width: 40px;  
    height: 40px; 
    object-fit: contain; 
    transition: transform 0.2s;
}

.icone:hover {
    transform: translateY(-5px); 
    filter: brightness(1.2);    
}

.btn-curtir {
    background-color: #fff;
    border: 2px solid #333;
    padding: 8px 16px;
    border-radius: 20px; 
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.btn-curtir:hover {
    border: solid 2px #fff;
    background-color: #333;
    color: #fff;
    transform: scale(1.1); 
}

.curtido {
    background-color: #2ecc71 !important; 
    color: #fff !important;
    border-color: #2ecc71 !important;
}

.busca-container {
    text-align: center;
    margin-bottom: 20px;
}

#campo-busca {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #333;
    border-radius: 20px; 
    transition: all 0.3s;
}

#campo-busca:focus {
    border-color: #2ecc71; 
    outline: none; 
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.5); 
}


/* Responsividade */
@media (max-width: 768px) {
    .produtos {
        flex-direction: column; 
        align-items: center;    
    }

    .animacao-container {
        width: 90%; 
    }

    #campo-busca {
        width: 80%; 
    }
}