* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background: linear-gradient(135deg, #1e1e2f, #2c2c3e);
    color: #e2e8f0;
    padding: 20px;
}

.voltar {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    background: linear-gradient(270deg, #4c4cf8, #6366f1, #4c4cf8);
    background-size: 600% 600%;
    transition: 0.3s;
    animation: gradienteAnimado 6s ease infinite;
}

@keyframes gradienteAnimado {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.voltar:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.7);
}

h1 {
    text-align: center;
    margin-bottom: 40px;
}

.lista-projetos {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.projeto {
    background-color: #2a2a3d;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: 0.3s;
}

.projeto:hover {
    box-shadow: 0 0 10px rgba(76, 76, 248, 0.6);
}

.projeto h2 {
    text-align: center;
    font-size: 1.1rem;
}

.imagens {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #4c4cf8;
    align-self: center;
    transition: 0.3s;
}

.imagens:hover {
    transform: scale(1.6);
    z-index: 10;
}

.link-github,
.link-projeto {
    text-decoration: none;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
    font-size: 0.85rem;
}

.link-github {
    background-color: #3a3a55;
    color: white;
}

.link-github:hover {
    background-color: #4c4cf8;
    transform: scale(1.05);
}

.link-projeto {
    background-color: #4c4cf8;
    color: white;
}

.link-projeto:hover {
    transform: scale(1.05);
}

.projeto p {
    font-size: 0.75rem;
    line-height: 1.3;
    opacity: 0.85;
}

.projeto p:last-child {
    background-color: #1e1e2f;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.7rem;
}
