/* Centralização reutilizável */
.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Reset e configurações globais */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #eef2f3;
  color: #333;
  line-height: 1.6;
}

/* Cabeçalho */
header {
  background: #2b3a67;
  color: white;
  padding: 20px 0;
  text-align: center; /* Centraliza o título do projeto */
}

header h1 {
  font-size: 36px;
  margin: 0;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 10px 0 0;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
}

header nav ul li a:hover {
  color: #a5c9f1;
}

/* Seções */
h2 {
  font-size: 28px;
  color: #2b3a67;
  text-align: center; /* Centraliza todos os títulos */
  margin-bottom: 20px;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Projetos */
.project-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.project {
  flex: 1 1 calc(33% - 20px);
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Redes sociais */
.social-links img {
  width: 40px;
  height: 40px;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.2);
}

/* Rodapé */
footer {
  background: #2b3a67;
  color: white;
  text-align: center;
  padding: 10px 0;
}
