@charset "UTF-8";

.juego-section {
    padding-top: 8em;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 25%, rgba(255, 255, 255, 0.9) 100% );
    color: rgba(0, 0, 0, 0.6) 25%;
}

.ahorcado{
    display: flex;
    justify-content: center;
    margin: 0.5em auto;
    padding-bottom: 0.8rem;
    padding-top: 0.8rem;
}    

.imagen{
    position: absolute;
    max-width: 55%;
}

@media (min-width: 992px) {
    .imagen {
        max-width: 25%;
        padding-bottom: 2em;
    }
}

.imagen:nth-child(1){
    align-self: center;
    justify-self: center;
    grid-area: 1 / 1;
    margin-top: 50px;
}

.imagen:nth-child(2){
    align-self: center;
    justify-self: center;
    grid-area: 1 / 1;
    margin-top: 50px;
}

.imagen:nth-child(3){
    align-self: center;
    justify-self: center;
    grid-area: 1 / 1;
    margin-top: 50px;
}

.imagen:nth-child(4){
    align-self: center;
    justify-self: center;
    grid-area: 1 / 1;
    margin-top: 50px;
}

.imagen:nth-child(5){
    align-self: center;
    justify-self: center;
    grid-area: 1 / 1;
    margin-top: 50px;
}

.imagen:nth-child(6){
    align-self: center;
    justify-self: center;
    grid-area: 1 / 1;
    margin-top: 50px;
}

.imagen:nth-child(7){
    align-self: center;
    justify-self: center;
    grid-area: 1 / 1;
    margin-top: 50px;
}

.imagen:nth-child(8){
    align-self: center;
    justify-self: center;
    grid-area: 1 / 1;
    margin-top: 50px;
}

.imagen:nth-child(9){
    align-self: center;
    justify-self: center;
    grid-area: 1 / 1;
    margin-top: 50px;
}

#img1{
    visibility: hidden;
}
#img2{
    visibility: hidden;
}
#img3{
    visibility: hidden;
}
#img4{
    visibility: hidden;
}
#img5{
    visibility: hidden;
}
#img6{
    visibility: hidden;
}
#img7{
    visibility: hidden;
}
#img8{
    visibility: hidden;
}

#texto{
    visibility: hidden;
}

.info{
    margin: 8rem auto;
}

#guiones{
    font-size: xx-large;
    font-weight: bold;
    text-align: center;
}

#historial{
    color: chocolate!important;
}

#teclado {
    position: static;
    width: 100%;
    height: auto;
    padding: 0.5rem;
    background-color: #aaa;
    overflow: hidden;
    align-items: center;
    margin-top: 1em;
    margin-bottom: 1em;
    border-radius: 8px;
}

@media (min-width: 992px) {
    #teclado {
        padding-top: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
    }
}

#teclas>span {
    font-size: small;
    padding: 0.5em 0.5em 0.5em 0.5em;
    width: 1.8em;
    margin: 0.2em 0.2em 0.2em 0.2em;
    float:left;
    cursor:pointer;
    border-radius: 5px;
    background-color:white;
    box-sizing: border-box;
    -moz-box-shadow: 0px 5px 0px 0px rgb(45, 45, 45);
    -webkit-box-shadow: 0px 5px 0px 0px rgb(83, 83, 83);
    box-shadow: 0px 5px 0px 0px rgb(141, 139, 141);
    transition: 0.3s all;
}

@media (min-width: 992px) {
    #teclas>span {
        font-size: medium;
        padding: 0.5rem;
        width: 2.3em;
        margin: 0.3em;
        align-items: center;
        text-align: center;
    }
}

#teclas>span:hover{
    transform: scale(1.20);
    -moz-box-shadow: 0px 5px 0px 0px rgb(45, 45, 45);
    -webkit-box-shadow: 0px 5px 0px 0px rgb(83, 83, 83);
    box-shadow: 0px 5px 0px 0px rgb(77, 74, 77);
}

input {
    margin:20px 0;
}

footer{
    padding: 2em;
    background-color: rgba(0, 0, 0, 0.3) 25% !important;
}

.footer-group{
    color: darkgrey;
    text-decoration: none;
    display: inline-block;
    transition: 0.8;
}

.footer-group:hover{
    color: whitesmoke;
    scale: 1.2;
}
