
:root{
    --bg-main: #0a0a0f;
    --bg-secondary: #111122;

    --primary: rgb(124, 58, 237);
    --primary-light: #a78bfa;

    --accent: rgb(37, 99, 235);

    --text-main: #ffffff;
    --text-secondary: #b3b3cc;
}
::selection {
  background-color: #a007ff; /* Cor de fundo da seleção */
  color: #ffffff;             /* Cor do texto selecionado */
}

/* Para navegadores Firefox (precisa do prefixo -moz-) */
::-moz-selection {
  background-color: #a007ff;
  color: #ffffff;
}
ul{
    list-style-type: none;
} 
.title{
    font-size: 2rem;
}
.navbar {
    left: 2rem;
    right: 2rem;
    position: fixed;
    height: 80px;
    z-index: 8;
    background: rgba(2, 1, 4, 0.304);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(29, 29, 29, 0.792);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all ease-out 300ms;
    padding: 1rem;
}
.navbar.active{
    left: 0rem;
    height: 100px;
    right: 0rem;
    position: fixed;
    z-index: 8;
    background: rgba(2, 1, 4, 0.304);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(29, 29, 29, 0.792);
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all ease-out 300ms;
    padding: 1rem;
}
@keyframes gradientMove{

    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}

}
body{
    margin: 0%;
    background: linear-gradient(135deg,#0a0a0f,#0f0f1a,#111133);
    color: var(--text-main);
    background-size: 400% 400%;
    overflow-x: hidden;
    background-size: 400% 400%;
    font-family: "Inconsolata" ,monospace;
    position: relative;
    z-index: 1;
    cursor: none;
}
.projects-links{
    text-decoration: none;
    color: white;
    font-size: 12px;
}
#avatar-img{
    border-radius: 100%;
    border: 3px solid #7c3aed;
    width: 256px;
}

.cursor{
    width: 200px;
    height: 200px;

    border-radius: 50%;

    background: rgba(124,58,237,0.6);

    position: fixed;

    pointer-events: none;

    filter: blur(60px);

    transform: translate(-50%, -50%);
}
.cursor-icon{
    background: transparent;
    border-radius: 100%;
    border: 1px solid #7c3aed;
    width: 30px;
    position: fixed;
    pointer-events: none;
    height: 30px;
    transform: translate(-50%, -50%);   
    z-index: 20;
}
#particles-js{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    z-index: -1;
}

.navtitle{
    display: flex;
    align-items: center;
    gap:4rem;
    opacity: 0;
    font-size: 1rem;
    animation: fade-in 3s ease forwards;
    
}
.nav-links {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    
    animation: fade-in 3s ease forwards;
}
.nav-links a{
    text-decoration: none;
    position: relative;
    color: #333;
}
.nav-links a:hover{
    color: var(--primary-light);
    
}
.nav-links a::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px; 
    bottom: 0;
    left: 0;
    background-color: #ffffff; 
    transform: scaleX(0); 
    transition: transform 0.3s ease-in-out; 
}
.gama-dev{
    color:rgb(53, 19, 189)
}
.backend{
    color:#a78bfa
}
.sobre-mim-title{
    padding: 40px;
    text-decoration: none;
}
.nav-links a:hover::after{
    transform: scaleX(1); /* Linha aparece */
}

.nav-links a{
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s;
}
html{
    scroll-behavior: smooth;
}
.hero{
    background: none;
    color: white;
    opacity: 0;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: all 4s ease;
}
.hero.show{
    opacity: 1;
}
.ver-projetos{
    background: linear-gradient(135deg,var(--primary),var(--accent));
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: wheat;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.ver-projetos:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(124, 58, 237,0.4);
}
.projetos-carrossel{
    position: relative;
    display: flex;
    opacity: 0;
    padding: 10px;
    overflow: hidden;
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: all 0.4s ease;
}

.carousel-btn{
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(10,10,15,0.75);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: grid;
    place-items: center;
}

