body {
    text-align: center;
    background-color: lightskyblue;
    margin: 0x auto;
}

button:not(.pasar) {
    width: 75px;
    height: 75px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../images/casilla_libre.png);
}

#pintarEquis {
    width: 100px;
    height: 50px;
    background-color: darkkhaki;
}

#pintarCirculo {
    width: 100px;
    height: 50px;
    background-color: aqua;
}

#idtablero {
    margin: auto auto;
    margin-top: 0;
}

.contenedor-flex {
    display: flex;
    background-color: aquamarine;
    transform: scale(0.9);
}

.contadores {
    background-color: darkgrey;
    text-align: center;
    margin: 10px;
    padding: 20px;
}

.panel-superior {
    justify-content: center;
    display: flex;
    transform: scale(0.9);
}

.pasar {
    border-radius: 1rem;
    background-color: aquamarine;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    width: 10rem;
    height: 5rem;
    padding: 1rem;
    margin: 1rem;
}

.pasar:hover {
    background-color: darkslateblue;
    cursor: pointer;
}

.botonPasar {
    padding-left: 3rem;
}

.instrucciones {
    width: 400px;
    height: 100%;
    float: left;
    text-align: left;
    padding: 10px;
    font-size: 0.9rem;
}

h2 {
    font-size: 1.2rem;
}

#idturno {
    color: black;
}

#idganador {
    color: darkgreen;
}

@media (max-width: 1235px) {

    button:not(.pasar) {
        width: 55px;
        height: 55px;
        background-size:100%;
    }

    body {
        background-color: antiquewhite;
    }
}

@media (max-width: 1075px) {

    button:not(.pasar) {
        width: 35px;
        height: 35px;
        background-size:100%;
    }

    body {
        background-color: rgb(192, 187, 42);
    }
}

@media (max-width: 755px) {

    button:not(.pasar) {
        width: 25px;
        height: 25px;
        background-size:100%;
    }

    body {
        background-color: rgb(4, 101, 118);
    }
    .contenedor-flex{
        display:grid;
        justify-content: center;
        align-items: center;
    }
}

@media (orientation: portratit) {

    button:not(.pasar) {
        width: 15px;
        height: 15px;
        background-size:100%;
    }

    body {
        background-color: rgb(162, 169, 153);
    }
    .contenedor-flex{
        display:grid;
        justify-content: center;
        align-items: center;
    }
}