/* RESET */

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

body{
background:#050005;
color:white;
}

/* NAVBAR */

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
position:sticky;
top:0;
z-index:10;
}

nav h2{
color:#e44c8c;
}

nav ul{
display:flex;
list-style:none;
gap:25px;
}

nav a{
text-decoration:none;
color:#444;
font-weight:bold;
}

nav.scrolled{
box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

/* HERO */

.hero{
min-height:100vh;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
padding:120px 20px 60px;
position:relative;

background:
radial-gradient(circle at top,#2b001b,#000),
linear-gradient(to bottom, transparent, #050005);
}

/* fundo partículas */

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background-image:url("https://www.transparenttextures.com/patterns/stardust.png");
opacity:0.25;
z-index:-1;
}

/* FOTO */

.foto-container{
position:relative;
width:200px;
height:200px;
display:flex;
align-items:center;
justify-content:center;
margin:0 auto 25px auto;
}

.foto{
width:180px;
height:180px;
border-radius:50%;
object-fit:cover;

border:4px solid transparent;

background:linear-gradient(#000,#000) padding-box,
linear-gradient(45deg,#ff2d95,#ff79c6,#ff2d95) border-box;

box-shadow:
0 0 20px #ff2d95,
0 0 40px #ff2d95;

animation:flutuar 4s ease-in-out infinite;
z-index:2;
}

/* ORBITA */

.orbita{
position:absolute;
width:230px;
height:230px;
border-radius:50%;
border:1px solid rgba(255,255,255,0.1);
animation:girar 8s linear infinite;
}

.bolinha{
position:absolute;
top:-6px;
left:50%;
width:12px;
height:12px;
background:#ff2d95;
border-radius:50%;
box-shadow:0 0 10px #ff2d95,0 0 20px #ff2d95;
}

/* TEXTO */

.cargo{
letter-spacing:4px;
font-size:13px;
color:#ff79c6;
margin-bottom:10px;
}

.hero h1{
font-size:3rem;
margin:10px 0;
background:linear-gradient(90deg,#ff2d95,#ff79c6,#ffc0e0);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.descricao{
max-width:500px;
margin:0 auto 30px auto;
text-align:center;
color:#ccc;
line-height:1.6;
}

/* BOTÕES */

.botoes{
display:flex;
gap:20px;
flex-wrap:wrap;
justify-content:center;
}

.botao-rosa{
padding:14px 30px;
border-radius:40px;
background:linear-gradient(45deg,#ff2d95,#ff79c6);
color:white;
font-weight:bold;
text-decoration:none;
transition:0.3s;
}

.botao-rosa:hover{
transform:scale(1.1);
box-shadow:0 0 20px #ff2d95;
}

.botao-outline{
padding:14px 30px;
border-radius:40px;
border:2px solid #ff79c6;
color:#ff79c6;
text-decoration:none;
font-weight:bold;
transition:0.3s;
}

.botao-outline:hover{
background:#ff2d95;
color:white;
}

/* BOTÃO NEON */

.botao-neon{
padding:14px 32px;
border-radius:40px;
border:none;
background:#ff2d95;
color:white;
font-weight:bold;
text-decoration:none;
position:relative;
overflow:hidden;
transition:0.3s;
}

.botao-neon::before{
content:"";
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:linear-gradient(
90deg,
transparent,
rgba(255,255,255,0.6),
transparent
);
animation:brilho 3s infinite;
}

.botao-neon:hover{
box-shadow:
0 0 10px #ff2d95,
0 0 20px #ff2d95,
0 0 40px #ff2d95;
transform:scale(1.08);
}

/* PROJETOS */

/* SEÇÃO PROJETOS */

#projetos{
max-width:1200px;
margin:auto;
padding:60px 20px;
}

#projetos h2{
text-align:center;
margin-bottom:40px;
color:#ff79c6;
}

/* GRID */

.projects{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

/* CARD */

.project{
background:#120012;
border-radius:20px;
padding:20px;
display:flex;
flex-direction:column;
justify-content:space-between;
transition:0.3s;
}

/* HOVER */

.project:hover{
transform:translateY(-10px) scale(1.03);
box-shadow:0 20px 40px rgba(255,45,149,0.4);
}

/* IMAGEM */

.project-img{
width:100%;
height:180px;
object-fit:cover;
border-radius:12px;
margin-bottom:15px;
}

/* TITULO */

.project h3{
margin-bottom:8px;
font-size:18px;
}

/* DESCRIÇÃO */

.project p{
font-size:14px;
color:#ccc;
margin-bottom:15px;
line-height:1.4;
}

/* BOTÕES */

.buttons{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.btn{
background:#ff2d95;
color:white;
padding:14px 24px;
border-radius:10px;
font-size:16px;
font-weight:bold;
transition:0.3s;
}

.btn:hover{
background:#ff79c6;
transform:scale(1.05);
}

/* SKILLS */

/* SKILLS */

#skills{
max-width:1000px;
margin:auto;
padding:60px 20px;
text-align:center;
}

#skills h2{
margin-bottom:30px;
color:#ff79c6;
}

.skills{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:15px;
}

.skill{
background:#ff2d95;
color:white;
padding:10px 18px;
border-radius:25px;
font-size:14px;
font-weight:bold;
transition:0.3s;
}

.skill:hover{
transform:scale(1.08);
box-shadow:0 0 10px #ff2d95;
}

/* CONTATO */

/* CONTATO */

#contato{
max-width:1000px;
margin:auto;
padding:60px 20px;
text-align:center;
}

#contato h2{
margin-bottom:30px;
color:#ff79c6;
}

.contact-buttons{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:20px;
}

.contact-btn{
background:#ff2d95;
color:white;
padding:12px 20px;
border-radius:10px;
text-decoration:none;
display:flex;
align-items:center;
gap:8px;
font-weight:bold;
transition:0.3s;
}

.contact-btn:hover{
transform:scale(1.08);
box-shadow:0 0 15px #ff2d95;
}
/* FOOTER */

footer{
text-align:center;
padding:25px;
background:#111;
margin-top:40px;
}

/* ANIMAÇÕES */

@keyframes flutuar{
0%{transform:translateY(0)}
50%{transform:translateY(-10px)}
100%{transform:translateY(0)}
}

@keyframes girar{
from{transform:rotate(0deg)}
to{transform:rotate(360deg)}
}

@keyframes brilho{
0%{left:-100%}
100%{left:100%}
}





.codigo-bg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
overflow:hidden;
pointer-events:none;
z-index:0;
}

.codigo-bg span{
position:absolute;
color:#ff79c6;
font-family:monospace;
font-size:14px;
opacity:0.6;

animation:codigo-cair linear infinite;
}

@keyframes codigo-cair{

0%{
transform:translateY(-100px);
opacity:0;
}

10%{
opacity:0.7;
}

100%{
transform:translateY(110vh);
opacity:0;
}

}

.codigo-bg span:nth-child(1){
left:10%;
animation-duration:8s;
}

.codigo-bg span:nth-child(2){
left:30%;
animation-duration:10s;
}

.codigo-bg span:nth-child(3){
left:55%;
animation-duration:7s;
}

.codigo-bg span:nth-child(4){
left:75%;
animation-duration:9s;
}

.codigo-bg span:nth-child(5){
left:90%;
animation-duration:11s;
}

html{
scroll-behavior:smooth;
}

.reveal{
opacity:0;
transform:translateY(60px);
transition:all 0.8s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

#projetos{
margin-top:80px;
}