* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}


:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --glass: rgba(255, 255, 255, 0.1);
}


body {
    background-color: #0f172a;
    color: #e2e8f0;
}
nav {
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 1.5rem;
    background: rgba (15, 23, 42, 0.8);
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    position: relative;
}

.sobrenav,
.projetosnav,
.contatonav {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.5s ease;
}

nav ul li a:hover::after {
    width: 100%;
    transition: 0.2s;
}
.redes-sociais {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.redes-sociais a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s ease;
}

.redes-sociais i {
    font-size: 1.4rem;
}

.redes-sociais a:hover {
    color: #a5b4fc;
    transform: translateY(-3px);
}

.primeiraTela {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding-top: 150px;

}

.apresentacao img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px solid var(--glass);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.9);
    object-fit: cover;
}

.apresentacao img:hover {
    transition: 0.5s ease;
    box-shadow: 0 10px 20px 30px 40px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px) scale(1.05);
}

h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
}

.subtitulo {
    font-size: 1.5rem;
    color: #e2e8f0;
    text-shadow: 0 0 10px rgba(124, 58, 174, 0.5);
    gap: 20rem;
}


.sobre {
    padding: 6rem;
}

.sobreFotoCaixa {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.segundaFoto {
    width: 350px;
    height: 350px;
    margin-left: auto;
    display: flex;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--glass);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.9);
}

.segundaFoto:hover {
    transition: 0.5s ease;
    box-shadow: 0 10px 20px 30px 40px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px) scale(1.05);
}

.sobreTitulo {
    display: block;
    padding: 0;
    font-size: 3rem;
    text-align: center;
    justify-content: center;
    color: #e2e8f0;
}

.sobreTexto {
    display: flex;
    margin: 5rem;
    max-width: 600px;
    align-items: center;
    right: 90%;
    z-index: 1;
    font-size: 1.25rem;
    text-align: justify;
    letter-spacing: 0;
}

.projetos {
    padding: 6rem 2rem;
}

.projetos .projetosTitulo {
    margin-top: 5%;
    margin-bottom: 4rem;
    font-size: 2.2rem;
    text-align: center;
    color: #e2e8f0;
}

.projetos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    gap: 2.5rem;
    margin: 0 auto;
}

.projetos-card {
    border-radius: 18px;
    border: 1px solid var(--glass);
    background: var(--glass);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.15);
    overflow: hidden;
    min-height: 350px;
    transition: 0.4s ease;
}

.projetos-card:hover {
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.35);
    transform: translateY(-10px);
    border-color: rgba(226, 232, 240, 0.3);
}

.proj1 {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
}

.projetos-card h3 {
    text-align: center;
    font-size: 1.4rem;
    color: #e2e8f0;
    margin: 1.5rem 1rem 0.8rem;
}

.projetos-card p {
    text-align: left;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 1.5rem 1.5rem;
}


.contato {
    padding: 6rem;
    font-size: 2rem;
    color:#e2e8f0;
    text-align: center;
    margin: 4px;
 
}
.contato h2 {
    font-size: 2.5rem;
    color:#e2e8f0;
    text-align: center;
    margin-bottom: 30px;
}

#formulario {
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 290px;
    margin: 0;
    padding: 50px 50px;
    padding-bottom: 50%;
    gap: 3rem;
    border: 1px solid var(--glass);
    border-radius: 16px;    
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.9);
    background: var(--glass);
    color:#e2e8f0;
}

.nomeInput #nome {
    width: 100%;
    height: 35px;
    border: 1px solid var(--glass);
    border-radius: 8px;
    background: var(--glass);
    color: #e2e8f0;
    padding: 10px;
    
}    
input::placeholder {
    color: #e2e8f0;
    opacity: 0.7;
    
}

.emailInput #email {
    width: 100%;
    height: 35px;
    border: 1px solid var(--glass);
    border-radius: 8px;
    background: var(--glass);
    color: #e2e8f0;
    padding: 10px;
    gap: 3rem;
    margin: 10px 0;
}    
input::placeholder {
    color: #e2e8f0;
    opacity: 0.7;
    
}

.mensagemInput #mensagem {
    width: 100%;
    height: 50px;
    border: 1px solid var(--glass);
    border-radius: 8px;
    background: var(--glass);
    color: #e2e8f0;
    padding: 10px;
    margin: 10px 0;
}    
input::placeholder {
    color: #e2e8f0;
    opacity: 0.7;
    
}
    
button {
    width: 50%;
    border: 1px solid var(--glass);
    border-radius: 8px;
    background: var(--glass);
    color: #e2e8f0;
    font-size: 16px;
    cursor: pointer;
    transition: 0.9s ease;
}

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    font-size: 20px;
} 