@font-face {
    font-family: 'Gazzetta Slanted';
    src: url('./fonts/gazzetta-slanted.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gazzetta Slanted', sans-serif;
}

html {
    scroll-behavior: smooth;

}

:root {
    --primaria: #4f46e5;
    --secundaria: #7c3aed;
    --escuro: #0f172a;
    --maisescuro: #0a0f1c;
    --claro: #e2e8f0;
    --vidro: rgba(255, 255, 255, 0.1);

}

body {
    background-color: var(--escuro);
    color: var(--claro);
    font-size: 1.1rem;
}

.navegacao {
    position: fixed;
    top: 0;
    background: rgba(15, 23, 42, 0.8);
    width: 100%;
    z-index: 100;
    padding: 2.5rem; 
    font-size: 2rem; 
}


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


.menu-link{
    text-decoration: none;
    color: var(--claro);
    font-weight: 700; 
    font-size: 1.5rem; 
    position: relative;
    padding: 0.75rem 0; 
}

.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.5s ease


}

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

.cabecalho{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.foto-perfil{
    width:200px;
    height: 200px;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    border:4px solid var(--vidro);
    animation: flutuar 5s ease-in-out infinite;

}

h1 {
    font-size: 5rem; 
    color: #3EB489;
    font-weight: bold;
    margin: 20px;
}

.cabecalho-subtitulo{
    font-size: 2rem; 
    color: var(--claro);
}

.sobre{
    padding: 6rem 2rem;

}

.sobre-titulo{
    font-size:6rem;
    color:#3EB489;
    text-align: center;
    margin-bottom: 20px;


}

.sobre-caixa{
    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);

}

.sobre-paragrafo{
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 3rem;

}

.projetos{
    padding: 6rem 2rem;

}

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


}

.projetos-titulo{

    text-align: center;
    font-size:  6rem;
    margin-bottom: 50px;
    color: #3EB489;
}

.projetos-card:hover{
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transform: scale(1.02);
    transition: transform 0.3s 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-card{
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--vidro);
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit; 
}


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

}

.info-projetos{
    margin-bottom: 5px;
    color: orangered;
    font-size: 3rem;


}

.paragrafo-projetos{
    color: var(--secundaria);
    line-height: 2.10rem;
    font-size: 2rem;
}

.contatos{
    padding: 6rem 2rem;


}

.contato-titulo{
    text-align: center;
    font-size:  6rem;
    margin-bottom: 50px;
    color: #3EB489;

}

.formulario-contato{
    max-width:600px; 
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid var(--vidro);
    border-radius: 16px;
    
}


.campo-form{
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--claro);
    border: 1px solid var(--vidro);
    outline: none;
    font-size: 3rem;


}

.campo-form:focus{
    border-color: orangered;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.3) ;
}

.grupo-form{
    margin-bottom: 1.5rem;

}

.botao-form{
    color: orangered;
    background: #3EB489;
    padding: 1.5rem 3rem;  
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.5s ease;
    font-size: 3.5rem;  
}


.botao-form:hover{
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);

}


.particulas {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%; 
    z-index: -1;
    opacity: 0.5;
    
}


#video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: none;
    background: none;
    animation: fadeVideo 2s ease-in-out forwards;
}

 

@keyframes flutuar {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
        
    }
    
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeVideo {
    0% {
        opacity: 0;
        transform: scale(1.05); 
    }
    100% {
        opacity: 1;
        transform: scale(1); 
    }
}

a, button {
    transition: all 0.3s ease;
}

a:hover, button:hover {
    transform: scale(1.05);
    opacity: 0.8;
}


