* {
  touch-action: manipulation;
}

a {
  text-decoration: none;
  cursor: pointer;
}

html {
  height: 100%;
}

body {
  font-family: "Clear Sans", "Helvetica Neue", Arial, sans-serif;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-y: hidden;
}

#main-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  flex-grow: 1;
  text-align: center;
  font-size: 20px;
}

h1 {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

.menu-left, .menu-right {
  display: flex;
  gap: 8px;
  width: 70px;
}
.menu-left button, .menu-right button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
}
.menu-left button img, .menu-right button img {
  width: 24px;
}

.close {
  top: 16px;
  right: 16px;
  position: absolute;
  user-select: none;
  cursor: pointer;
}

#descriptor {
  margin-bottom: 0;
}

#game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  height: calc(100% - 50px);
}

#game_board_container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

#game_board {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  grid-gap: 5px;
  padding: 10px;
  box-sizing: border-box;
}
#game_board .row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 5px;
}

#keyboardContainer {
  height: 200px;
}

#keyboard {
  margin: 0 8px;
  user-select: none;
}
#keyboard .row {
  display: flex;
  width: 100%;
  margin: 0 auto 8px;
}
#keyboard .row button {
  font-family: inherit;
  font-weight: bold;
  border: 0;
  padding: 0;
  margin: 0 6px 0 0;
  height: 58px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
#keyboard .row button:last-of-type {
  margin: 0;
}
#keyboard .row .spacer {
  flex: 0.5;
}
#keyboard .row #Enter, #keyboard .row #Backspace {
  flex: 1.5;
}
#keyboard .row .letter {
  flex: 1;
}

header h1 {
  margin: 16px 0;
}

.tile {
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  line-height: 2rem;
  font-weight: bold;
  vertical-align: middle;
  box-sizing: border-box;
  user-select: none;
  text-transform: uppercase;
  color: black;
  border: 2px solid #787c7e;
  touch-action: manipulation;
}

@media (max-height: 600px) {
  .tile {
    font-size: 1em;
    line-height: 1em;
  }
}
.example .tile {
  width: 40px;
  height: 40px;
}

.unfilled {
  border: 2px solid #d3d6da;
}

.filled {
  border: 2px solid #787c7e;
  animation-name: PopIn;
  animation-duration: 100ms;
}

.unselected {
  background-color: #d3d6da;
  color: black;
}

.tile.transitioning {
  border: 2px solid #787c7e;
  color: black;
}

.tile[data_animation=flip-in] {
  animation-name: FlipIn;
  animation-duration: 250ms;
  animation-timing-function: ease-in;
}

.tile[data_animation=flip-out] {
  animation-name: FlipOut;
  animation-duration: 250ms;
  animation-timing-function: ease-in;
}

.complete {
  color: white;
  border: none;
}
.complete.misplaced {
  background-color: #c9b458;
}
.complete.correct {
  background-color: #6aaa64;
}
.complete.incorrect {
  background-color: #787c7e;
}

.hidden {
  display: none;
}

.exitButton {
  cursor: pointer;
  position: absolute;
  font-size: 150%;
  top: 0;
  right: 0;
  padding: 0 10px;
  border: 0;
  background-color: inherit;
}

@media (max-width: 768px) {
  header {
    font-size: 20px;
    height: auto;
  }

  #descriptor {
    font-size: 16px;
  }
}
game-icon {
  user-select: none;
  cursor: pointer;
  height: 24px;
  width: 24px;
}

.overlay {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  animation: SlideIn 100ms linear;
  font-size: 14px;
}

.solid {
  background-color: white;
}

.transparent {
  background-color: rgba(255, 255, 255, 0.5);
}

.content {
  background-color: white;
  position: relative;
  width: 100%;
  max-width: 500px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.content-solid {
  padding: 0 32px;
  height: 100%;
}

.content-transparent {
  max-width: 300px;
  padding: 32px 48px;
  max-height: 90%;
  box-shadow: 0 4px 23px 0 rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-tone-6);
  animation: SlideIn 200ms;
  border-radius: 8px;
  text-align: center;
  top: -25%;
}

.examples, .middle-section {
  border-bottom: 1px solid #d3d6da;
  border-top: 1px solid #d3d6da;
}

.instructions {
  font-size: 14px;
  color: var(--color-tone-1);
}

.popUp {
  z-index: 3000;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  padding-top: 10px;
  height: 50px;
  border-bottom: 1px solid #d3d6da;
  font-family: "Bree Serif", serif;
  text-decoration: strong;
  font-size: 36px;
}

.invalid {
  animation-name: Shake;
  animation-duration: 600ms;
}

@keyframes PopIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  40% {
    transform: scale(1.1);
    opacity: 1;
  }
}
@keyframes FlipIn {
  0% {
    transform: rotateX(0);
  }
  100% {
    transform: rotateX(-90deg);
  }
}
@keyframes FlipOut {
  0% {
    transform: rotateX(-90deg);
  }
  100% {
    transform: rotateX(0);
  }
}
@keyframes Shake {
  10%, 90% {
    transform: translateX(-1px);
  }
  20%, 80% {
    transform: translateX(2px);
  }
  30%, 50%, 70% {
    transform: translateX(-4px);
  }
  40%, 60% {
    transform: translateX(4px);
  }
}
@keyframes Bounce {
  0%, 20% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  50% {
    transform: translateY(5px);
  }
  60% {
    transform: translateY(-15px);
  }
  80% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(0);
  }
}
.win {
  animation-name: Bounce;
  animation-duration: 1000ms;
}

/*# sourceMappingURL=wordle-style.css.map */
