* {
  box-sizing: border-box;
}

:root {
  --cor1: #001542;
  --cor2: #085454;
  --cor3: #7A7A7A;
  --cor4: #FFFFFF;
  --cor5: #FFB30D;

  --fonte-padrao: 'Open Sans', 'Roboto', sans-serif;
  --fonte-destaque: 'Montserrat', sans-serif ,'Poppins', sans-serif, Arial;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--cor2);
}

.container {
    max-width: 1080px;
    background: white;
    padding: 20px 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: var(--fonte-padrao);
}

.container img {
  display: flex;
  margin: auto;
  width: 97%;
  height: auto;
  border-radius: 5px;
}

@media screen and (max-width: 450px) {
  .container img {
    width: 94%;
  }
}

.container h1 {
  text-align: center;
  background-color: #FFB30D;
  border-radius: 5px;
  padding: 10px 0;
  margin: 10px;
}

.container h3 {
  margin: 10px;
  margin-top: 15px;
}

.container p {
  margin: 10px;
}

.modal-regras {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.857);
}

.modal-regras-conteudo {
  background-color: #fff;
  margin: auto;
  margin-top: 400px;
  padding: 10px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  font-family: sans-serif;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  animation: aparecer .4s ease-out;
  max-height: 80vh;             /* Limita a altura visível */
  overflow-y: auto;             /* Ativa rolagem vertical */
}

.revisao {
  padding: 10px 30px;
}

#revisar #tempoAtual {
  background-color: #666;
  font-size: 18px;
}

#btns2 {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

#btns2 button {
  background-color: #009fc6;
  border: none;
}

#btns2 button:hover {
  outline: 1px solid #085454;
}

.fechar {
  float: right;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

#revisar {
  display: block;
  position: relative;
  width: 100%;
  margin: 10px auto;
}

#revisar p {
  margin-top: 30px;
  font-family: var(--fonte-padrao);
  font-weight: 600;
  text-align: center;
  padding: 10px;
  background-color: #085454;
  border-radius: 5px;
  color: #ccc;
}

#revisar audio {
  width: 100%;
  margin: 10px 0;
}

#quiz #parab {
  text-align: center;
  font-size: 19px;
  font-weight: 600;
}

.placar {
  display: flex;
  flex-direction: column;
}

.placar span {
  background-color: var(--cor2);
  color: var(--cor4);
  padding: 5px;
  border-radius: 5px;
}

/* Estilo visual para testes desbloqueados */
.louvores.ativo {
  background-color: #004488;
  color: #ffffff;
  font-weight: bold;
  border: 2px solid #00ccff;
  box-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.louvores.ativo:hover {
  transform: scale(1.03);
  background-color: #0066aa;
}

#btns {
  max-width: 300px;
  display: flex;
  flex-direction: row;
  margin: auto;
}

button {
    display: block;
    margin: 20px auto;
    padding: 10px;
    border: none;
    background-color: #e8e8e8;
    font-size: 18px;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid #085454;
}

#quiz div {
  margin: 10px 0;
  padding: 0 10px;
}

.option-item {
  margin: 10px 0;
}

.option-item:hover {
  outline: 1px solid #ccc;
  padding: 4px 0;
}

#quiz div label {
  padding: 10px;
}

#quiz div label:hover {
  font-weight: 500;
}

#quiz div input {
  width: 20px; /* Aumenta a largura do input */
  height: 18px; /* Ajusta a altura */
  font-size: 18px; /* Aumenta o tamanho da fonte */
}

#quiz div p {
  margin: 0;
  padding: 10px 5px;
  background-color: #001542;
  border-radius: 5px;
  font-size: 17px;
  color: var(--cor4);
}

#sheked {
  background-color: var(--cor4);
}

#sheked {
  animation: popIn 0.4s ease-out;
}

@keyframes popIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}

/*EFEITOS*/

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

.estrela-animada {
  color: gold;
  animation: brilhar 1s ease-in-out infinite alternate;
}

@keyframes brilhar {
  from {
    opacity: 0.5;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1.2);
  }
}

.modo-revisao {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 15px;
  border-radius: 6px;
  text-align: center;
}

#progressContainer {
  width: 100%;
  background-color: #f3f4f6;
  border: 1px solid #ccc;
  border-radius: 8px;
  height: 20px;
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
}

#progressBar {
  background-color: #10b981;
  height: 100%;
  width: 0%;
  transition: width 0.4s ease-in-out;
}

#progressText {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #111827;
  font-size: 12px;
  line-height: 20px;
  font-weight: bold;
}

