/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fef6f0;
  color: #000;
}

/* Navbar fixa */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: #fff1e6;
  border-bottom: 2px solid #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  z-index: 1000;
}

.navbar .logo img {
  width: 65px;
  height: 70px;
}

.navbar .cat img {
  width: 65px;
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 60px;
}

.nav-links li a {
  text-decoration: none;
  font-weight: bold;
  font-size: 24px;
  color: #000;
}

.nav-links li a:hover {
  color: #ff0000;
}

/* Container principal */
.container {
  margin-top: 160px; /* espaço por causa da navbar fixa */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  gap: 60px;
}

/* Texto */
.texto h1 {
  font-size: 90px;
  font-weight: bold;
  line-height: 1.2;
  text-align: left;
}

/* Foto circular */
.foto {
  background: #ff6f61;
  border-radius: 50%;
  width: 420px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.foto img {
  width: 330px;
  height: auto;
}

/* Pokémon fixos nos cantos */
.pokemon {
  position: fixed;
  width: 110px;
  height: auto;
  z-index: 900;
}

.togepi {
  bottom: 35px;
  left: 35px;
}

.umbreon {
  bottom: 25px;
  right: 25px;
}

/* --- Seção Projetos --- */
.projetos {
  margin-top: 160px; /* espaço por causa da navbar fixa */
  padding: 40px 80px;
}

.projetos h1 {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 50px;
}

/* Cards base */
.card {
  border-radius: 12px;
  padding: 20px;
  width: 320px;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
  color: #000;
}

/* Container dos cards centralizado */
.cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center; /* centraliza os cards */
  margin-top: 40px;
}

.card:hover {
  transform: scale(1.05);
}

/* Cores diferentes */
.card1 {
  background: #89cefa; /* azul claro */ 
}

.card2 {
  background: #fc7280; /* Rosa */
}

.card3 {
  background: #98fb98; /* Verde claro */
}

/* Caixa de imagem */
.img-box {
  border-radius: 8px;
  margin-bottom: 15px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-box img {
  max-height: 100%;
  max-width: 100%;
  border-radius: 8px;
}

/* Texto do card */
.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  margin-bottom: 15px;
}

.card ul {
  margin-bottom: 15px;
}

.card ul li {
  font-size: 14px;
  margin: 5px 0;
}

/* Link no canto inferior esquerdo */
.card a {
  align-self: flex-start;
  padding: 8px 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.2s;
}

.card a:hover {
  background: #002788;
  color: #000;
}

/* --- Seção Sobre Mim --- */
.sobre-mim {
  width: 70%;
  max-width: 900px;
  background-color: #ff9999; /* vermelho claro */
  margin: 60px auto;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #000;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.2); /* sombra suave */
}

.formulario-contato {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza horizontalmente */
  justify-content: center; /* Centraliza verticalmente (se a altura permitir) */
  text-align: center;
  padding: 40px 20px;
  margin-top: 50px;
}

.formulario-contato h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px; /* Limita a largura */
  gap: 15px;
}

.form input,
.form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.form button {
  padding: 12px;
  background-color: #5f27cd;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form button:hover {
  background-color: #341f97;
}



