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

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #007bff;
  --secondary-color: #f4f4f4;
  --text-color: #fff;
  --background-color: #0f172a;
  --color1: rgba(15, 23, 42, 0.8);
  --color2: rgba(0, 123, 255, 0.6);
  --color3: rgba(79, 70, 229, 0.9);
}

body {
  background-color: rgba(0, 1, 88, 0.8);
  color: var(--text-color);
  line-height: 1.6;
}

.navbar {
  position: fixed;
  top: 0;
  background: var(--color1);
  padding: 1.5rem;
  width: 100%;
  z-index: 100;
}

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

.menu-link {
 text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.menu-link::before {
  content: '';
  height: 2px;
  width: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--color2));
  transition: width 0.3s ease;
}

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

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

.foto-perfil {
  width: 350px;
  height: 350px;
  box-shadow: 0 0 20px var(--color3);
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  animation: alternate flutuar 5s ease-in-out infinite;
}

h1 {
  font-size: 3.5rem;
  color: var(--primary-color);
  font-weight: bold;
  margin: 20px 0;
}

.descricao-inicio {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 20px;
}

.sobre {
  padding: 6rem 2rem;
}

.sobre-titulo {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

.sobre-container {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  border: 2px solid var(--primary-color);
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.3);
}

.sobre-descricao {
  text-align: center;
  font-size: 1.2rem;
}

.projetos {
  padding: 6rem 2rem;
}

.projetos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.projeto-card {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 16px;
  border: 2px solid var(--primary-color);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.5s ease;
  cursor: pointer;
}

.titulo-projeto {
 margin-bottom: 5px;
}

.projeto-card:hover {
  box-shadow: 0 10px 20px var(--color3);
  transform: translateY(-10px) scale(1.05);
}

.projeto-imagem {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.caixa-texto-projeto {
  padding: 1.25rem;
}

.descricao-projeto {
  color: var(--text-color);
  line-height: 1.25rem;
}

.contato {
  padding: 6rem 2rem;
}

.contato-titulo {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
}

.form-contato {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border: 1px solid var(--primary-color);
  border-radius: 16px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.campo-form {
  width: 100%;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  color: var(--text-color);
  outline: none;
}

.campo-form:focus {
  border-color:var(--color3);
  box-shadow: 0 0 10px var(--color3);
}

.botao-form {
  color: var(--text-color);
  background: linear-gradient(45deg, var(--primary-color), var(--color3));
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  transition: all 0.5s ease;
}

.botao-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px var(--color3);
}

.particulas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
  background: 
  radial-gradient(circle at 10% 20%, var(--color2) 0%, transparent 20%),
  radial-gradient(circle at 90% 80%, var(--color3) 0%, transparent 20%),
  var(--background-color);
}

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