body { 
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #1c1c1c;
  color: #eee;
}

a {
  color: #00aaff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

header {
  text-align: center;
  padding: 30px 20px;
  background: #333;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #00aaff;
}


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

nav a {
  font-weight: bold;
}

section {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: #2c2c2c;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.certificados-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.certificado {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 180px;
  text-decoration: none;
}

.certificado img {
  width: 100px;
  height: auto;
  margin-bottom: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.certificado img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.certificado p {
  font-size: 14px;
  font-weight: bold;
  color: #fff; /* ajusta se seu fundo for claro */
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.skill img {
  width: 80px;
  height: 80px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.skill img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.skill p {
  margin-top: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #fff; /* troca para preto se o fundo for claro */
}



/* Seção de Projetos */
#projetos .projeto-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#projetos .projeto {
  background-color: #3c3c3c;
  border-radius: 10px;
  width: 300px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

#projetos .projeto h3 {
  margin-top: 0;
}

#projetos .projeto p {
  font-size: 0.9em;
  margin-bottom: 10px;
}

#projetos .botao-projeto {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #00aaff;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

#projetos .botao-projeto:hover {
  background-color: #005fa3;
}

#projetos .projeto:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #3c3c3c;
  border-radius: 10px;
  width: 300px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card img {
  width: 100%;
  border-radius: 5px;
}

.card h3 {
  margin-top: 10px;
}

.card p {
  font-size: 0.9em;
  margin-bottom: 10px;
}

.card a {
  display: inline-block;
  margin-top: 5px;
  color: #00aaff;
  font-weight: bold;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

footer {
  text-align: center;
  padding: 20px;
  background: #333;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .cards-container, #projetos .projeto-container {
    flex-direction: column;
    align-items: center;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}
