* {
  color: #fff;
  font-family: monospace;
}

body {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  background-color: #000;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 75px;
  width: 90vw;
}

#setup-area {
  display: flex;
}
#play-area {
  display: none;
}

#setup-area,
#play-area {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90vw;
}

.input {
  display: flex;
  flex-direction: column;
  border: 1px solid #fff;
}
label[for="input-word"] {
  padding: 10px 25px;
  font-size: 1.125rem;
}
#input-word {
  background-color: #0000;
  padding: 10px 15px;
  font-size: 1.25rem;
}

#toggle-instructions {
  margin-top: 25px;
  font-size: 1.125rem;
}
#letter-toggles-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin: 25px 0px;
  width: 100%;
  overflow-x: auto;
}
#letter-toggles {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 10px 10px;
}
.letter-toggle {
  padding: 10px 15px;
  font-size: 1.5rem;
  cursor: pointer;
}
.letter-toggle.on {
  color: #3f5;
  border: 1px solid #0f0;
}
.letter-toggle.off {
  color: #f00;
  border: 1px solid #ad0000;
}

button {
  background-color: #0000;
  border: 1px solid #fff;
  font-size: 1.25rem;
  opacity: 0.8;
}
button:hover,
button:focus {
  opacity: 1;
}

#start-btn {
  padding: 15px 65px;
}
#reset-btn {
  padding: 15px 65px;
}

#timerText {
  font-size: 1.25rem;
}
#timer {
  font-size: 1.75rem;
  margin-bottom: 75px;
  font-weight: lighter;
}

.scroller {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding-left: 50px;
  width: 90vw;
  overflow-x: auto;
}

#masked-word {
  font-size: 3rem;
  letter-spacing: 1.125rem;
  word-spacing: 1.125rem;
  margin-bottom: 50px;
  text-wrap: nowrap;
}
#guessed-letters {
  font-size: 1.75rem;
  text-wrap: nowrap;
}
#mistakes-left {
  font-size: 1.25rem;
}

.spinner {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  width: 90vw;
  overflow-x: auto;
}
.spinner_item {
  font-size: 1.25rem;
  color: #fff;
  padding: 15px 20px;
  margin: 0px 5px;
  border: 0.1px solid white;
}

#title {
  position: fixed;
  bottom: 7.5%;
  right: 2.5%;
  z-index: -1;
  font-size: 3rem;
  letter-spacing: 0.75rem;
  font-family: "Courier New", Courier, monospace;
}
.red {
  color: #ed0000;
}

#graphic {
  width: 100%;
  position: fixed;
  bottom: -5%;
  left: -25%;
  z-index: -1;
}
#warning {
  display: block;
  margin-top: 50px;
  font-size: 1rem;
}

@media only screen and (max-width: 600px) {
  .hide {
    display: none;
  }
  #graphic {
    width: 200vw;
    left: -50%;
    bottom: -10%;
  }
}

@media only screen and (min-width: 1000px) {
  .scroller {
    justify-content: center;
    padding-left: 0px;
  }
  #letter-toggles-container {
    justify-content: center;
  }
  #graphic {
    bottom: -10%;
  }
}
