nav
{
    background-color: #3d0a89;
    top: 0;
    padding: 12px 0;
    margin-bottom: 40px;
}

nav ul
{
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav a
{
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
}

nav a:hover
{
    text-decoration: underline;
}

body
{
    font-family: sans-serif;
    text-align: center;
    background: url('../../Pics/stars.png');
    color: white;
}

#difficulty,
#new_game
{
    font-size: 15px;
    padding: 10px 20px;
    margin: 0px 5px 10px 5px;
    min-width: 140px;
    cursor: pointer;
}

#sudoku_board
{
    display: grid;
    grid-template-columns: repeat(9, 40px);
    grid-template-rows: repeat(9, 40px);
    gap: 2px;
    margin: 20px auto;
    width: fit-content;
}

input
{
    width: 38px;
    height: 38px;
    font-size: 20px;
    text-align: center;
    border: 1px solid #aaa;
    box-sizing: border-box;
}

input:disabled
{
    background-color: #eee;
}

input:nth-child(n+19):nth-child(-n+27), input:nth-child(n+46):nth-child(-n+54)
{
    border-bottom: 2px solid black;
}

input.clue
{
    background-color: #eee;
    font-weight: bold;
    pointer-events: auto;       /* Ensures it's clickable */
}

.cell-wrapper
{
    position: relative;
    width: 38px;
    height: 38px;
}

.mode_btn
{
    padding: 10px 20px;
    margin: 10px 5px;
    font-size: 16px;
    cursor: pointer;
}

.mode_btn.active
{
    background-color: #add8e6;
    font-weight: bold;
}

.notes-grid
{
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 100%;
    height: 100%;
    pointer-events: none;
    font-size: 8px;
    color: #555;
    text-align: center;
    align-items: center;
    justify-items: center;
}

.note
{
    width: 100%;
    height: 100%;
}

.highlight_btn
{
    padding: 0;
    font-size: 24px;
    margin: 5px;
    width: 50px;
    height: 50px;

    
    align-items: center;
    justify-content: center;

    text-align: center;
    vertical-align: middle;
}

.highlight_btn:disabled
{
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.mistake
{
    background-color: #f00034 !important;
    transition: background-color 1s ease;
}


#info_bar
{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
}