
#gameContainer button {
    background-color: var(--highlight);
    color: var(--background);
    border-radius: .3em;
    border: none;
    cursor: pointer;
    width: 2em;
    margin: .5em;
}

#gameContainer input {
    border-radius: .3em;
    color: var(--background);
    background-color: var(--secondary);
    border: none;
    width: 5em;
    height: 2em;
    margin: .5em;
}

#sweeperHeader {
    width: 100%;
    margin-bottom: 2px;
    border-radius: 0.3em;
    display: flex;
}

#sweeperOverlay {
    z-index: 10;
    left: 0;
    right: 0;
    margin-top: 7.37em;
    position: absolute;
    margin-inline: auto;
    width: fit-content;
    background-color: var(--primary);
}

#sweeperFooter {
    width: 100%;
    margin-top: 2em;
    display: flex;
    justify-content: center;
    justify-items: center;
}

#sweeperField {
    display: grid;
    width: 100%;
    height: 100%;
    /* grid-template-columns: repeat(9, 1fr);  Gets set in JS.
    grid-template-rows: repeat(9, 1fr); */
    gap: 2px;
}

.sweeperTile {
    background-color: var(--primary);
    border-radius: 0.3em;
    aspect-ratio: 1 / 1;
    color: var(--background);
    justify-content: center;
    display: flex;
    align-items: center;
    user-select: none;
}
