html {
    height: 100%;
    font-family: sans-serif;
    background: black;
    color: white;
}

.hide {
    display: none !important;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error {
    background: #fd6565 !important;
}

.acierto {
    background: #a5dca5 !important;
}

.toolbar {
    margin-top: 1em;
    margin-bottom: 1em;
}

#tablero {
    display: flex;
    flex-direction: column;
    background: #f0d9b5;
}

.resaltar:after {
    content: "";
    background: #00000045;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

.resaltar-plus:after {
    content: "";
    background: red;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

.fila {
    width: 100%;
    height: inherit;
    display: flex;
    flex-direction: row;
}

.celda {
    position: relative;
    width: inherit;
    height: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2em;
}

@media all and (max-width: 650px) {
    .celda {
        font-size: 1.2em;
    }
}

@media all and (max-width: 400px) {
    .celda {
        font-size: 1em;
    }
}

@media all and (max-width: 280px) {
    .celda {
        font-size: 0.8em;
    }
}

@media all and (max-width: 205px) {
    .celda {
        font-size: 0.5em;
    }
}

#request {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
}

.fila:nth-child(odd) .celda:nth-child(even),
.fila:nth-child(even) .celda:nth-child(odd) {
    background: #b58863;
}

#panel {
    margin-top: 1em;
}

.resultados tr>td:last-child {
    text-align: right;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1em;
}

@media (orientation: portrait) {
    #tablero {
        width: 80vw;
        height: 80vw;
    }
}

@media (min-width: 1281px) {
    #tablero {
        width: 80vh;
        height: 80vh;
    }
}

@media (orientation: landscape) and (max-width: 1281px) {
    #tablero {
        width: 80vh;
        height: 80vh;
    }

    .wrapper {
        flex-direction: row;
        justify-content: space-around;
    }

    .toolbar {
        display: flex;
        flex-direction: column;
    }
}