* {
    box-sizing: border-box; /* Inclui padding e bordas no cálculo de largura/altura */
}

body {
    margin: 0;
    background-color: white;
    color: black;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.title{
    font-size: 35px;
    color: #555;
    margin-bottom: 40px;
}

.sub-title{
    font-size: 25px;
    color: #555;
    margin-bottom: 40px;
}

.topnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 0 20px;
    position: sticky; /* Fixa a navbar no topo */
    top: 0;
    width: 100%; /* Garante que ocupe toda a largura */
    z-index: 1000; /* Garante que fique sobre o conteúdo */
    border-bottom-left-radius: 10px; /* Bordas arredondadas na parte inferior */
    border-bottom-right-radius: 10px; /* Bordas arredondadas na parte inferior */
    margin-bottom: 50px; /* Espaçamento entre a navbar e o resto da página */
}


.nav-links {
    display: flex;
    gap: 10px; /* Espaço entre os links */
}

.nav-links a {
    color: orange;
    text-align: center;
    padding: 20px 16px;
    text-decoration: none;
    font-size: 17px;
    display: flex;
    align-items: center; /* Alinha texto e ícone verticalmente */
    gap: 8px; /* Espaço entre o ícone e o texto */
}

.nav-links.lua{
    color:#121212;
}


.nav-links a i {
    font-size: 20px; /* Ajuste o tamanho do ícone */
}

.nav-links a:hover {
    background-color: orange;
    color: black;
    transition: 0.2s ease-in;
}

/* Ícone do menu */
.menu-icon {
    display: none;
    font-size: 24px;
    color: orange;
    cursor: pointer;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Oculta os links inicialmente */
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px; /* Abaixo da barra */
        right: 0;
        width: 100%; /* Ocupa toda a largura */
    }

    .nav-links.show {
        display: flex; /* Mostra os links ao clicar no menu */
    }

    .nav-links a {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #444;
    }

    .menu-icon {
        display: block; /* Mostra o ícone no mobile */
    }
}

.hero-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    padding: 20px;
    margin: 0 auto;
    gap: 40px;
    opacity: 0; /* Começa invisível */
    animation: fadeInUp 1.5s ease-in-out forwards; /* Animação personalizada */
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px); /* Inicia abaixo da posição */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Finaliza na posição original */
    }
}

.text-content {
    max-width: 600px;
    text-align: center;
    margin-right: 20px;
}

.greeting {
    font-size: 20px;
    color: #555;
    margin-bottom: 5px;
}

.name {
    font-size: 48px;
    font-weight: bold;
    margin: 5px 0;
    color: #333;
}

.description {
    text-align: justify;
    font-size: 20px;
    color: #777;
    line-height: 1.6;
    margin: 20px 0;
    word-wrap: break-word; /* Evita que o texto ultrapasse os limites */
}

.text-content {
    max-width: 600px;
    text-align: center;
    margin-right: 20px;
}

.image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.image-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: #ff5722; /* Mantém o contorno laranja */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Espaçamento para destacar o círculo laranja */
    box-sizing: border-box; /* Inclui o padding no tamanho total */
}

.image-circle img {
    width: 100%; /* Ocupar totalmente o espaço interno */
    height: 100%;
    border-radius: 50%;
    object-fit: cover; /* Ajuste proporcional */
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column; /* Coloca o texto e a imagem um em cima do outro */
        align-items: center; /* Centraliza os itens no eixo horizontal */
        padding: 20px; /* Garante que o padding não ultrapasse os limites */
    }

    .text-content {
        text-align: center; /* Centraliza o texto */
        margin-right: 0; /* Remove a margem direita */
        margin-bottom: 20px; /* Distância entre o texto e a imagem */
    }

    .image-circle {
        width: 200px; /* Ajusta o tamanho da imagem para telas menores */
        height: 200px;
        margin-left: 0; /* Remove a margem à esquerda */
    }

    .hero-section .text-content .description {
        font-size: 14px; /* Ajusta o tamanho da descrição em telas pequenas */
    }
}


.skills-section {
    margin-top: 60px;
    text-align: center;
    padding: 20px;
    opacity: 0; /* Inicialmente invisível */
    animation: fadeInUp 1.5s ease-in-out forwards; /* Aparece com uma animação */
}

.skills-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.skill {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
}

.skill i img{
    width: 48px;
    height: 48px;
}

.skill p {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.level {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.level-ball {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 5px;
    display: inline-block;
}

.level-advanced {
    background-color: #4CAF50; /* Verde para nível avançado */
}

.level-intermediate {
    background-color: #FF9800; /* Laranja para nível intermediário */
}

.level-beginner {
    background-color: #FF5722; /* Vermelho para nível iniciante */
}

.level span {
    font-size: 14px;
    color: #555;
}

/* Responsividade */
@media (max-width: 768px) {
    .skills-list {
        gap: 20px;
    }

    .skill {
        width: 120px;
    }
}

.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    background-color: #ff5722;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
}

.btn:hover {
    background-color: #e64a19;
}

.experience-section, .education-section, .soft-skills-section, .hard-skills-section, .hobbies-section {
    margin: 40px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.experience-list, .education-list, .soft-skills-list, .hard-skills-list, .hobbies-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-item, .education-item, .soft-skills-item, .hard-skills-item, .hobbies-item {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.experience-item h3, .education-item h3, .soft-skills-item h3, .hard-skills-item h3, .hobbies-item h3 {
    margin-bottom: 10px;
    color: #ff5722;
}

ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style: disc;
}

p, li {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    border-top-left-radius: 10px; /* Bordas arredondadas na parte inferior */
    border-bottom-right-radius: 10px; /* Bordas arredondadas na parte inferior */
}

.footer p {
    color: white;
}

.footer-content {
    margin-bottom: 20px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: orange;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: orange;
}

.footer-socials {
    margin-top: 10px;
}

.social-link {
    margin: 0 10px;
    font-size: 24px;
}

.footer-bottom {
    font-size: 14px;
    color: #aaa;
}