* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

main {
    width: 100%;
    /*     width: fit-content; */

    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 3px 0px 10px 3px rgb(14, 13, 13);
    background: url(IMG/tablero.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

#mensaje {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
    width: 30%;
    padding: 30px;
    max-width: 500px;
    background-color: rgba(251, 253, 252, 0.856);
    font-weight: bold;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 15px;
    gap: 15px;
    visibility: hidden;
    text-align: center;
    transition: .5s;
}

#mensaje p {
    letter-spacing: 2px;
    font-size:30px;
}

.peq {
    display: none;
    font-size: 15px;
    color: green;
}

#cerrar {
    padding: 10px 20px;
    background-color: rgb(82, 47, 8);
    color: aliceblue;
    letter-spacing: 1px;
    cursor: pointer;
}

.pantalla .arriba {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.caja_opor {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    
}

#usar_opor {
    color: rgb(198, 212, 198);
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
    border-radius: 7px;
    cursor: pointer;
    background-color: rgba(0, 128, 0, 0.397);
    transition: 1s;
}

.oportunidades,
.rounds {
    max-width: 200px;
    text-align: center;
    font-weight: bold;
    backdrop-filter: blur(5px);
    padding: 10px 30px;
    border-radius: 7px;
    box-shadow: 0px 2px 2px 2px rgb(85, 45, 7);
}

.oportunidades i {
    text-align: center;
    color: rgb(223, 13, 13);
    font-size: 25px;
    text-shadow: 3px 3px 3px rgb(77, 29, 29);
}



.rounds p:nth-of-type(2) {
    font-size: 2em;
}

.pantalla .bajo {
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: space-around;
    display: flex;
    align-items: center;
    margin:10px auto;
    font-size: 1.5em;
    font-weight: bold;
}

#empate {
    display: none;
}

.seleccion {
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.seleccion span {
    text-transform: uppercase;
    font-size: 1.5em;
    color: rgb(8, 235, 148);
}

.bajo .icono {
    width: 50%;
    max-width: 160px;
    backdrop-filter: blur(5px);
    text-align: center;
    padding: 5px 10px;
    border-radius: 7px;
}

.icono img {
    width: 50%;
}

.vs {
    font-size: 2.5em;
}

.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   
}

.btns {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-around;
}

.piedra {
    background: url(./IMG/manoPiedra.png);
}

.papel {
    background: url(./IMG/manoPapel.png);
}

.tijeras {
    background: url(./IMG/manoTijera.png);
}

.btn {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 150px;
    height: 150px;
    border-radius: 100%;
    cursor: pointer;
    transition: .3s;
    position: relative;
}

.btn::after {
    content: attr(data-name);
    position: absolute;
    width: 100%;
    padding: 10px 0px;
    bottom: -40px;
    background: white;
    font-weight: bold;
    border-radius: 10px;
    transform: translate(-50%, -50%);
}


.btns .btn:hover {
    scale: 1.1;
    box-shadow: 0px 0px 4px 3px rgb(8, 235, 148);
}


#jugar {
   /*  margin: 50px 0px 10px; */
    width: 100%;
    max-width: 300px;
    padding: 20px 0;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 40px;

    cursor: pointer;
    border: none;
    box-shadow: 0px 0px 3px 3px rgb(44, 42, 42);
    transition: .3s;
}

#jugar:hover {
    background-color: rgb(173, 117, 65);
    color: rgb(252, 251, 251);
    box-shadow: 0px 0px 3px 3px rgb(63, 36, 11);
    letter-spacing: 6px;
}

@media (max-height: 1000px) {
    .icono {
        width: 100px;
    }

    .btn {
        width: 100px;
        height: 100px;
    }

    .pantalla .bajo {
        margin-top: 6px;
    }
}

@media (max-width:1000px) {
    * {
        font-size: calc(100% - 1px);
    }
     .arriba{
        width: 100%;
        display: flex;
        gap: 4px;
        justify-content: space-between;
    }

    #usar_opor {
        width: 30%;
        min-width: 100px;
    }
    .oportunidades i{
        font-size: 13px;
    }
    .rounds {
        padding:7px;
    }
    .caja_opor{
        gap: 4px;
    }
    .footer{
        max-width: 500px;
        margin: auto;
    }
    .btn {
        width: 65px;
        height: 65px;
    }




}