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

body {
  --font-color: white;
  --header-color: rgb(108, 117, 125);
  --body-color: rgb(52, 58, 64);
  --span-color: rgb(48, 135, 68);
  --instructions: rgb(108, 117, 125);
  background-color: var(--body-color);
  font-family: "Roboto";
}

header {
  background-color: rgb(108, 117, 125);
  color: white;
  padding: 1.5rem;
  text-align: center;
  font-family: "Roboto Mono";
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem;
  margin-bottom: 0;
  justify-content: center;
  align-items: center;
  color: var(--font-color);
}

.text {
  font-weight: 300;
}

.main-content span {
  color: var(--span-color);
}

.words .current-word {
  font-weight: 100;
  font-size: 4rem;
}

.form-input input {
  width: 20rem;
  padding: 0.5rem;
  border-radius: 3px;
  outline: none;
  transition: all 0.5s;
  border: 3px solid red;
}

.form-input input::placeholder {
  font-family: inherit;
  font-weight: 500;
}

.score-set {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.score-set .item {
  font-weight: 400;
  background-color: white;
  padding: 0.5rem;
  border-radius: 3px;
  color: black;
  border: 3px solid black;
}

.instructions {
  margin-top: 4rem;
  padding: 1.5rem;
  border-radius: 5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--header-color);
}

.instructions .heading {
  font-weight: 600;
}

.message {
  font-size: 2rem;
  font-family: "Roboto Mono";
}

.select-levels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  z-index: 100;
  transition: all 0.3s;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.buttons button,
.back {
  padding: 1rem;
  border-radius: 3px;
  transition: all 0.3s;
  border: 4px solid transparent;
  outline: none;
  overflow: hidden;
  cursor: pointer;
  font-size: 1.25rem;
}

.buttons .easy:active {
  border: 4px solid green;
}

.buttons .medium:active,
.buttons .medium:focus {
  border: 4px solid orange;
}

.buttons .hard:active,
.buttons .hard:focus {
  border: 4px solid red;
}

.buttons .easy:hover {
  text-decoration: underline rgb(37, 203, 37) 3px;
}

.buttons .medium:hover {
  text-decoration: underline orange 3px;
}

.buttons .hard:hover {
  text-decoration: underline red 3px;
}

.select-levels h3 {
  font-size: 2rem;
  font-weight: 300;
  color: white;
  padding-bottom: 1.2rem;
}

.main-content {
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.back:hover {
  text-decoration: underline black 3px;
}
