* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Faculty Glyphic", serif;
  background: #111;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #eee;
}

#startscreen, #game, #statsscreen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 400px;
  padding: 24px;
}

#startscreen h1, #statsscreen h1 {
  font-size: 2.5rem;
  font-weight: 900;
}

button {
  background: none;
  border: none;
  color: #888;
  font-family: "Faculty Glyphic", serif;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 0;
  width: 100%;
}

button:hover {
  color: #eee;
}

#timer {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

#score {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

#question {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 16px 0;
  text-align: center;
}

#answer {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 0;
  color: #eee;
}


#answer::-webkit-outer-spin-button,
#answer::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

#statsscreen p {
  font-size: 1rem;
  color: #888;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#statsscreen span {
  color: #eee;
}

#scoreChart {
  width: 100%;
  border-radius: 4px;
  background: #1a1a1a;
}
