body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #f0f0f0;
    background-color: #1a1a1a;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.nav-links, .nav-flags {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links {
    justify-content: center;
    flex-grow: 1;
}

.nav-links li, .nav-flags li {
    display: inline;
}

.nav-links li a, .nav-flags li img {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.nav-links li a {
    padding: 0.5rem 1rem;
    background-color: #444;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.nav-links li a:hover {
    background: #32CD32;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-flags {
    justify-content: flex-end;
}

.nav-flags li img.flag-icon {
    width: 24px;
    height: auto;
    vertical-align: middle;
}

.hero {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #ff6f61;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content .btn:hover {
    background-color: #32CD32;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.content-section {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.about-container .profile-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.about-text {
    max-width: 600px;
    text-align: justify; /* Justifica o texto */
    line-height: 1.6; /* Define a altura da linha */
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    margin-bottom: 0.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.project {
    background: #333;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-icons a {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-icons a img.contact-icon {
    width: 24px;
    height: auto;
    filter: grayscale(100%);
    border-radius: 50%;
    padding: 0.5rem;
    background: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.contact-icons a:hover img.contact-icon {
    transform: scale(1.2);
    filter: none;
    background: #32CD32;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Estilos específicos para a página de login */
.login-body {
    height: 100vh; /* Usar viewport height para garantir que o body ocupe toda a tela */
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4; /* Cor de fundo suave */
}

.login-container {
    width: 100%;
    max-width: 360px;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Inclui padding no cálculo de width/height */
}

.login-button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #003d80;
}
