html{
    scroll-behavior: smooth;
}

body {
    margin:0;
    background-color: black; 
    color: white;    
    text-align: center;     
}

header{
    background:#000;
    padding:20px;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:80%;
    margin:auto;
}

nav ul{
    display:flex;
    gap:30px;
    list-style:none;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

nav a:hover{
    color:#5ce1e6; /*Faz a cor ficar azul, quando o mouse passa por cima*/
}


.hero {
    position: relative;     
    height: 500px;    
    background: url('imagens/fundo_hero.jpg') center/cover no-repeat fixed; 
    display: flex;    
    align-items: center;     
    justify-content: center;     
    
}


.hero::before {
    content: '';    
    position: absolute;
    inset: 0; 
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1;    /* Fica atrás do conteúdo do hero, mas acima da imagem */
}

 
.hero-content {
    position: relative; 
    z-index: 2;     /* Mantém o conteúdo acima do overlay */
    padding: 20px;   
    border-radius: 10px;   
}

button{
    background:#5ce1e6e8;
    border:none;
    padding:12px 25px;
    border-radius:8px;
    font-weight:bold;
    cursor:pointer;
    margin-top:20px;
}

button:hover{
    transform:scale(1.05);
    transition:0.3s;
}

section {
    width: 80%;
    margin: auto;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 80px;/* Espaço entre as linhas se o wrap ativar */
}

section.projeto {
    display: flex;  
    flex-wrap:wrap;
    gap:20px;
    justify-content: space-around; 
    align-items: center;
    color: black;
}

div.proj-portfolio {
    width: 45%;
    color: white;
    padding: 15px;
    border-radius: 10px; /* Deixa as bordas arredondadas */
    
    box-shadow: 
        0 0 5px #5ce1e6,
        0 0 10px #5ce1e6,
        0 0 20px #5ce1e6,
        0 0 40px #5ce1e6;

    margin-bottom: 20px; /* Espaço entre as linhas se o wrap ativar */
}

div.proj-portfolio a{
    color: rgb(220, 201, 0);
}

div.proj-portfolio a:hover{
    color:#5ce1e6;
}

section.habilidades{
    width: 50%;
    background-color: #5ce1e6b3;
    box-shadow: 
        0 0 5px #5ce1e6,
        0 0 10px #5ce1e6,
        0 0 20px #5ce1e6,
        0 0 40px #5ce1e6;
}

.tech-list{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:20px;
}

.tech-list span{
    padding:10px 20px;
    border-radius:20px;
    box-shadow:
        0 0 5px #5ce1e6,
        0 0 10px #5ce1e6;
}

div.linha-neon{
    width: 80%;
    height: 3px;
    background:#5ce1e6;
    margin: 40px auto;

    box-shadow:
        0 0 5px #5ce1e6,
        0 0 10px #5ce1e6,
        0 0 20px #5ce1e6,
        0 0 40px #5ce1e6;
}

section.contato{
    width: 50%;
    padding-top: 5px;
    
    animation: neonGlow 1s infinite alternate;
}


@media (max-width:768px){

.proj-portfolio{
width:100%;
}

section{
width:90%;
}

}


/*Criando o efeito neon*/
@keyframes neonGlow{

    from{
        box-shadow:
        0 0 5px #5ce1e6,
        0 0 10px #5ce1e6,
        0 0 20px #5ce1e6;
    }

    to{
        box-shadow:
        0 0 10px #5ce1e6,
        0 0 40px #5ce1e6,
        0 0 60px #5ce1e6;
    }

}