/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    scroll-behavior: smooth;
    min-height: 100vh; /* Garante que o body cubra toda a tela */
    position: relative;
}

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);
}

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

/* Mantém o estilo do conteúdo */
#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    background: none;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    z-index: 1;
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    font-style: normal;
    transform: translateY(-50px);
    animation: fadeIn 0.6s ease-out forwards;
}

h3 {
    transform: translateY(-50px);
    animation: fadeIn 0.6s ease-out forwards;
}

.JavaScript {
    color: #ffae00;
    transform: translateY(-50px);
    animation: fadeIn 0.6s ease-out forwards;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: #fff; /* Cor padrão dos ícones */
    font-size: 2rem;
    transition: transform 0.3s ease, shadow 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2); /* Aumenta o tamanho ao passar o mouse */
    /* Brilho suave */
}

/* Cores de hover específicas para cada rede social */
.social-links a:hover .fa-github {
    color: #ffffff;
    box-shadow: 0 0 5px #ffffff;
}

.social-links a:hover .fa-linkedin {
    color: #0072b1;
    box-shadow: 0 0 13px #0072b1;
}

.social-links a:hover .fa-x {
    color: #088dfa;
    box-shadow: 0 0 5px #ffffff;
}

.social-links a:hover .fa-instagram {
    color: #e4405f;
    box-shadow: 0 0 13px #e4405f;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeIn 0.6s ease-out forwards;
}

h4 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

footer {
    position: relative;
    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 */
}