* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f2f2;
  color: #333;
  line-height: 1.6;
}
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  background-color: #333;
  padding: 12px 0;
  z-index: 1000;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  padding: 6px 10px;
  transition: background-color 0.3s, color 0.3s;
}
nav a:hover {
  background-color: #00eaff;
  color: black;
  border-radius: 4px;
}
#hero {
  height: 100vh;
  background: url(images/hero.jpg) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}
.hero-overlay {
  background: rgba(0,0,0,0.6);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  color: white;
}
.hero-overlay h1 {
  font-size: 48px;
  margin-bottom: 15px;
}
.hero-overlay p {
  font-size: 20px;
}
.botao {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #00eaff;
  color: black;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.botao:hover {
  background: #009fbf;
  color: white;
}
#projetos {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}
#projetos h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #004d5a;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.card {
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  width: 200px;
}
.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #1f2937;
}
.card a {
  display: inline-block;
  padding: 8px 14px;
  background: #00eaff;
  color: black;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}
.card a:hover {
  background: #009fbf;
  color: white;
}
#disciplina {
  padding: 60px 20px;
  background: #f2f2f2;
}
#disciplina h2 {
  font-size: 28px;
  margin-bottom: 25px;
  text-align: center;
  color: #004d5a;
}
.disciplina-conteudo {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}
.disciplina-conteudo .texto {
  flex: 1 1 300px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}
.disciplina-conteudo .wordcloud {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 300px;
}
.disciplina-conteudo .wordcloud img {
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #ddd;
}
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }
  .hero-overlay h1 {
    font-size: 32px;
  }
  .hero-overlay p {
    font-size: 18px;
  }
  .disciplina-conteudo {
    flex-direction: column;
    text-align: center;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
}