body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    background: #FAF3E0;
    flex-direction: column;
}

#game-wrapper {
    box-sizing: border-box;
    width: fit-content;
    height: fit-content;
    display: grid;
    grid-template-columns: 50px auto;
    grid-template-rows: 50px auto;
    padding: 20px;
    background: #FCF8E3;
    border-radius: 10px;
    border: 2px solid #868080;
}

h1 {
    font-family: 'system-ui', monospace;
    color: #868080;
}

.subtitle {
    font-family: 'system-ui', monospace;
    color: #868080;
}

#col-header {
    grid-row-start: 2;
    display: grid;
    grid-template-rows: repeat(10, 50px);
}

#row-header {
    grid-row-start: 1;
    grid-column-start: 2;
    display: grid;
    grid-template-columns: repeat(10, 50px);
}

#game-grid {
    display: grid;
    grid-template-columns: repeat(10, 50px);
    grid-template-rows: repeat(10, 50px);
    grid-column-start: 2;
    grid-row-start: 2;
    background-size: cover;
    background-repeat: no-repeat;
}

.tile {
    background-color: white;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75em;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid #868080;
    text-align: center;
    transition: background-color 2s ease-in-out;
}

.col-header-tile, .row-header-tile {
    background-color: #868080;
    color: white;
    cursor: default;
}

.borderless-tile {
    /* border: none; */
}

.transparent-tile {
    background-color: transparent;
}

.wrong-solution {
    background-color: #CD5C5C;
}

.current-puzzle {
    background-color: #2E8B57;
}

.suggested-tile {
    background-color: #FCF8E3;
    border: 2px solid black;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #FAF3E0;
    color: black;
    text-align: center;
    padding: 10px 0;
}