#top {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
}

.side-title-nav {
    display: flex;
    justify-content: flex-start;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #333;
    display: flex;
    align-items: center;
    font-size: 3rem;
    flex-direction: column;
    color: white;
}

.title {
    margin: 20px;
    text-align: center;
}

.subtext {
    color: #CCC;
    font-size: 1.54rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.reset-game, .mines-left, .time-left {
    padding: 5px;
}
.reset-game {
    border: 1px black solid;
    cursor: pointer;
}

.game-mode {
    color: #CCC;
    font-size: 1.54rem;
    margin-bottom: 10px;
    display: flex;
    justify-content:center;
    gap: 20px;
}

.beginner, .intermediate, .expert {
    border: 1px black solid;
    padding: 5px;
}
.beginner:hover,
.intermediate:hover,
.expert:hover,
.reset-game:hover {
    background-color: rgb(65, 65, 65);
    cursor:pointer;
}

.board {
    display: inline-grid;
    padding: 10px;
    grid-template-columns: repeat(var(--size-width), 45px);
    grid-template-rows: repeat(var(--size-height), 45px);
    gap: 4px;
    background-color: #777;
}

.board>* {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border: 2px solid #bbb;
    user-select: none;
}

.board>[data-status="hidden"] {
    background-color: #bbb;
    cursor: pointer;
}
.board>[data-status="hidden"]:active {
    background-color: grey;
    cursor: pointer;
}

.board>[data-status="mine"] {
    background-color: red;
}

.board>[data-status="number"] {
    background-color: none;
}

.board>[data-status="flagged"] {
    background-color: yellow;
}