body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #3498db, #e74c3c);
            animation: fadeBackground 5s linear infinite alternate;
}

.quadrado-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.quadrado img {
    max-width: 100%;
    height: auto;
}

.quadrado h2 {
    color: #000000; 
    margin: 10px 0;
    
}

.quadrado {
    width: 350px;
    height: 350px;
    background-color: #ffffff;
    margin: 20px;
    text-align: center;
    line-height: 100px; 
    color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border:5px solid #ddd;
    border-radius:10px;
}

.quadrado:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #fff;
    font-size: 36px;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
    text-decoration: none;
    
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

a {
    text-decoration: none;
}

.link{
    text-decoration: none;
}

@media screen and (max-width: 768px) {

    body {
        margin: 0;
        padding: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: linear-gradient(to top, #3498db, #e74c3c);
                animation: fadeBackground 5s linear infinite alternate;

                
    }
    
    .quadrado-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        
    }
    .quadrado img {
        width: 100px;
        height: auto;
        
    }
    
    .quadrado h2 {
        color: #000000; 
        margin: 10px 0;
        font-size: 20px;

        
    }
    
    .quadrado {
        width: 189px;
        height: 189px;
        background-color: #ffffff;
        margin: 20px;
        text-align: center;
        line-height: 100px; 
        color: #fff;
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s, box-shadow 0.2s;
        border:5px solid #ddd;
        border-radius:10px;
        
    }
    
    .quadrado:hover {
        transform: scale(1.1);
        box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
    }
    
    h2 {
        color: #fff;
        font-size: 36px;
        opacity: 0;
        animation: fadeIn 2s ease-in-out forwards;
        text-decoration: none;
        
    }
    
    
    @keyframes fadeIn {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    
    a {
        text-decoration: none;
    }
    
    .link{
        text-decoration: none;
    }
    

}






