/* Reseta o padding e margin */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
}

header {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif ;
    font-weight: 500;
    transition: color 0.3s ease;
    transition: transform 0.3s ease;
    transform: scale(1.2);
}

nav ul li a:hover {
    color: #ffae00;
    transform: scale(1.2);
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Coloca o canvas atrás de todos os elementos */
}

#projetos {
    padding: 60px; /* Fundo semi-transparente */
    color: #f4f4f4;
    z-index: 2;
    position: relative;
}

#projetos h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsivo */
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.project-item {
    background: rgba(255, 255, 255, 0.1); /* Fundo branco semi-transparente */
    backdrop-filter: blur(10px); /* Efeito de desfoque */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: scale(1.05); /* Efeito de zoom ao passar o mouse */
}

.project-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.project-item p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.project-item a {
    color: #ffae00;
    text-decoration: none;
    font-weight: bold;
}

.project-item a:hover {
    text-decoration: underline;
}

footer {
    position: fixed;
    bottom: 0;
    font-family: 'Courier New', Courier, monospace;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    z-index: 1;
    margin-top: auto; /* Garante que o footer fique no final da página */
}

