@font-face {
    font-family: Baloo2;
    src: url(../../assets/css/Fonts/Baloo2-Regular.ttf) format('truetype')
}


@font-face {
    font-family: iransans;
    src: url('../../assets/css/Fonts/IRANSansWeb(FaNum).eot'),
        url('../../assets/css/Fonts/IRANSansWeb(FaNum).woff'),
        url('../../assets/css/Fonts/IRANSansWeb(FaNum).woff2'),
        url('../../assets/css/Fonts/IRANSansWeb(FaNum).ttf')
}

* {
    font-family: "Baloo2", "iransans", sans-serif;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    margin: 0;
    overflow: hidden;
    font-family: "Baloo2", "iransans", sans-serif;
    background-color: #e6d940;
}

.sudoku-container {
    border: 4px solid #1f171f;
    margin: 0 auto;
    position: relative;
    padding: 0 2px;
}

.sudoku-container::before,
.sudoku-container::after {
    position: absolute;
    border-style: solid;
    pointer-events: none;
    content: "";
}

.sudoku-container::before {
    width: 156px;
    border-width: 0 4px;
    border-color: transparent #1f171f transparent #1f171f;
    top: 4px;
    left: 156px;
    bottom: 4px;
}

.sudoku-container::after {
    height: 156px;
    border-width: 4px 0;
    border-color: #1f171f transparent #1f171f transparent;
    left: 4px;
    top: 156px;
    right: 4px;
}

tr:nth-child(1) td:nth-child(3) input,
tr:nth-child(1) td:nth-child(6) input {
    margin: 0 10px 0 0;
}

tr:nth-child(3) input,
tr:nth-child(6) input {
    margin: 0 0 10px 0;
}

.sudoku-container input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    padding: 0;
    border: 3px #2E222D solid;
    background-color: #2E222D;
    color: #eee;
}

.sudoku-container input:focus {
    border-color: #007bff;
}

.sudoku-container input.highlight {
    background-color: #40e682;
    border-color: #40e682;
}

.sudoku-container input.disabled {
    cursor: not-allowed;
    background-color: #007bff;
    border-color: #007bff;
}

.sudoku-container input.disabled.highlight {
    background-color: #40e682;
    border-color: #40e682;
}

.sudoku-container .invalid {
    border-color: #e74c3c;
}

.sudoku-container .invalid:focus {
    border-color: #e74c3c;
}

.sudoku-container.valid-matrix {
    border-color: #6ae783;
}

#controls {
    margin: 20px 0;
}

.btn.primary {
    background-color: #007bff;
    box-shadow: inset 0 -3px #3b746a;
    color: white;
}