html {
  /* font-size: 62.5%; */
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column nowrap;
  font-family: monospace;
  overflow: hidden;
  transition: 1s;

  background-color: rgb(231, 229, 229);

  background-blend-mode: overlay;
}

.text-container {
  width: calc(900rem / 16);
  height: auto;
  margin: 2rem auto;
  line-height: 2rem;
  white-space: nowrap;
  overflow: hidden;
  font-size: 1.5rem;
  border-radius: calc(5rem / 16);
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(5rem / 16) 1rem;
  cursor: none;
  background-color: white;
  border: 1px #ccc solid;

  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
}

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

button {
  padding: 10px;
  width: calc(150rem / 16);
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  font-size: 1.2rem;
  background-color: black;
  border-radius: 5px;
  transition: 0.2s;
  display: none;
}

.dark-mode {
  font-size: 2.5rem;
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.153);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.463);
  transition: 0.4s;
  top: 1rem;
  cursor: pointer;
}

.dark-mode:hover {
  background-color: rgb(171, 163, 163);
}

button:hover {
  background-color: #333;
}

.correct {
  color: green;
}

.incorrect {
  color: red;
}

span {
  min-width: 14px;
}

.dark {
  background-color: black;
  color: white;
}
