@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

header {
    background-color: #1f1f1f;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

main {
    padding-top: 80px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 8rem 2rem 2rem;
}

.hero {
    text-align: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
    margin-bottom: 1rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.buttons {
    margin-top: 2rem;
}

.btn {
    background-color: #007bff;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 0.5rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

.social-icons {
    margin-top: 2rem;
}

.social-icons a {
    margin: 0 0.5rem;
}

.social-icons img {
    width: 30px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

/* Animação */
.fade-in {
    animation: fadeInAnimation 1s ease-in-out;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Página de Projetos e Contato */
.projects, .contact {
    padding: 2rem 0;
}

.projects h2, .contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.project-card {
    background-color: #1f1f1f;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

form label {
    font-weight: 700;
}

form input, form textarea {
    padding: 0.8rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #1f1f1f;
    color: #ffffff;
}