.content
{
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 2rem;
    place-items: center;
}
.anchor-link 
{
    text-decoration: none; 
    color: inherit;
    display: block;
}
.project
{
    border-radius: 3%;
    background-color: rgb(246, 238, 225);
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    grid-template-areas: 
    "title"
    "img"
    "text";
    padding: 1rem 0;
}
.project:hover
{
    background-color: rgb(204, 201, 182);
    transform: scale(1.1);
}
.project h3 
{
    display: flex;
    justify-content: center;
    grid-area: title;
    margin: 0 auto;
}
.project figure
{
    display: flex;
    justify-content: center;
}
.project img
{
    width: 80%;
    padding: 1rem;
    grid-area: img;
    border-radius: 10%;
}
.project p
{
    text-align: center;
    grid-area: text;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    overflow: hidden;
}
.project:hover p 
{
    max-height: 200px; /* Altura máxima */
    opacity: 1;
    margin-top: 1rem;
}
@media (max-width: 800px) {
    .content {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
        gap: 1rem;
    }
    .content a
    {
        display: flex; 
        align-items: center;
        justify-content: center;
    }
    .project {
        width: clamp(280px, 20vw, 340px);
        height: clamp(300px, 40vh, 400px);
    }
}
@media (max-width: 412px) {
    .content {
        grid-template-columns: repeat(1, minmax(225px, 1fr));
        gap: 0.25rem;
    }
    .content a
    {
        display: flex; 
        align-items: center;
        justify-content: center;
    }
    .project {
        width: clamp(225px, 20vw, 340px);
        height: clamp(275px, 40vh, 400px);
    }
}
@media (min-width: 2160px) {
    .project {
        width: clamp(400px, 20vw, 480px);
        height: clamp(480px, 40vh, 560px);
        padding: 2rem 0;
    }
    .project p {
        padding: 1rem;
    }
}
