body {
  font-family: 'Cabin', sans-serif;
  background-color: rgba(255, 255, 255, 0.80);
  background-blend-mode: lighten;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  margin: 0;
}

header {
  text-align: center;
  font-size: 2.25rem;
  padding: 40px;

  h1 {
    margin: 0;
  }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  width: 100%;
  overflow: hidden;
  min-height: 50vh;

  h2,
  ul {
    font-size: 1.5rem;
  }
}

select {
  margin: 50px 0;
  border-radius: 10px;
  height: 25px;
  min-width: 200px;
  text-align: center;
  padding: 0 10px;
}

button {
  border-radius: 25px;
  height: 50px;
  min-width: 200px;
  cursor: pointer;
  transition: all .5s;

  &:hover {
    color: white;
    background-color: black;
  }
}

.game-mode header,
.game-mode #startButton,
.game-mode #theme,
.game-mode #awards,
.game-mode #reset {
  display: none;
}

#display {
  min-width: 50%;

  img {
    display: block;
    min-height: 150px;
  }
}

.blended-background {
  background-color: rgba(255, 255, 255, 0.50);
  background-blend-mode: lighten;
  background-size: cover;
  background-repeat: no-repeat;
}

.unmet {
  color: grey;
}

#reset {
  transition: none;
  border: 0;
  background-color: unset;
  height: auto;
  color: darkred;
  text-decoration: underline;
  cursor: not-allowed;
}

#averageSpeed {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1rem;
}

#theme {
  list-style: none;
  display: flex;
  gap: 40px;
  overflow: scroll;
  width: 100%;
  padding: 0;

  li {
    border: solid 3px black;
    border-radius: 8px;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.50);
    background-blend-mode: lighten;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;

    &:first-child {
      margin-left: 20px;
    }

    &:last-child {
      margin-right: 20px;
    }
  }

  .achievement {
    display: flex;
    align-items: center;
    justify-content: center;

    svg {
      margin: 0 0 0 10px;
    }
  }

  .earned svg {
    fill: gold;
  }

  h2 {
    width: 60vw;
    max-width: 300px;
    font-size: 2rem;
  }

  p {
    font-size: 1.25rem;
  }

  svg {
    height: 40px;
    width: 40px;
    margin: 0 auto;
  }
}

.full-screen {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
}

.pokemon-battle-player,
.pokemon-battle-opponent {
  height: 50vh;
  display: flex;
  position: relative;
  align-items: center;

  img {
    height: 150px;
    position: absolute;
  }
}

@keyframes right-to-left {
  0% {
    left: 110%;
  }

  100% {
    left: 17%;
  }
}

.pokemon-battle-player {
  img {
    animation: linear;
    animation-name: right-to-left;
    animation-duration: 5s;
    left: 17%;
    transition: margin-top .1s;
  }

  p {
    width: 100%;
    text-align: right;
    padding-right: 17%;
  }
}

@keyframes left-to-right {
  0% {
    right: 110%;
  }

  100% {
    right: 17%;
  }
}

.pokemon-battle-opponent {
  position: relative;

  img {
    animation: linear;
    animation-name: left-to-right;
    animation-duration: 5s;
    right: 17%;
  }

  p {
    padding-left: 17%;
  }
}

.heads-up-display {
  position: absolute;
  text-transform: capitalize;
  font-size: 2rem;
  top: 65%;

  p {
    margin: 0;
    padding: 0;
  }

  .health {
    width: 200px;
    height: 10px;
    margin-top: 8px;

    .outer {
      width: 100%;
      height: 100%;
      border: 1px solid black;
    }

    .inner {
      height: 100%;
      width: 100%;
      transition: width .5s;
      background-color: green;
    }
  }
}

.pokemon-battle-opponent .heads-up-display {
  right: 17%;
}

.pokemon-battle-player .heads-up-display {
  left: 17%;

  p {
    text-align: left;
  }
}

.touch-keyboard {
  display: none;
  position: fixed;
  bottom: -2px;
  width: 200px;
  margin: 0 calc((100vw - 200px) / 2);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

#hiddenInput {
  position: absolute;
  top: -100vh;
}