@import url('https://fonts.googleapis.com/css2?family=League+Gothic&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');




*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;
    color: var(--claro);
}

html{
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    background-color: rgba(114, 255, 114, 0.43);
    width: 12px;
    border-radius: 10px;
    height: fit-content;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1; 
    border-radius: 10px; 
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); 
}


::-webkit-scrollbar-thumb {
    border: 3px solid #007500;
    border-radius: 10px;
    background-color: rgb(114, 255, 114);
    
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(95, 211, 95); 
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-track:hover {
    background-color: #e1e1e1; 
}

::-webkit-scrollbar-corner {
    background-color: #e1e1e1; 
}

:root {
    --primaria: #15f974;
    --secundaria: #26e6a8;
    --escuro: #0a1d13;
    --maisEscuro: #030906;
    --claro: #e2e8f0;
    --vidro: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--escuro);
    color: var(--claro);
}

.cursor{
    pointer-events: none;
    position: fixed;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primaria);
    z-index: 99;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

/* Estilo da nav bar */

.navegacao {
    position: fixed;
    background: rgba(9, 25, 12, 0.885);
    width: 100%;
    z-index: 10;
    top: 0;
    padding: 1.5rem;
}

.menu{
    justify-content: center;
    display: flex;
    list-style: none;
    gap: 3rem;
}


.menu-link{
    text-decoration: none;
    color: var(--claro);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.menu a:hover {
    color: #fff;
}

.menu-link::after{
    content: '';
    height: 2px;
    width: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    transition: width 0.4s ease;
}

.menu-link:hover::after {
    width: 100%;
}

/* Estilo do main */

.cabecalho {
    margin-top: 60px;
    margin-bottom: 50px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.foto-perfil {
    width: 300px;
    height: 300px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(70, 229, 107, 0.3);
    border-radius: 50%;
    border: 4px solid var(--vidro);
}

.esquerda{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.direita {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    justify-content: center;
    height: 200px;
    margin: 0 30px;
}

.botoes-menores {
    display: flex;
    gap: 10px;
    font-size: 20px;
}

.direita a {
    display: block;
    align-items: center;
    text-align: center;
    padding: 10px 15px;
    height: 50px;
    background-color: var(--vidro);
    transition: all 0.3s ease-in-out;
    border-radius: 10px; 
}

.direita a:hover {
    box-shadow: 0 0px 20px rgba(39, 116, 58, 0.2);
    transform: translateY(-2px);
    color: #030906;
}

@keyframes gradiente {
    0%{
        background-position: 100% 0;
    }
    100%{
        background-position: -100% 0;
    }
}

h1 {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    font-size: 3.5rem;
    background-size: 200% 100%;
    background-image: linear-gradient(45deg, var(--escuro), var(--primaria));
    background-clip: text;
    color: transparent;
    font-weight: bold;
    margin: 10px;
    text-align: center;
    animation: gradiente 3s linear forwards;
    transition: all 0.3s ease;
}

h1:hover{
    transform: scale(1.05);
}

.cabecalho-sub-titulo {
    font-size: 1.5rem;
    color: var(--claro);
}

.habilidades {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.tag-habilidade {
    align-items: center;
    background-color: var(--vidro);
    color: var(--primaria);
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-habilidade:hover {
    color: #fff;
    transform: translateY(-5px);
    background: var(--maisEscuro);
}

/* section */

.sobre {
    padding: 6rem 2rem;
    margin-bottom: 40px;
}

.sobre-titulo {
    position: relative;
    font-size: 3rem;
    color: transparent;
    text-align: center;
    margin-bottom: 50px;
}

.sobre-container {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid var(--vidro);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.sobre-container:hover {
    transform: translateY(-10px);
    color: #fff;
    text-rendering: optimizeLegibility;
    box-shadow: 0 0px 20px rgba(39, 116, 58, 0.2);
}

.sobre-paragrafo {
    letter-spacing: 1.5px;
    font-size: 1rem;
    
}

.sobre-titulo a, .projetos-titulo a, .titulo-contato a {
    position: relative;
    pointer-events: none;
}

.sobre-titulo a::after, .projetos-titulo a::after, .titulo-contato a::after{
    content: '';
    height: 2px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
}


/* Estilo dos projetos */

.projetos {
    padding: 6rem 2rem;
    margin-bottom: 100px;
}

.projetos-card a{
    color: #15f974;
}

.projetos a:hover{
    text-decoration: underline;
    
}


.projetos-titulo {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.projetos-card:hover {
    box-shadow: 0 0px 20px rgba(39, 116, 58, 0.2);
    transform: translateY(-20px) scale(1);
}

.projetos-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--vidro);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.projetos-caixa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projetos-imagem {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.info-projetos {
    margin-bottom: 5px;
}

.caixa-textos-projeto {
    padding: 1.5rem;
}

.paragrafo-projetos {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.25rem;
}

/* Estilo do contato */

.contato {
    margin-bottom: 140px;
}

.titulo-contato {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.botoes-contato {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
}

.botao-contato {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 500;
    min-width: 160px;
    background-color: var(--vidro);
    transition: all 0.3s ease; 
}


.botao-contato:hover{
    box-shadow: 0 0px 20px rgba(39, 116, 58, 0.2);
    transform: translateY(-2px);
    color: #030906;
}

.whatsapp:hover {background-color: #25D366;}
.email:hover {background-color: #DB4437;}
.linkedin:hover {background-color: #0077B5;}
.curriculo:hover {background-color: #FFEB3B;}
.github:hover {background-color: #24292f;}

/* Estilo do footer */
footer {
    padding: 20px 5%;
    text-align: center;
    border-top: 1px solid #222;
}

@media screen and (max-width: 720px) {

    h1{
        font-size: 2rem;
    }

    .cursor{
        display: none;
    }

    .menu-link{
        font-size: 0.8em;
    }

    .cabecalho{
        margin-top: 80px;
    }

    img.foto-perfil{
       width: 210px;
       height: 210px;
    }

    .habilidades{
        flex-wrap: wrap;
        gap: 10px;

        .tag-habilidade{
            flex: 0 0 30%;
            text-align: center;
        }
    }

    .botoes-contato{
        flex-direction: column;
    }

    .botao-contato{
        min-width: 300px;
        justify-content: center;
    }

    .menu{
        gap: 1rem;
    }

    .menu li:not(:last-child) {
        border-right: 2px solid var(--primaria); 
        padding-right: 15px; 
    }
}
