@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

*,
:root {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

/* n é boa pratica mexer no body, html */

body {
  background-color: #0f172a;
}

main {
  /*  border: 1px solid greenyellow;
  */ 
  max-width: 640px;
  margin: 0 auto 100px;
  padding: 20px;
}

header {
  margin-top: 1rem;
  text-align: left;
  padding-bottom: 24px;
  border-bottom: 1px solid #334155;
}

header h1 {
  font-size: 30px;
  color: #f1f5f9;
  text-align: center;
}

.quiz-item {
  margin-top: 24px;
  border: 1px solid #475569;
  border-radius: 6px;
  overflow: hidden;
}



.quiz-item dl {
  padding: 20px 24px;
  display: grid;
  gap: 8px;
}

.quiz-item h3 {
  padding: 16px 20px;
  color: #e2e8f0;

  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #1e293b;
}

.quiz-item dl dt {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
}

#quiz {
  counter-reset: quiz-item;
}

.quiz-item h3::before {
  counter-increment: quiz-item;
  content: counter(quiz-item);

  background-color: #475569;
  width: 28px;
  height: 28px;
  font-size: 12px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* n apertar */
}

input {
  all: unset; /* reset all inputs css */
  border: 1px solid #84a3b8;
  width: 16px;
  height: 16px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

input:checked {
  border: 1px solid #a3e635;
}

input:checked:before {
  content: '';
  width: 10px;
  height: 10px;
  display: block;
  background-color: #a3e635;
  border-radius: 50%;
}
label {
  cursor: pointer;
}

#acertos {
  text-align: center;
  background-color: #a3e635;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
}

.footer{
  padding: 2vh;
  height: 100px;
  text-align: center;
  background-color: #475569;
}