@import url("https://fonts.googleapis.com/css?family=Press+Start+2P&display=swap");

* {
  box-sizing: border-box;
}

@media screen and (min-width: 320px) and (max-width: 1200px) {
  /* html {
    background-image: url(../img/fondoInicio.jpg);
    background-repeat: no-repeat;
    background-size: cover;
  } */
  html {
    background-image: url(../img/fondoInicio.jpg);
    background-repeat: repeat;
    background-size: 100% 100%;
    background-size: cover;
  }
  body {
    display: none;
  }
}

/***************************************************/
/******************* 1200px ************************/
/***************************************************/

html {
  display: block;
}

body {
  /* background-color: #516dff;  */
  background: url(../img/inicio.jpg) no-repeat;
  background-size: cover;
  background-position: relative;
  color: #fff;
  font-family: "Press Start 2P", sans-serif;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  text-align: center;
}

a {
  color: #fff;
}

h1 {
  line-height: 1.4;
}

.inicio {
  position: relative;
  background: url(../img/inicio_2.jpg) no-repeat;
  background-size: cover;
}

.inicio h1 {
  color: #1e44ff;
}

.game-container {
  position: relative;
  background: url(../img/fondo.jpg) no-repeat;
  background-size: cover;
}

.inicio button:hover {
  background-color: #ffa20c;
}

.inicio button {
  font-size: large;
  color: #1e44ff;
  margin-top: 15px;
}

.btn {
  border: 1px solid #1e44ff;
  background-color: #fff;
  color: #516dff;
  padding: 15px 20px;
  font-family: inherit;
  cursor: pointer;
}

.btnlose {
  color: #ffa20c;
}
.btn:hover {
  opacity: 0.9;
  cursor: pointer;
  background-color: #0027ebe5;
  color: #ffffff;
}

.btn:focus {
  outline: 0;
}

.screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  transition: margin 0.5s ease-out;
}

.screen.up {
  margin-top: -100vh;
}

/* form ------------------- */

#contenido {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

#start-btn1 {
  font-size: medium;
  font-family: "Press Start 2P", sans-serif;
  color: #ffffff;
  background-color: #ffa20c;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0px 0px 8px #516dff;
}

#start-btn1:hover {
  color: #ffa20c;
  background-color: #ffffff;
}

.form-control::placeholder {
  color: rgb(173, 173, 173);
}

/* 
.imagenWinLose {
  width: 50px;
  height: 50px;
  object-fit: contain;
  padding: 15px;
} */

.imagenf {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.form-group button {
  border: 1px solid #516dff;
}

.form-group button:hover {
  background-color: #516dff;
  border: 1px solid whitesmoke;
}

.boton_borrar button {
  border: 1px solid #516dff;
}

.boton_borrar button:hover {
  background-color: #516dff;
  border: 1px solid whitesmoke;
}

/* juego ------------------- */
li {
  list-style: none;
}

[v-cloak] {
  display: none;
}

.nav {
  background: rgb(63, 94, 251);
  background: linear-gradient(
    61deg,
    rgba(63, 94, 251, 1) 17%,
    rgba(190, 105, 209, 1) 67%
  );
}

.logo {
  max-width: 80px;
  max-height: 80px;
}

.imgEstado {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.vuelveaintentarlo {
  background-color: #ffa20c;
  padding-bottom: 13px;
  border-radius: 2px;
}

.imgAhorcado {
  max-width: 300px;
  max-height: 300px;
}

.botones {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  background-color: rgba(245, 245, 245, 0.939);
  border-color: #516dff;
  color: #ffffffe0;
}

.botones:hover {
  border-color: #ffa20c;
}

.teclado {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.linea {
  margin-left: 10px;
}

.centrado {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}

.cuadro {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 30px;
  height: 30px;
  font-size: 20px;
  color: #000;
}
.palabraEscrita {
  background-color: #ffa20c;
}

.rojo {
  background-color: #f60002;
  color: #ffffff;
}
.verde {
  background-color: #00bb2d;
  color: #ffffff;
}

.contenedorAhorcado {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  /* border: 1px solid yellow; */
}

.contenedorAhorcadoImagen {
  width: 100%;
  height: auto;
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.contenedorPalabras {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
}
.contenedorTeclado {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}