.carousel-btn:hover{
    transform: scale(1.06);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.carousel-btn:disabled{
    opacity: 0.4;
    cursor: not-allowed;
}


.glide__slide {
    display: flex;
    justify-content: center;
    transition: 0.3s ease;
    opacity: 0.5;
    transform: scale(0.9);
    
}
.glide__slide--active {
    opacity: 1;
    transform: scale(1);
}
.glide {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.glide__track {
    overflow: visible;
    padding: 60px 0;
}

.glide__slides {
    display: flex;
    align-items: center;
    overflow: visible;
    min-height: 400px;    
}

.glide__slide {
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.4;
    transform: scale(0.85);
}

.glide__slide--active {
    opacity: 1;
    transform: scale(1);
}

.card.active {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(124,58,237,0.55);
}
.projetos-carrossel.show{
    opacity: 1;
}
.card{
    color: white;
    display: flex;
    flex-direction: column; 
    align-items:center;
    justify-content: center;       
    background: rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius:12px;
    backdrop-filter: blur(8px);
    transition: 0.3s;
    min-width: 500px;
    min-height: 350px;
    max-height: 350px;
    overflow-x: auto;
}
.card:hover{
    transform: translateY(-20px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(124, 58, 237,0.4);
}
.projetos{
    display: flex;
    flex-direction: column;
    text-align: center;
}
.tecnologias{
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2 colunas */
    align-items: center;
    justify-content: center;
    margin:0px;
    padding: 0px;
    gap: 2rem;
    width: 100%;
    
}
.tecnologias-cards{
    display: flex;
    flex-direction: column;
    width: 30vw;
    min-height: 200px;
    background: rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 1s ease;
    align-items: center;
    justify-content: center;
}
.tecnologias-cards:hover{
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(124, 58, 237,0.4);
    transform: translateY(-10px);
}

.projetos-title{
    opacity: 0;
    text-decoration: none;
}
.formacoes-title{
    text-align: center;
    text-decoration: none;
}
.linguagem-tags{
    display: flex;
    flex-direction: row;
    gap: 8px;
}
.tags{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items:center;
}
.linguagem-tag{
    display: flex;
    align-items:center;
    justify-content: center;
    background-color:#2331f458;
    border-radius: 20px;
    padding: 5px;
    border: 1px solid rgba(0, 162, 255, 0.703);
    width: 130px;
    height: 30px;
}
.tecnologias-title{
    padding: 20px;
    text-decoration: none;
}
.projetos-title.show{
    opacity: 1;
}
.tecnologias-container{
    align-items: center;
    text-align: center;
    justify-content: center;
    flex:1;
    opacity: 0;
    transition: all 5s ease;

}
.tecnologias-container.show{
    opacity: 1;
    
}
.tecnologias p{
    max-width: 50ch
}
h1,h2,h3{
    margin:0px;
    padding: 0px;
    font-size: 5ch;
}
p{
    font-size: 2.5ch;
}
a{
    font-size: 2.5ch;
}
section{
    padding:15rem 2rem;
    
}
.inicio-container{
    background: rgba(43, 43, 43, 0.098);
    border:1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    padding: 4rem;
    min-height: 20vh;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: all 0.7s ;
    
}
.inicio-container:hover{
    transform: translateY(-20px);
    box-shadow: 0 10px 25px rgba(124, 58, 237,0.4);
}
.inicio-title{
    text-align: center;
    align-items: center;
    justify-content: center;
}
.inicio{
    opacity: 0;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    animation: fade-in 3s ease-in forwards;
}
.contato-links{
    background-color: #0a0a0f;
    display: flex;
    padding: 0;
    justify-content: space-between;
    flex-direction: row;
}
.sobre-mim{
    opacity: 0;
    gap:2rem;
    display: flex;
    transition: all 3s ease;
   
}
.sobre-mim-container h2{
    font-size: 2rem;
}
.scroll-spy{

position: fixed;

left: 30px;
top: 50%;

transform: translateY(-50%);

display: flex;
flex-direction: column;

gap: 15px;

z-index: 1000;

}

.spy-dot{

width: 12px;
height: 12px;

border-radius: 50%;

background: rgba(255,255,255,0.3);

transition: 0.3s;

}

.spy-dot.active{

    background: #7c3aed;

    transform: scale(1.4);

    box-shadow: 0 0 10px #7c3aed;

}

.sobre-mim-container{
    display: flex;
    height: 300px;
    width: 90%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: rgba(49, 49, 49, 0.075);
    backdrop-filter: blur(5px);
    border:1px solid rgb(105, 105, 105);
    border-radius: 12px;
    transition: all 1s;
}
.tag{
    display: flex;
    border-radius: 20px;
    border: 1px solid #14ff08;
    margin: 10px;
    background-color: rgba(7, 240, 7, 0.087);
    width: 100px;
    height: 30px;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.sobre-mim-container:hover {
    transform: translateY(-20px);
}   
.sobre-mim.show{
    opacity: 1;
}
.formacoes-container{
    position: relative;
    width: 80%;
    margin: auto;
}
.timeline-card{
    width: 100%;
    position: relative;
    margin: 40px 0;
    right: 1rem;
    
}
.bola-pulsante{
    width: 5px;
    height: 5px;
    background:#14ff08ab;
    border-radius:100%;
}
.amarelo{
    background: #ffff00;
}

.card-button{
    border-radius: 20px;
    background-color:transparent;
    height: 6vh;
    border: 1px solid #dadadacc;
    color: white;
    transition: all ease-in-out 300ms;
}
.card-button:hover{
    transform: scale(1.15);
    cursor:pointer;
    border: 3px solid #6a17ef8e;
    background-color: #5b53ec96;
}
.formacoes-container::after{
    content: "";
    position: absolute;
    width: 1px;
    background: rgba(204, 204, 204, 0.549);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.card-formacoes{
    width: 40%;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
    
}
.tag-andamento{
    display: flex;  
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background-color: rgba(243, 243, 7, 0.269);
    border: 1px solid rgb(255, 251, 0);
    padding: 5px;
    width: 130px;
    height: 25px;
    gap: 5px;
}
.tag-concluido{
    display: flex;  
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background-color: rgba(54, 243, 7, 0.269);
    border: 1px solid rgb(13, 255, 0);
    padding: 5px;
    width: 100px;
    height: 25px;
    gap: 5px;
}
.link-projetos{
    color:white;
    text-decoration: none;
    font-size: 14px;
}
.card-formacoes:hover{
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(124, 58, 237,0.4);
}

.left .card-formacoes{
    margin-left: 0;
}
.right .card-formacoes{
    margin-left: auto;
}
.right .card-formacoes:hover{
   transform: translateY(-10px);
}
.left .card-formacoes:hover{
   transform: translateY(-10px);
}
.card-formacoes.show {
    opacity: 1;
    transform: translateY(0);
}
.contatos a{
    font-size: 2rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: 0.3s;
}

.contatos a:hover{
    color: var(--primary);
    transform: scale(1.2);
}
.contatos{
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: column;
    gap:2rem;
    align-items: center;
    justify-content: center;
    background: none;
    z-index: 1000; 
}
.contatos-section{
    display: flex;
    flex-direction: row;
    background: #0a0a0f;
    margin: 0%;
    padding: 60px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}
.contato-links a{
    color: white;
}
.contato-links{
    display: flex;
    flex-direction: row;
    color: white;
    gap: 20rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    background: none;
    align-items: center;
    justify-content: center;
}
@keyframes fade-in{ 
    to{
        opacity: 1;
    }
}
@media (max-width: 1200px){
    .navbar{
        align-items: center;
        justify-content: center;
        height: auto;
        gap: 1rem;
        left: 2rem;
        right: 2rem;
        font-size: 10px;
        
    }
    .navbar.active{
        align-items: center;
        justify-content: center;
        height: 200px;
        gap: 1rem;
        left: 0rem;
        right: 0rem;
        font-size: 10px;
        
    }    
    .left .card-formacoes{
    margin-left: 0;
    }
    .right .card-formacoes{
        margin-left: 0;
    }
    .formacoes{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }
    h1{
        font-size: 28px;
    }
    h2{
        font-size: 24px;
    }
    h3{
        font-size: 20px;
    }
    p{
        font-size: 18px;
    }
    .card-formacoes{
        width: 100%;
        padding: 20px;
        margin: 0;
        left: 2rem;
        right: 2rem;
        background: rgba(255,255,255,0.04);
        border:1px solid rgba(255,255,255,0.05);
        backdrop-filter: blur(8px);
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.6s ease;
        
    }
    .glide__arrows{
        display: none !important;
    }
    .formacoes-container::after{
        content: "";
        position: absolute;
        width: 0px;
        background: none;
        top: 0;
        bottom: 0;
        left: 0%;
        transform: translateX(-50%);
    }
    .contato-links{
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        justify-content: center;
        gap:20px;

    }
    .tecnologias-cards{
        width: auto;
    }
    .nav-links{
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 1rem;
        flex-wrap: wrap;
    }
    body{
        overflow-x: hidden;
    }
    html{
        overflow-x: hidden;    
    }
    .tecnologias{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }
    .card{
        color: white;
        background: rgba(255,255,255,0.03);
        border:1px solid rgba(255,255,255,0.05);
        border-radius:12px;
        backdrop-filter: blur(8px);
        transition: 0.3s;
        min-width: 250px;
        max-width: 320px;
        height: 350px;
        flex-shrink: 0;
        margin: 2px;
        
    
    }
    .card h3{
        font-size: 2rem;
    }
    .card p{
        font-size: 1rem;
    }
    .sobre-mim{
        display: flex;
        flex-direction: column;
    }
    .sobre-mim-container{
        height: 250px;
        width: 350px;
        
    }
    .sobre-mim-container p {
        font-size: 16px;
        
    }
    .nav-links a{
        font-size: 2.5ch;
    }
    .projetos-carrossel{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 10px;
        opacity: 0;
        padding: 10px;
        overflow: hidden;
        scroll-behavior: smooth;
        transition: all 0.3s ease;
    }

    .card-wrapper{
        scroll-snap-align: center;
        flex: 0 0 90%;
        max-width: 90%;
    }


    .projetos{
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .carousel-btn {
        display: none !important;
    }
}


