html {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  background-color: antiquewhite;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  font-family: monospace;
  font-size: 1.5rem;
}

#text-container {
  width: 80%;
  height: auto;
  margin: 20px auto;
  line-height: 2rem;
  white-space: nowrap;
  background: white;
  padding: 10px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  cursor: none;
}

#text-container > span {
  min-width: 14px;
}

#timer {
  margin: 10px;
  font-size: 1.2rem;
}

button {
  padding: 10px;
  width: 150px;
  background: rgb(7, 7, 7);
  color: white;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  font-size: 1.2rem;
  display: none;
}

button:hover {
  filter: brightness(1.2);
}

.correct {
  color: green;
}

.error {
  color: red;
}
