html {
  box-sizing: border-box;
  touch-action: manipulation;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.space-mono-regular {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.space-mono-bold {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

.space-mono-regular-italic {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

.space-mono-bold-italic {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: italic;
}

body {
  font-family: Arial, sans-serif;
  font-size: 1.2em;
  color: #FDFFE7;
  background-color: #2B3467;
  transition: background-color 0.5s ease; /* Add this line for smooth transitions */
  margin: 0;
  padding: 0;
}

@media (max-width: 450px) {
  body {
    font-size: 0.7em;
  }
}
.hidden {
  display: none;
}

#nav-bar {
  font-size: 0.8em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #EB455F;
  color: #FDFFE7;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

#score {
  font-size: 2em;
  font-weight: 600;
  color: #EB455F;
  background: #FDFFE7;
  padding: 5px 14px;
  border-radius: 35px;
}

.outer-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #252a44;
}

.wrapper {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 600px;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.score {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  color: #EB455F;
  background: #FDFFE7;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card {
  background-color: #EB455F;
  padding: 20px;
  border-radius: 30px;
  margin-bottom: 20px;
  transition: transform 0.6s;
  text-align: center;
  min-height: 220px;
  font-size: 4em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FDFFE7;
}

#word-value {
  font-weight: 600;
  position: absolute;
  top: 25px;
  right: 45px;
  z-index: 999;
}

#word-display {
  display: flex;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

#letterboxes {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

#boxWrapper {
  display: flex;
  align-items: center;
  flex-direction: row;
  position: relative;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

#input-wrapper {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  text-align: left;
}

.box {
  border: 1px solid #EB455F;
  border-top: 2px solid #EB455F;
  border-bottom: 2px solid #EB455F;
  padding-left: 1px;
  padding-right: 1px;
}
.box:first-of-type {
  border-left: 2px solid #EB455F;
}
.box:last-of-type {
  border-right: 2px solid #EB455F;
}

.syllable {
  letter-spacing: 4px;
  display: inline-block;
  color: #FDFFE7;
}

.syllablebox-1 {
  background: #ff8799; /* Color for the first syllable */
}

.syllablebox-2 {
  background: #ff677f; /* Color for the second syllable */
}

.syllablebox-3 {
  background: #ff8799; /* Color for the third syllable */
}

.syllablebox-4 {
  background: #ff677f; /* Color for the third syllable */
}

.syllablebox-5 {
  background: #ff8799; /* Color for the third syllable */
}

.syllablebox-6 {
  background: #ff677f; /* Color for the third syllable */
}

.syllablebox-7 {
  background: #ff8799; /* Color for the third syllable */
}

.syllablebox-8 {
  background: #ff677f; /* Color for the third syllable */
}

span.letter {
  padding: 2px;
}

.game-container {
  text-align: center;
}

#countdown {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #EB455F;
}

input {
  padding: 10px;
  margin: 10px 0;
  width: 80%;
  font-size: 16px;
}

#custom-input {
  width: 100%;
  box-sizing: border-box;
  outline: none;
  display: flex;
  align-items: center;
  z-index: 999;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 4px;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

#feedback {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #EB455F;
}

#definition {
  display: none;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  max-width: 600px;
  color: #FDFFE7;
  font-size: 1.4em;
}

#keyboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 20px auto;
}

.keyboard-row {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.key {
  width: 50px;
  height: 50px;
  margin: 5px;
  font-size: 18px;
  cursor: pointer;
}

#attempt-box {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 10px;
  font-size: 18px;
}

.key:nth-child(1) {
  margin-left: 0;
}

.key:nth-child(10) {
  margin-right: 0;
}

.key:nth-child(9) {
  margin-right: 0;
}

.key:nth-child(8) {
  margin-right: 0;
}

.key:nth-child(7) {
  margin-right: 0;
}

.key:nth-child(6) {
  margin-right: 0;
}

.key:nth-child(5) {
  margin-right: 0;
}

.key:nth-child(4) {
  margin-right: 0;
}

.key:nth-child(3) {
  margin-right: 0;
}

.key:nth-child(2) {
  margin-right: 0;
}

.key:nth-child(1) {
  margin-right: 0;
}

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