/* Reset e definição de box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Aplicação da fonte, centralização e espaçamento */
body {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
}

/* Wrapper para limitar a largura máxima, mas permitindo responsividade natural */
.wrapper {
  margin-top: 200px;
  width: 100%;
  padding: 10px;
}

/* Estilização do parágrafo do container */
.container p {
  font-size: 25px;
  max-width: 100%;
}

/* Área dos botões */
.buttons {
  max-width: 100%;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Seção final */
.finalpage {
  max-width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quiz-page {
  display: none;
}
.quiz-page.active {
  display: block;
}
/* Exemplo de estilização para um p dentro de .buttons (caso seja necessário) */
.buttons p {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #2349E8, #5421AC);
  border-radius: 5px;
  font-size: 30px;
  color: white;
  font-weight: bold;
  width: 100%;
  max-width: 700px;
  height: auto;
  padding: 10px;
  overflow: hidden;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Parágrafos dentro de .finalpage */
.finalpage p {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  font-size: 20px;
  width: 100%;
  max-width: 800px;
  height: auto;
  padding: 10px;
  overflow: hidden;
  flex-wrap: wrap;
  margin-bottom: 50px;
  margin-top: 30px;
}
.finaltitle {
  font-weight: bold; 
  font-size: 50px; 
  color: rgb(32, 32, 32); 
  word-break: break-all;
}
/* Botões na seção .buttons */
.buttons a {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: #D6D6D6;
  border-radius: 5px;
  width: 100%;
  max-width: 500px;
  height: 70px;
  margin: 10px 0;
  font-size: 25px;
  color: #000;
  transition: background-color 0.3s;
}

/* Botão na .finalpage */
.finalpage a {
  font-weight: bolder;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background: linear-gradient(to right, #137BBD, #0BA7C5);
  border-radius: 5px;
  width: 100%;
  max-width: 400px;
  height: 60px;
  margin: 10px 0;
  font-size: 20px;
  color: white;
  transition: background-color 0.3s;
}

/* Efeito hover nos botões da .buttons */
.buttons a:hover {
  background-color: #C0C0C0;
}

footer {
  margin-top: 500px;
  background-color: #303030;
  color: white;
  max-width: 100%;
  padding: 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 100%;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 300px;
  margin: 10px;
}

.footer-left {
  text-align: left;
  max-width: 20% !important;
}

.footer-left .brand {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-left .footer-links {
  font-size: 14px;
}

.footer-left .footer-links .links-title {
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-left .links-container {
  display: flex;
  flex-direction: column;
}

.footer-left .footer-link {
  color: rgb(86, 196, 247);
  margin-bottom: 5px;
  transition: color 0.3s;
}

.footer-left .footer-link:hover {
  color: #ddd;
}

/* Estilização da coluna direita */
.footer-right {
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}
.footer-right p{
  max-width: 100%;
  flex-wrap: wrap;
 margin-bottom: 20px;
}
/* Media Query para telas até 480px */
@media (max-width: 480px) {
  /* Reduz a fonte dos títulos e blocos maiores (acima de 25px) */
  .wrapper {
    margin-top: 100px;
  }
  
  .finaltitle {
    font-size: 35px;
  }
}
@media (max-width: 350px) {
  /* Reduz a fonte dos títulos e blocos maiores (acima de 25px) */
  .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  }
  .footer-right {
    padding: 20px;
  }
  .links-container {
    padding: 20px;
  }
  .brand{
    padding: 20px;
  }
  .links-title {
    padding: 20px;
  }
  .finaltitle {
    font-size: 25px;
  }
  .buttons p {
    font-size: 25px;
  }
  .buttons a {
    font-size: 22px;
  }
}
