* {
  margin: 0;
  padding: 0;
  --animate-duration:1.5s;
}

body {
  overflow: auto;
  height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.botao_jogo_parado {
  --color: #def700;
}

.bt_parar{
  --color: #f70000;
  font-weight: 400;
}

h1 {
  text-align: center;
  margin: 10px 0px;
  font-size: 3em;
}

#game-board {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 2em;
}

.center{
  display: flex;
  justify-content: center;
}

.flex-row{
  display: flex;
  flex-direction: row;
}

.espacamentoEntre button,
.espacamentoEntre div {
    margin: 10px;
}

.cabecalho {
  margin: 10px 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.botoes-cabecalho {
  font-size: 2rem;
  font-weight: 500;
  margin: 0px 20px;
  padding: 8px 10px;
  width: 50px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.letter-box {
  border: 2px solid gray;
  border-radius: 3px;
  margin: 2px;
  font-size: 2.5rem;
  font-weight: 700;
  height: 3rem;
  width: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  animation: pulse 1.5s infinite alternate;
}

.filled-box {
  border: 2px solid black;
}

.letter-row {
  display: flex;
  
}

#keyboard-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#keyboard-cont div {
  display: flex;
}

.segunda-linha {
  margin: 0.8rem 0;
}

.terceira-linha {
  margin-bottom: 0.8rem;
}

.keyboard-button {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 4px;
  width: 40px;
  padding: 10px;
  cursor: pointer;
  text-transform: uppercase;
  color: black;
}

#del,
#enter {
  width: fit-content;
  padding: 10px;
}

#del {
  background-color: rgb(219, 91, 91);
}

#enter {
  background-color: rgb(82, 177, 82);
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  box-shadow: 0.7px 1.4px 1.4px hsl(0deg 0% 0% / 0.48);
  border-radius: 4px;
  font-family: "Comic Sans MS", "Comic Sans", 'Comic Neue', sans-serif;
  cursor: pointer;
}

.letter {
  align-items: center;
  border: .125em solid #fafaff8e;
  border-radius: 10%;
  box-sizing: border-box;
  color: #fafaff;
  display: inline-flex;
  font-weight: 500;
  height: 2em;
  justify-content: center;
  margin: 0 .05em;
  width: 2em;
  font-size: 3em;
  /* Ajuste o tamanho da fonte conforme necessário */
}


.letter.right {
  color: #000000;
  background-color: rgb(85, 189, 85);
  border: none;
}

p .letter {
  font-size: 1em;
}

.example {
  font-size: .333em;
  margin: 10px;
}

.letter.place {
  background-color: rgb(187, 187, 81);
  border: none;
  color: #000000;
}

.letter.wrong {
  background-color: pink;
  border: none;
  color: #000000;
}

p {
  color: #000000;
  text-align: center;
  margin: 10px;
  font-size: 1.4em;
}

.espaco-cima {
  margin-top: 40px;
}

.icon-button {
  padding: 20px;
  background-color: rgb(255, 254, 196);
  box-shadow: none;
  border: none;
  border-radius: 4px;
}

.icon-button .material-symbols-outlined {
  font-size: 35px;
  color: #000;
}

#mensagemTutorial {
  box-sizing: border-box;
  padding: 5px;
  overflow: auto;
  height: auto;
  background-color: rgb(58, 50, 50);
}

#tutorial p{
  color: white;
}

#tutorial img{
  height: 50vh;
}

#mensagemPerdeu h1{
  font-size: 2em;
}

.transparent {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 4px;
  width: 40px;
  padding: 10px;
  text-transform: uppercase;
  background-color: transparent;
  color: transparent;
  box-shadow: none;
  cursor: context-menu;
}

#btn_ajuda {
  background-color: rgb(160, 160, 255);
}

#btn_dica {
  background-color: rgb(252, 252, 63);
}

#bt_continuar {
  display: none;
}

@media (max-width: 600px) {
  p {
    font-size: 1.1em;
    margin: 5px;
  }

  .letter {
    font-size: 3em;
  }

  .botao_jogo_parado {
    width: initial;
  }

  #game-board h1{
    font-size: 1.8em;
    margin-top: 10px;
    margin-bottom: 0.7em;
    text-decoration:underline;
  }

  h2{
    font-size: 1.3em;
  }

  #game-board{
    margin-bottom: 0.7em;
  }
}