body {
  font-family: "Inter", sans-serif;
}

header {
  text-align: center;
  background: linear-gradient(to right, #007bff, #00c6ff);
  padding: 20px 0;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

h1 {
  border-radius: 10px;
  padding: 10px;
  width: 95%;
  margin: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.inicio {
  margin: auto;
}

ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  text-align: center;
}

ul li {
  margin: 5px;
  padding: 0px;
}
li:nth-child(3) {
  grid-column: 1 /3;
  justify-self: center;
}

button {
  margin: 0;
  width: 100%;
}
#quiz {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  width: 80%;
  padding: 10px;
}

.card-title {
  font-size: clamp(1rem, 4vw, 2rem);
  text-align: center;
  font-weight: bold;
}

.questao {
  background-color: #007bff;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  font-size: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin-right: 10px;
}

.card-title {
  margin: 20px;
  color: #333333;
}

.perguntas {
  display: flex;
  flex-flow: row;
  gap: 10px;
  margin-bottom: 30px;
}

.alternativa {
  height: auto;
  width: 100%;
  border: 1.5px solid #5dade2;
  display: flex;
  align-items: center;
  padding: 5px 8px;
}

.alternativa:hover {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  cursor: pointer;
}

.meio {
  display: flex;
  justify-content: center;
  align-items: center;
}

#resultado_final {
  display: none;
  text-align: center;
  padding: 30px;
  background-color: #f0f0f0;
  border-radius: 12px;
  margin-top: 20px;
}

#resultado_final h2 {
  color: #007bff;
}

#resultado_final p,
#mensagem_final {
  font-size: 1.2rem;
  margin: 10px 0;
}

.correto {
  background-color: #4caf50 !important;
  border: 1.5px solid #4caf50 !important;
  cursor: default;
}

.errado {
  background-color: #f44336 !important;
  border: 1.5px solid #f44336 !important;
  cursor: default;
}

.desativado {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}
#progresso {
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
}

@media (min-width: 992px) {
  h1 {
    width: 50%;
    margin: auto;
  }

  #quiz {
    width: 50%;
  }
}
