* {
    box-sizing: border-box;
    font-family: 'MuseoModerno', cursive;
}

body>div {
    padding-left: 100px;
    padding-right: 100px;
    height: 100%;
    border-radius: 50px;
    background-color: black;
}

body {
    margin: 0;
    background: url("./background.jpg");
    display: flex;
    align-items: center;
    font-size: 3rem;
    flex-direction: column;
    color: white;
}

.title {
    margin: 10px;
}

#source {
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

#source:visited() {
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

.subtext {
    color: #CCC;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.board {
    display: inline-grid;
    padding: 10px;
    grid-template-columns: repeat(var(--size), 40px);
    grid-template-rows: repeat(var(--size), 40px);
    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="mine"] {
    background-color: black;
}

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

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

.board>[data-status*="1"] {
    color: white;
}

.board>[data-status*="2"] {
    color: blue;
}