body {
    color: white;
    font-family: Arial, sans-serif;
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
}

ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 16px;

}

a {
    text-decoration: none;
    color: white;
    
}

header img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 5px solid green;
}

.center {
    text-align: center;    
}

h1 {
    color: green;
}

footer img {
    width: 40px;
    height: 40px;
}

footer {
    display: flex;
    justify-content: center;
}

footer a {
    margin: 20px;
    text-align: center;
}

footer p {
    margin-top: 2px;
}

.container {
    padding: 0px 50px;
}

nav a:hover {
    color: green;
    transition: 0.5s;
}

footer a:hover {
    color: green;
    transition: 0.5s;
}

h2 {
    text-align: center;
}
form {
    max-width: 500px;
    width: 100%;
    margin: 20px auto; /* auto centraliza horizontalmente */
}
/* Grid de projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 0 20px;
}

/* Card de cada projeto */
.project-card {
    background-color: #111; /* fundo escuro para contrastar com o texto */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Imagem do projeto */
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover img {
    transform: scale(1.05);
}

/* Informações do projeto */
.project-card .info {
    padding: 15px;
}

.project-card h3 {
    margin: 10px 0;
    font-size: 1.2em;
    color: green; /* combinando com seu tema */
}

.project-card p {
    font-size: 0.95em;
    color: white;
    margin-bottom: 15px;
}

/* Botão "Ver mais" */
.project-card .btn {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.project-card .btn:hover {
    background-color: #00ff00;
}

/* Responsivo */
@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}