/*-------------------------------------*/
.screen {
    display: block;
}

.mobile {
    display: none;
}

/*-------------------------------------*/
.game-sudoku {
    background-color: #333;
    border: 2px solid #333;
    width: 357px;
    height: 100%;
}

.game-sudoku td {
    text-align: center;
    padding: 6px 5px 2px 5px;
    background-color: #efefef;
    width: 11%;
    height: 27px;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}
.sudoku-cell.disabled {
    color: #850606;
    font-weight: bold;
}

.game-sudoku tr:nth-child(6n+1) td:nth-child(1),
.game-sudoku tr:nth-child(6n+1) td:nth-child(2),
.game-sudoku tr:nth-child(6n+1) td:nth-child(3),
.game-sudoku tr:nth-child(6n+1) td:nth-child(7),
.game-sudoku tr:nth-child(6n+1) td:nth-child(8),
.game-sudoku tr:nth-child(6n+1) td:nth-child(9),
.game-sudoku tr:nth-child(6n+2) td:nth-child(1),
.game-sudoku tr:nth-child(6n+2) td:nth-child(2),
.game-sudoku tr:nth-child(6n+2) td:nth-child(3),
.game-sudoku tr:nth-child(6n+2) td:nth-child(7),
.game-sudoku tr:nth-child(6n+2) td:nth-child(8),
.game-sudoku tr:nth-child(6n+2) td:nth-child(9),
.game-sudoku tr:nth-child(6n+3) td:nth-child(1),
.game-sudoku tr:nth-child(6n+3) td:nth-child(2),
.game-sudoku tr:nth-child(6n+3) td:nth-child(3),
.game-sudoku tr:nth-child(6n+3) td:nth-child(7),
.game-sudoku tr:nth-child(6n+3) td:nth-child(8),
.game-sudoku tr:nth-child(6n+3) td:nth-child(9),
.game-sudoku tr:nth-child(10n+4) td:nth-child(4),
.game-sudoku tr:nth-child(10n+4) td:nth-child(5),
.game-sudoku tr:nth-child(10n+4) td:nth-child(6),
.game-sudoku tr:nth-child(10n+5) td:nth-child(4),
.game-sudoku tr:nth-child(10n+5) td:nth-child(5),
.game-sudoku tr:nth-child(10n+5) td:nth-child(6),
.game-sudoku tr:nth-child(10n+6) td:nth-child(4),
.game-sudoku tr:nth-child(10n+6) td:nth-child(5),
.game-sudoku tr:nth-child(10n+6) td:nth-child(6) {
    background: #fff;
}

.game-sudoku .red {
    background-color: #eeaeae !important;
}

.game-sudoku .blue {
    outline: 5px solid #0e63b7 !important;
}

.sudoku button {
    margin-top: 10px;
}

.sudoku  {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.sudoku > div {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 50px;
}

.sudoku button {
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.sudoku button:hover {
    background-color: darkred;
}


.sudoku button.solved {
    background-color: #0bde0f!important;
    color: black!important;
}

.sudoku button.solved:hover {
    background-color: #00ff02!important;
    color: black!important;
    box-shadow: 0 0 10px #00ff02!important;

}
/*----------------------------------------------------------------*/
.numpad-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    top: 0;
    left: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;

}

.numpad-pad {
    z-index: 101;
    top: 0;
    left: 0;
}

.numpad {
    border: 1px solid #fff;
    background-color: rgba(0, 0, 0, 0.78);
}

.numpad * {
    font-size: 30px;
}

.numpad td {
    padding: 40px;
    color: #fff;
}

.games h2 {
    color: #000!important;
}

/*----------------------------------------------------------------*/

@media only screen and (hover: none) and (pointer: coarse) {

    body {
        zoom: 0.85;
    }

    /*-------------------------------------*/
    .games {
        margin: 0;
        padding: 0;
    }

    .screen {
        display: none !important;
    }

    .mobile {
        display: block;
    }

    .sudoku > div {
        height: auto;
        display: block;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-bottom: 50px !important;
    }

    .game-sudoku td {
        padding: 15px 14px 15px 14px;
        height: 49px;
    }

    .sudoku-check {
        margin-bottom: 10px;
    }


    /*-------------------------------------*/
}





