:root {
  --main-color: #2196f3;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Open Sans", sans-serif;
}
.game {
  background-color: #eee;
  min-height: 100vh;
}
.container {
  margin: auto;
  max-width: 900px;
}
.level {
  display: flex;
  justify-content: space-between;
  background-color: white;
}
.level span {
  display: flex;
  align-items: center;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 4px;
  margin-left: 5px;
  padding: 10px;
}
.levelSelect {
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 200px;
  text-align: center;
}
.name {
  background-color: var(--main-color);
  color: white;
  padding: 20px;
  font-size: 25px;
  text-align: center;
  font-weight: bold;
}
.message {
  background-color: white;
  padding: 15px 0;
  text-align: center;
  border-radius: 6px;
}
.message span {
  font-weight: bold;
  color: #009688;
}
.message span::before {
  content: "[ ";
}
.message span::after {
  content: " ]";
}
.start {
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: white;
  background-color: #009688;
  padding: 20px;
}
.the-word {
  text-align: center;
  font-weight: bold;
  font-size: 60px;
  color: var(--main-color);
  user-select: none;
}
.input {
  margin: 15px 0;
  width: 100%;
  display: block;
  padding: 15px;
  border: 3px solid var(--main-color);
  font-size: 20px;
  text-align: center;
  text-transform: capitalize;
  border-radius: 6px;
  caret-color: var(--main-color);
}
.input:focus {
  outline: none;
}
.upcoming-words {
  background-color: white;
  margin: 15px 0;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.upcoming-words div {
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  margin: 4px;
  padding: 10px;
  border-radius: 6px;
}
.control {
  display: flex;
  justify-content: space-between;
  background-color: white;
  padding: 15px;
}
.control span {
  font-weight: bold;
  color: #009688;
}
.finish {
  font-weight: bold;
  font-size: 40px;
  text-align: center;
  display: flex;
  padding: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.finish .good {
  color: var(--main-color);
  width: 100%;
  margin-bottom: 10px;
}
.finish .bad {
  color: red;
  width: 100%;
  margin-bottom: 10px;
}
.finish .btn {
  background-color: #2196f3;
  color: white;
  border-radius: 5px;
  border: 2px solid var(--main-color);
  padding: 20px;
  cursor: pointer;
}
