/* RESET BÁSICO */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIÁVEIS */
:root{
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent: #3b82f6;
    --max-width: 1100px;
}

/* BODY */
body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* CONTAINER */
.container{
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    
}

/* HEADER */
header{
    background-color: var(--bg-secondary);
    padding: 60px 0;
    text-align: center;
    border-top: 10px solid var(--accent);
    border-bottom: 10px solid var(--accent);
}

header h1{
    font-size: 2.9rem;
    margin-bottom: 10px;
}

header p{
    color: var(--text-secondary);
    font-size: .9rem;
}

section{
    padding: 60px 0;
    text-align: center;
    
}

section h2{
    margin-bottom: 15px;
    font-size: 1.8rem;
}

section p{
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

#sobre{
    text-align: left;
}

#sobre h2{
    text-align: center;
}

#formacao{
    background-color: var(--bg-secondary);
}

.habilidades-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.habilidade-item{
    background-color: var(--bg-primary);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--accent);
    transition: transform 0.5s ease;
}

.habilidade-item:hover{
    transform: translateY(-8px);
}

#projetos{
    background-color: var(--bg-secondary);
    
}

.projetos-grid{
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.projeto-card{
    background-color: var(--bg-primary);
    padding: 30px;
    border-radius: 8px;
    width: 300px;
    transition: transform 0.3s ease;
}

.projeto-card:hover{
    transform: translateY(-5px);
}

.projeto-card h3{
    margin-bottom: 10px;
}

.projeto-card p{
    margin-bottom: 20px;
}

.projeto-card button{
    background-color: var(--accent);
    color: var(--text-primary);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.projeto-card button:hover{
    opacity: 0.85;
}

footer{
    padding: 30px 0;
    text-align: center;
    background-color: var(--bg-secondary);
}