@font-face {
  font-family: "Comic Sans MS";
  src: url("./../src/fonts/COMICSANS.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.game-user-input-section {
  text-align: center;
  margin-top: 10px;
}

.heart {
  margin: 1px;
}

.game-message {
  text-align: center;
}

.game-letter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em 0.4em;
  justify-content: center;
  margin-top: 2em;
}

.game-letter-container button {
  background-color: rgb(68, 68, 68);
  border: 2px solid #26db47;
  color: #26db47;
  outline: none;
  border-radius: 0.3em;
  cursor: pointer;
  height: 3em;
  width: 3em;
}

.game-letter-container .correct {
  background-color: #008000;
  color: #ffffff;
  border: 2px solid #008000;
}

.game-letter-container .incorrect {
  background-color: #8a8686;
  color: #ffffff;
  border: 2px solid #8a8686;
}

.game-word {
  font-weight: 600;
  margin: 1em 0 2em 0;
}

.game-word span {
  text-transform: uppercase;
  font-weight: 400;
}

.game-start {
  font-size: 1em;
  padding: 1em 3em;
  color: #efefef;
  cursor: pointer;
  padding: 25px;
  margin: 25px 25px 0px 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  outline: none;
  position: relative;
  background-color: rgb(38, 38, 38);
  border: solid 1px transparent;
  border-radius: 30px;
  -webkit-font-smoothing: antialiased;
  transition: transform 0.3s ease;
  border: #efefef 2px solid;
  font-family: "Comic Sans MS", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.game-start:hover {
  transform: scale(1.05) translateY(-5px); /* Zvětšení a posun nahoru */
  box-shadow: 0px 0px 30px #26db47;
}

.game-result {
  text-align: center;
  margin-left: 8px;
  margin-right: 8px;
  margin-top: 10px;
}

.settings-head {
  font-size: 32px;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

.shakeAnimation {
  animation: shake 0.5s ease-in-out;
}

@media all and (min-width: 380px) and (max-width: 480px) {
  .game-start {
    font-size: 18px;
    padding: 25px 40px;
  }

  .game-start {
    font-size: 18px;
    padding: 25px 40px;
  }

  .game-letter-container button {
    border-radius: 0.3em;
    cursor: pointer;
    height: 2.5em;
    width: 2.5em;
  }
}

@media all and (max-width: 380px) {
  .game-letter-container button {
    border-radius: 0.3em;
    cursor: pointer;
    height: 2em;
    width: 2em;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.blink {
  animation: blink 1s infinite;
}

.pulse {
  animation: pulse 1.5s infinite;
}

.timer-style {
  font-size: 32px;
  color: white;
  padding: 5px;
  transition: all 0.5s ease;
}
