@font-face {
  font-family: "Cascadia Code";
  src: url("../fonts/CascadiaCode.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
body {
  margin: 0;
  padding: 0;
  background-color: #F5F5FA;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  font-family: "Cascadia Code", "Consolas", "Monaco", "Andale Mono", "Ubuntu Mono", monospace;
  touch-action: none;
}

.container {
  text-align: center;
  margin-top: 1rem;
}

.status-bar {
  display: flex;
  justify-content: space-between;
}

h1 {
  font-size: 2.5rem;
  color: #333;
  padding: 10px 0 10px 0;
  margin: 0;
}

#message-display {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 26px 0 26px 0;
  min-width: 340px;
  min-height: 66px;
  background-color: #F5F7F8;
  border-radius: 9.36px;
  box-shadow: -15px -15px 30px 0 #fff, 15px 15px 30px 0 rgba(29, 13, 202, 0.0901960784);
}

.game-board {
  display: grid;
  grid-template-columns: repeat(5, 60px);
  grid-gap: 10px;
  margin: 20px 0;
}

.tile {
  width: 60px;
  height: 60px;
  position: relative;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  background-color: #F5F7F8;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tile.animate {
  animation: press-down 0.3s ease;
}

.tile.shake {
  animation: shake 0.3s ease;
}

.tile.green {
  background-color: #4caf50;
  color: white;
}

.tile.yellow {
  background-color: #F4CE14;
  color: white;
}

.tile.absent {
  background-color: #787c7e;
  color: white;
}

.keyboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px;
  width: 100%;
}

.keyboard-row {
  display: flex;
  justify-content: center;
  gap: 5px;
  width: 100%;
}

.key {
  align-items: center;
  padding: 10px;
  font-size: 1rem;
  background-color: #F5F5FA;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-transform: uppercase;
  font-family: "Cascadia Code", "Consolas", "Monaco", "Andale Mono", "Ubuntu Mono", monospace;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.key:focus {
  outline: none;
}

.key-correct {
  background-color: #4caf50 !important;
  color: white;
}

.key-present {
  background-color: #F4CE14 !important;
  color: white;
}

.key-absent {
  background-color: #787c7e !important;
  color: white;
}

button {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.tile, .key, .game-board, .keyboard {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}

.point-float {
  position: absolute;
  background-color: white;
  top: -25%;
  left: -25%;
  border-radius: 4px;
  padding: 4px;
  font-size: 0.8em;
  color: rgb(0, 0, 0);
  font-weight: bold;
  pointer-events: none;
  transform: translateY(0);
  opacity: 1;
  animation: float-up 1s ease-out forwards;
  z-index: 10;
}

.letter {
  display: inline-block;
  font-weight: bold;
  font-size: 2.5rem;
  color: #333;
  padding: 10px 0 10px 0;
  margin: 0;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.letter-exit {
  animation: slideOut 0.3s forwards;
}

.letter-enter {
  transform: translateY(-100%);
  opacity: 0;
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideOut {
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}
body.dark-mode {
  background-color: #1a1a1a;
  color: #f2f2f2;
}

body.dark-mode #message-display {
  background-color: #2a2a2a;
  box-shadow: -15px -15px 30px 0 rgba(14, 7, 100, 0.0901960784), 15px 15px 30px 0 #0f0f0f;
}

body.dark-mode .tile {
  background-color: #1a1a1a;
  height: 58px;
  width: 58px;
  border: 1px solid #444;
  color: #fff;
}

body.dark-mode .tile.green {
  background-color: #4caf50;
  color: #fff;
}

body.dark-mode .tile.yellow {
  background-color: #F4CE14;
  color: #fff;
}

body.dark-mode .tile.absent {
  background-color: #2a2a2a;
  color: #fff;
}

body.dark-mode .key {
  background-color: #2d2d2d;
  color: #f2f2f2;
}

body.dark-mode .key-present {
  background-color: #F4CE14;
  color: #000;
}

body.dark-mode .key-correct {
  background-color: #4caf50;
  color: #fff;
}

body.dark-mode .key-absent {
  background-color: #444;
  color: #aaa;
}

body.dark-mode .point-float {
  color: rgb(0, 0, 0);
}

body.dark-mode .status-bar,
body.dark-mode h1,
body.dark-mode span {
  color: #e0e0e0;
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(-20deg);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20px) rotate(-20deg);
    opacity: 0;
  }
}
@keyframes press-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes shake {
  0% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(-6deg);
  }
  40% {
    transform: rotate(6deg);
  }
  60% {
    transform: rotate(-4deg);
  }
  80% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0);
  }
}
@media (max-width: 600px) {
  .container {
    margin: 0;
  }
  .status-bar {
    margin-top: -5%;
    margin-bottom: -5%;
  }
  .key {
    font-size: 14px;
    width: 100%;
  }
  h1, span {
    font-size: 2rem;
  }
  .keyboard {
    gap: 3px;
    width: 95%;
  }
  .keyboard-row {
    justify-content: space-between;
    gap: 3px;
  }
}/*# sourceMappingURL=index.css.map */