@font-face {
  font-family: DKCoolCrayon;
  src: url(DKCoolCrayon.ttf);
}
.crayon { 
  font-family: DKCoolCrayon;
  font-size:2.5em;
  font-weight: bold;
  color: whitesmoke;
}

#pizarra {
  background-color: #003300;
  border: 20px solid goldenrod;
  border-radius: 10px;
  width: 62%;
  height: auto;
  padding: 15px;
}

.gaia {
  color: white;
  text-transform: uppercase;
  margin-left: 10%;
  margin-right: 10%;
  height: 45px;
  width: auto;
  display: inline-block;
  padding: 0.25em 0.5em;
  font-size: 20px;
  text-align: center;
  background-color: Maroon;
  border: 2px solid whitesmoke;
  border-radius: 0.25em;
}
.message {
	 position: absolute;
	 right: 0.5vw;
	 bottom: 1vw;
	 max-width: 30vw;
	 font-size: 1.75vmin;
	 font-family: Verdana, sans-serif;
	 color: white;
} 

.centerimg {
  display: block;
  margin-left: auto;
  margin-right: auto;

}

main {
  max-width: 100%;
  margin: auto;
}

h1 {
  text-align: center;
  color: rgb(255, 255, 153);
}

.win {
  color: white;
  background-color: #3e8e41;
}

.loss {
  color: white;
  background-color: Crimson;
}

/* Lo de las letras de debajo del ahorcado */
#word {
  letter-spacing: 10px;
  text-align: center;
  font-size: 24pt;
  color: rgb(255, 255, 153);
  font-weight: bold;
  font-family: Arial, monospace
}

/* Lo de las letras */
#guesses {
  text-align: center;
  font-size: 1.4em;
  color: rgb(255, 255, 153);
  font-weight: bold;
  font-family: Arial, monospace
}

/* Lo del borde de las letras */
.guess {
  padding: 3px;
  display: inline-block;
  border: 2px solid rgb(255, 255, 153);
  border-radius: 2px;
  margin: 2px;
  cursor: pointer;
}

#guessBox {
    height: 30px;
    border-radius: 0.25em;
    padding-top: 2px;
    font-size: 18pt;
	font-weight: bold;
	text-align: center;
    width: 180px;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.25em 0.5em;
  margin-left: 5%;
  font-size: 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: whitesmoke;
  background-color: dodgerblue;
  border: 2px solid whitesmoke;
  border-radius: 0.25em;
  box-shadow: 0 5px #666;
}

.button:hover {background-color: blue}

.button:active {
  background-color: red;
/*   box-shadow: 0 4px darkred; */
  box-shadow: 0 0;
  transform: translateY(4px);
}