body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: linear-gradient(180deg, #f5f5f5, #ffffff);
  color: #333;
}
/* Estilos básicos para toda a página */
body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

/* Cabeçalho e menu */
header {
  background: linear-gradient(to right, #1B1464, #FC0000);
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

nav.menu {
  background: linear-gradient(to right, #1B1464, #FC0000);
}

nav.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav.menu ul li {
  margin: 0;
  font-size: 1rem;
  
}

nav.menu ul li a {
  display: block;
  padding: 10px 15px;
  color: #ffffff;
  text-decoration: none;
}
nav.menu ul li a:hover {
  background: linear-gradient(to right, #1B1464, #FC0000);
}

/* Área principal */
main {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Rodapé */
footer {
  text-align: center;
  padding: 10px;
  background: #333;
  color: #fff;
  margin-top: 20px;
}
header {
  background: linear-gradient(to right, #1B1464, #FC0000);
  color: white;
  text-align: center;
  padding: 1px;
  font-size: 3rem;
  font-weight: bold;
}

main {
  max-width: 1600px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* Links de Navegação */
.navigation-links {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.navigation-links li a {
  text-decoration: none;
  color: white;
  background: linear-gradient(to right, #1B1464, #FC0000);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.navigation-links li a:hover {
  background: linear-gradient(to right, #FC0000, #1B1464);
}

h2, h3 {
  color: #1B1464;
}

h1 {
  font-size: 0.5rem;
  color:#ffffff;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 15px;
}

p {
  font-size: 1.2rem; /* Tamanho maior para texto principal */
  line-height: 1.8; /* Ajusta o espaçamento entre linhas */
  margin-bottom: 15px;
  text-align: justify;
}

ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
  font-size: 1.5rem; /* Tamanho maior para texto principal */
  line-height: 1.8; /* Ajusta o espaçamento entre linhas */
}

li span {
  font-weight: bold;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.update-btn {
  background: #1B1464;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.button-container {
  display: flex; /* Ativa o Flexbox */
  justify-content: center; /* Centraliza horizontalmente */
  gap: 20px; /* Espaçamento entre os botões */
  margin-top: 20px; /* Espaçamento acima */
}

/* Centralizar e limitar a largura do gráfico */
canvas {
  max-width: 900px; /* Limite de largura */
  margin: 20px auto; /* Centraliza o canvas */
  height: auto; /* Ajusta a altura automaticamente */
  display: block; /* Garante alinhamento */
}
.view-results-btn
{
  background: #1B1464;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
  margin: 5px;
}
/* Container do gráfico */
.grafico-container {
  padding: 20px;
  margin: 0 auto;
  text-align: center;
  background: #f9f9f9;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgb(0, 0, 0);
  margin-top: 20px;
  
}



#erroMensagem {
  display: none;
  color: red;
  text-align: center;
  margin-top: 20px;
}


/* Navegação */
nav ul {
  list-style-type: none;
  padding: 0;
}

nav ul li {
  margin: 10px 0;
}

nav ul li a {
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background: linear-gradient(to right, #1B1464, #FC0000);
}

/* Barra de progresso */
.progress-bar {
  width: 100%;
  height: 30px;
  background-color: #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.progress {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, #1B1464, #FC0000);
  transition: width 0.3s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.3rem;
  color: white;
  font-weight: bold;
}

/* Contêiner de questões */
.question-container {
  width: 90%; /* Largura do container */
  height: auto; /* Altura ajustável com base no conteúdo */
  text-align: center; /* Centraliza o texto horizontalmente */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centraliza verticalmente */
  font-size: 1.9rem;
  margin: 0 auto; /* Centraliza o container na tela */
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 40px; /* Adiciona espaçamento interno */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.question {
  width: 100%; /* Faz o texto ocupar toda a largura do container */
  height: auto; /* Altura ajustável com base no texto */
  word-wrap: break-word; /* Quebra o texto automaticamente */
  word-break: break-word; /* Quebra palavras muito longas */
  white-space: normal; /* Garante que o texto quebre linhas */
  text-align: justify; /* Alinha o texto justificado */
  font-size: 1.9rem; /* Ajusta o tamanho da fonte */
}



.options {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.options button {
  padding: 10px 15px;
  font-size: 1.6rem;
  background: white;
  color: black;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 300px;
}

.options button:hover, .options button.selected {
  background: #1B1464;
  color: white;
}

/* Botões de navegação */
.navigation {
  margin-top: 20px;
}

.navigation button {
  padding: 10px 20px;
  font-size: 1.5rem;
  font-weight: bold;
  background: #FC0000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.navigation button:hover {
  background: #1B1464;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Botões */
button {
  background-color: rgb(255, 0, 0);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

button:hover {
  background: #1B1464;
  color: white;
}

/* Estilo do Formulário */
.form-container {
background: white;
padding: 20px 30px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 600px; /* Reduz a largura máxima */
margin: 40px auto; /* Centraliza horizontalmente e adiciona espaçamento vertical */
text-align: center;
}

select {
  font-size: 16px;
  padding: 5px;
  border-radius: 1px;
  width: 100%;
}



h2 {
  color: #1B1464;
  text-align: center;
  margin-bottom: 20px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  margin-top: 20px;
  width: 100%;
}

#userType, #name, #email, #password, #turma, #celular {
  font-size: 20px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ddd;
  width: 100%; /* Garante que ocupe todo o espaço disponível */
}



.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px; /* Adiciona espaçamento entre o botão e o campo de senha */
}


label {
  font-weight: bold;
}

input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: #1B1464;
  box-shadow: 0 0 5px rgba(27, 20, 100, 0.3);
}

/* Botões */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn {
  background: #1B1464;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #FC0000;
}

.login-link {
  text-decoration: none;
  color: #1B1464;
  font-size: 0.9rem;
}

.login-link:hover {
  text-decoration: underline;
}
    .lgpd-container {
      margin-top: 20px;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 8px;
      background: #f9f9f9;
      text-align: left;
      width: 95%;
      max-width: 1440px;
      margin-left: auto;
      margin-right: auto;
      
    }

    .lgpd-toggle {
      background: red;
      border: none;
      text-decoration: underline;
      cursor: pointer;
      margin-bottom: 10px;
    }

    .lgpd-content {
      max-height: 0;
      overflow: hidden;
      overflow-y: auto;
      transition: max-height 0.3s ease;
    }

    .lgpd-content.expanded {
      max-height: 400px;
      
    }

    .lgpd-container input[type="checkbox"] {
      margin-right: 5px;
    }

.hidden {
  display: none;
}


.intro-section {
  text-align: center;
  margin: 20px;
  font-size: 1.5rem;
}

.start-button {
  background-color: #1B1464;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.8rem;
}

.start-button:hover {
  background-color: #FC0000;
}

/* Estilização do container do menu */
.menu ul {
list-style: none;       /* Remove os marcadores da lista */
margin: 0;
padding: 0;
display: flex;          /* Exibe os itens em linha */

}

/* Estilização dos itens da lista */
.menu ul li {
margin: 0;
}

/* Estilização dos links do menu */
.menu ul li a {
display: block;
padding: 5px 10px;     /* Espaçamento interno */
color: #fff;            /* Cor do texto */
text-decoration: none;  /* Remove o sublinhado */
}

/* Efeito hover para os links */
.menu ul li a:hover {
background-color: #FC0000; /* Example style */
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1.1rem;
}

th, td {
  text-align: center;
  padding: 8px;
  border: 2px solid #0c0c0c;
}

th {
  background-color: #FC0000;
  color: white;
}

tr:nth-child(even) {
  background-color: #ffedb58a;
}


/* Rodapé */
footer {
  background: linear-gradient(to right, #1B1464, #FC0000);
  color: white;
  text-align: center;
  padding: 10px 0;
  margin-top: 400px;
  font-size: 1rem;
}
  /* Ajustes para telas menores */
  @media (max-width: 768px) {
      main {
          padding: 10px;
      }
      .options {
          flex-direction: column;
      }
      .grafico-container {
          width: 100%;
      }
      body {
          font-size: 14px; /* Reduz o tamanho para dispositivos menores */
      }
  
      h1 {
          font-size: 1rem; /* Ajusta o título para caber na tela */
      }
  
      p {
          font-size: 1rem;
      }
  }
  
