/* Fonte personalizada */
@import url('https://fonts.googleapis.com/css2?family=Fredoka&display=swap');

/* Reset básico */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo do site */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #333;
}

/* Menu */
.menu-container {
  background-color: #f0f0f0;
  padding: 10px;
  position: relative;
}

.menu {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0;
  padding: 15px 0;
  background-color: #f0f0f0;
}

.menu-btn {
  padding: 10px 20px;
  background-color: #fd7d06;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-weight: bold;
}

.menu-btn:hover {
  background-color: #f7d09d;
}

.menu-toggle {
  display: none;
  background-color: #fd7d06;
  border: none;
  color: white;
  font-size: 1.5em;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* Cabeçalho com logo e título */
.topo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
  flex-wrap: wrap;
  text-align: center;
}

.topo img {
  width: 10%;
  max-width: 100px;
}

.topo h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2em;
  color: #333;
}

/* Conteúdo principal */
main section {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
  font-size: 1.1em;
  text-align: justify;
  line-height: 1.6;
}

/* Professor destaque */
.professor {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  text-align: center;
  flex-direction: column;
}

.professor img {
  width: 40%;
  max-width: 200px;
}

.professor h3 {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fd7d06;
}

/* Rodapé */
footer {
  margin-top: 40px;
  padding: 20px;
  background-color: #f0f0f0;
  text-align: center;
}

/* Responsivo */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: center;
    display: none;
    background-color: #fff;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 200px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }

  .menu.active,
  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    margin: 10px 0 10px 0;
  }

  .topo {
    flex-direction: column;
  }

  .professor img {
    width: 60%;
  }
}

@media (max-width: 600px) {
  img {
    width: 20% !important;
  }

  main section {
    padding: 0 15px;
    font-size: 1em;
  }
}
