body {
  font-family: "Tilt Warp", sans-serif;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  background-color: #000000;
  position: relative;
  color: white;
}

:root {
  --main-color: #2196f3;
}

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

body {
  font-family: "Open Sans", sans-serif;
}

.game {
  background-color: #181a1b;
  min-height: 100vh;
}

.container {
  margin: auto;
  max-width: 900px;
  padding-bottom: 100px;
}

.choose {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background-color: #125799;
  padding: 20px;
}

.choose-diffculity {
  background-color: #181a1b;
  margin: 15px 0;
  padding: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.choose-diffculity .diffculity {
  background-color: var(--main-color);
  font-weight: bold;
  margin: 4px;
  padding: 10px;
  border-radius: 6px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  font-size: 16px;
  border: none;
}
.choose-diffculity .diffculity:hover {
  background-color: rgba(33, 149, 243, 0.5254901961);
}

.selected {
  background-color: green !important;
}

.correct {
  color: green; /* Color for correct letters */
}

.incorrect {
  color: red; /* Color for incorrect letters */
}

.untyped {
  color: lightgray; /* Color for untyped letters */
}

.name {
  background-color: var(--main-color);
  padding: 20px;
  font-size: 25px;
  text-align: center;
  font-weight: bold;
}

.message {
  background-color: #181a1b;
  padding: 15px;
  margin: 15px 0;
  border-radius: 6px;
  text-align: center;
}

.message span {
  font-weight: bold;
  color: #009688;
}

.message span::before {
  content: "[ ";
}

.message span::after {
  content: " ]";
}

.start {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background-color: #009688;
  padding: 20px;
  cursor: pointer;
}

.the-word {
  text-align: center;
  font-weight: bold;
  font-size: 45px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          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;
  border-radius: 6px;
  caret-color: var(--main-color);
  resize: none;
  overflow-y: hidden;
}

.input:focus {
  outline: none;
}

.upcoming-words {
  background-color: #181a1b;
  margin: 15px 0;
  padding: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.upcoming-words div {
  background-color: var(--main-color);
  font-weight: bold;
  margin: 4px;
  padding: 10px;
  border-radius: 6px;
}

.control {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #181a1b;
  padding: 15px;
}

.control span {
  font-weight: bold;
  color: #009688;
}

.finish {
  font-weight: bold;
  font-size: 40px;
  text-align: center;
  padding: 15px;
}

.finish .good {
  color: var(--main-color);
}

.finish .bad {
  color: red;
}

footer {
  text-align: center;
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  display: grid;
  gap: 20px;
}

footer a{
  text-decoration: none;
  background-color: #1a9687;
  padding: 8px;
  border-radius: 9px;
  color: white;
  font-weight: bold;
}
@media (max-height: 568px) {
  footer{
    position: relative;
  }
}
