* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
}

body {
    background-color: white;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  font-size: 2em;
  padding: 20px;
  background-color: #592175;
  border-bottom: 1px solid #ccc;
  color: white;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container a img {
  width: 200px;
  height: auto;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 0.7em; /* Ajuste proporcional ao tamanho do h1 */
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 30px;
}

/* título da área educativa */
#titulo{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.5em;
    gap: 30px;
    margin-bottom: 30px;
}

#titulo h2{
    background-color: #592175;
    color: white;
    padding: 16px;
    border: 8px solid #25A85A;
    border-radius: 20px;
    width: 622px;
    height: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* seções que contêm os cards */
.sla {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 180px;
    margin-bottom: 30px;
}
.sla a{
    text-decoration: none;
    color: black;
}
/* card de conteúdo */
article.conteudo {
    background-color: white;
    width: 401px;
    height: 426px;
    border: 10px solid #25A85A;
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
}

/* seção do quiz */
#quiz {
    border: 16px solid #38ad67;
    background-color: #388557;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-evenly;
    width: 929px;
    height: 120px;
    gap: 20px;
    padding: 50px;
    font-size: 1.3em;
    max-width: 800px;
    border-radius: 20px;
    color: white;
}

#quiz img {
    max-width: 300px;
}

#quiz a {
    text-align: center;
    font-size: medium;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background-color: #592175;
    border: 5px solid white;
    padding: 16px;
    border-radius: 20px;
    width: 158px;
    height: 21px;
}

#quiz a:hover {
    background-color: black;
    color: #e6e6e6;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 1.3em;
    background-color: #592175;
    color: white;
    border-top: 1px solid #ccc;
}
footer {
  background-color: #4B0082;
  color: #f1f1f1;
  font-family: 'Inter', sans-serif;
  padding: 50px 20px 20px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-column h4 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  border-left: 4px solid #fff;
  padding-left: 10px;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 30px auto 15px;
  max-width: 90%;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #cccccc;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  padding: 5px;
  transition: transform 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.1);
  background-color: #4B0082;

}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    gap: 10px;
  }

  .description {
    font-size: 14px;
    padding: 5px 0;
  }

  .navbar {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    align-items: flex-start;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .navbar ul li a {
    font-size: 16px;
    padding: 8px 0;
  }

  .search-container {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }

  #search-box {
    width: 85%;
    max-width: 300px;
    font-size: 14px;
    padding: 8px;
  }

  .menu-toggle {
    font-size: 26px;
  }

  #inicio {
    padding-left: 10px;
    padding-right: 10px;
  }

  .descri {
    font-size: 20px;
    line-height: 1.3;
  }

  .h1 {
    font-size: 32px;
  }

  .h3 {
    font-size: 18px;
    margin-left: 0;
  }

  .button {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .container {
    flex-direction: column;
    padding: 0 15px;
    gap: 20px;
  }

  .video-container {
    width: 100%;
    margin-top: 20px;
  }

  .video-wrapper {
    height: 220px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer-column {
    width: 100%;
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 36px;
  }

  .description {
    font-size: 12.5px;
  }

  .btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  .navbar ul li a {
    font-size: 13.5px;
  }

  .description-box .large-description h1,
  .description-box .large-description h3 {
    font-size: 18px;
  }

  .small-description {
    font-size: 15px;
  }

  .footer-column h4 {
    font-size: 14px;
  }

  .footer-column p {
    font-size: 12.5px;
  }

  .social-icons a img {
    width: 30px;
    height: 30px;
  }

  .video-wrapper {
    height: 180px;
  }
}


/* Responsivo: Tablets (até 1024px) */
@media (max-width: 1024px) {
  nav {
    flex-direction: column;
    gap: 20px;
    font-size: 1.5em;
    text-align: center;
  }

  .logo-container a img {
    width: 150px;
  }

  #titulo h2 {
    width: 90%;
    height: auto;
    font-size: 1.2em;
    padding: 12px;
  }

  .sla {
    gap: 60px;
  }

  article.conteudo {
    width: 90%;
    height: auto;
    padding: 24px 16px;
  }

  #quiz {
    flex-direction: column;
    width: 90%;
    height: auto;
    padding: 30px 20px;
    text-align: center;
    gap: 30px;
  }

  #quiz a {
    width: auto;
    height: auto;
    padding: 12px 24px;
  }
}

/* Responsivo: Celulares (até 600px) */
@media (max-width: 600px) {
  nav {
    font-size: 1.2em;
    padding: 15px;
  }

  .logo-container a img {
    width: 120px;
  }

  #titulo {
    font-size: 1.2em;
    padding: 10px;
    gap: 20px;
  }

  #titulo h2 {
    font-size: 1em;
    padding: 10px;
    border: 6px solid #25A85A;
  }

  .sla {
    flex-direction: column;
    gap: 40px;
  }

  article.conteudo {
    width: 100%;
    max-width: 350px;
    height: auto;
    font-size: 1em;
    padding: 20px;
    gap: 16px;
  }

  article.conteudo img {
    width: 100%;
    max-width: 220px;
  }

  #quiz {
    padding: 20px;
    font-size: 1em;
  }

  #quiz img {
    max-width: 80px;
  }

  #quiz a {
    font-size: 0.9em;
    padding: 12px 20px;
  }
}


