/*CREANDO MAIN DEL JUEGO*/
.flexJuego {
    display: flex;
    grid-column: 1 / span 3;
    background-color: #114358;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
    display: none; 
}

.flexJuegoBtn1 {
    width: 120px;
    height: 70px;
    margin: 20px;
    font-family: 'Nunito', sans-serif;
    background-color: #BFD8D2;
    color: #090909;
    font-weight: 1000;
    letter-spacing: 2px;
    border: 3px solid #090909;
    border-radius: 10px;
    transition: all .2s;
    position: absolute;
    right: 30px;
}

.flexJuegoBtn2 {
    width: 100px;
    height: 70px;
    margin: 20px;
    font-family: 'Nunito', sans-serif;
    background-color: #BFD8D2;
    color: #090909;
    font-weight: 1000;
    letter-spacing: 2px;
    border: 3px solid #090909;
    border-radius: 10px;
    transition: all .2s;
    position: absolute;
    left: 30px;
}

.flexJuegoBtn3 {
    width: 150px;
    height: 70px;
    margin: 20px;
    font-family: 'Nunito', sans-serif;
    background-color: #BFD8D2;
    color: #090909;
    font-weight: 1000;
    letter-spacing: 2px;
    border: 3px solid #090909;
    border-radius: 10px;
    transition: all .2s;
    position: absolute;
    right: 30px;
    display: none;
}

.flexJuegoBtn1:hover {
    background-color: #D34240;
    scale: 1.2;
}

.flexJuegoBtn2:hover {
    background-color: #F2AA1F;
    scale: 1.2;
}

.flexJuegoBtn3:hover {
    background-color: #77DD77;
    scale: 1.2;
}

/*CREANDO HORCA*/

.flexJuegoHorca {
    display: inline-block;
    background-color: transparent;
    width: 300px;
    height: 300px;
    margin-bottom: 15px;
    position: relative;
}

.linea-base-horizontal {
    position: absolute;
    background-color: #BFD8D2;
    width: 150px;
    height: 5px;
    bottom: 20px;
    left: 20px;
    display: none;
}

.linea-base-vertical {
    position: absolute;
    background-color: #BFD8D2;
    width: 5px;
    height: 250px;
    bottom: 20px;
    left: 40px;
    display: none;
}

.linea-sup-horizontal {
    position: absolute;
    background-color: #BFD8D2;
    width: 130px;
    height: 5px;
    left: 40px;
    top: 30px;
    display: none;
}

.linea-sup-vertical {
    position: absolute;
    background-color: #BFD8D2;
    width: 5px;
    height: 20px;
    left: 170px;
    top: 30px;
    display: none;
}

.cabeza {
    position: absolute;
    border: 5px solid #BFD8D2;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    left: 150px;
    top: 50px;
    display: none;
}

.cuerpo {
    position: absolute;
    background-color: #BFD8D2;
    width: 5px;
    height: 70px;
    left: 170px;
    top: 91px;
    display: none;
}

.brazo1 {
    position: absolute;
    background-color: #BFD8D2;
    width: 5px;
    height: 40px;
    left: 160px;
    top: 100px;
    rotate: 30deg;
    display: none;
}

.brazo2 {
    position: absolute;
    background-color: #BFD8D2;
    width: 5px;
    height: 40px;
    left: 180px;
    top: 100px;
    rotate: 150deg;
    display: none;
}

.pierna1 {
    position: absolute;
    background-color: #BFD8D2;
    width: 5px;
    height: 40px;
    left: 160px;
    top: 156px;
    rotate: 30deg;
    display: none;
}

.pierna2 {
    position: absolute;
    background-color: #BFD8D2;
    width: 5px;
    height: 40px;
    left: 180px;
    top: 156px;
    rotate: 150deg;
    display: none;
}

.flexJuegoRenglones {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: transparent;
    width: 75%;
    height: 100px;
    margin-bottom: 5px;
}

.flex_letraErrada {
    display: inline-block;
    border: none;
    background-color: transparent;
    width: 50%;
    height: 50px;
    font-size: 20px;
    text-align: center;
    color: #666;
    font-weight: bold;
    letter-spacing: 10px;
    resize: none;    
}

.flex_ganador {
    position: absolute;
    background-color: #6bdb70;
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    justify-content: center;
    transition: all .5s;
    opacity: 0;
    top: 70px;
    top: 0;
    left: auto;
    right: auto;
}

.ganador_mensaje {
    width: 50%;
    font-size: 20px;
    font-family: 'Nunito', sans-serif;
    text-align: center;
    font-weight: bold;
    border: 2px solid #02a526;
    border-radius: 10px;
    padding: 5px;
    background-color: #8eee90;
    color: #054715;
    font-weight: bold;
}

.flex_perdedor {
    position: absolute;
    background-color: #FF3333;
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    justify-content: center;
    transition: all .5s;
    opacity: 0;
    top: 70px;
    top: 0;
    left: auto;
    right: auto;
}

.perdedor_mensaje {
    width: 30%;
    font-size: 20px;
    font-family: 'Nunito', sans-serif;
    text-align: center;
    font-weight: bold;
    border: 2px solid red;
    border-radius: 10px;
    padding: 15px;
    background-color: #FF9999;
    color: #F00000;
    font-weight: bold;
}

.flex_caja {
    display: flex;
    position: absolute;
    top: auto;
    left: auto;
    border: none;
    background-color: #F2AA1F;
    color: black;
    border-radius: 5px;
    border: 2px solid #073C66;
    padding: 5px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 30%;
    height: 350px;
    display: none;
}

.caja_palabra {
    border: none;
    resize: none;
    background-color: transparent;
    width: 100%;
    text-align: center;
    font-size: 30px;
    color: #073C66;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.cajaBtn {
    background-color: #073C66;
    color: #F1ECE7;
    font-size: 25px;
    font-weight: bold;
    font-family: 'Nunito', sans-serif;
    border: #184E77;
    border-radius: 5px;
    width: 50%;
    height: 70px;
    margin-top: 30px;
    transition: .2s;
}

.cajaBtn:hover {
    scale: 1.2;
    background-color: #D34240;
}

.flex_teclado {
    display: flex;
    flex-direction: column;
    background-color: #DEB13C;
    border: 2px solid black;
    padding: 3px;
    border-radius: 20px;
    width: 90%;
    display: none;
    justify-content: center;
}

.flex_teclado button {
    margin: 3px;
    width: 32px;
    height: 32px;
    font-weight: bold;
    text-align: center;
    background-color: #BFD8D2;
    border: none;
    border: 1px solid #DEB13C;
    color: #DE744C;
    border-radius: 10px;
}

.flex_teclado button:hover {
    background-color: #FF4040;
}

.teclado_fila1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.teclado_fila2 {
    display: flex;
    justify-content: center;
    align-items: center
}

.teclado_fila3 {
    display: flex;
    justify-content: center;
    align-items: center
}