#popup,
#level,
#leaderboard,
#menu {
    background-color: #222;
    width: fit-content;
    padding: 16px;
    color: white;
    line-height: 32px;
    box-shadow: black 0 0 5px;
    position: absolute;
}

#menu {
    z-index: 10;
}

#popup {
    z-index: 20;
    width: 200px;
}

#leaderboard {
    z-index: 15;
}

.hide {
    display: none;
}

label {
    margin-left: 20px;
}

input {
    font-size: 12px;
    width: 50px;
    border: 2px solid white;
    background-color: #222;
    color: white;
    /*font-family: 'Henny Penny';*/
    font-family: monospace;
}

#popup input {
    width: 150px;
}

button {
    display: block;
    border: 2px solid white;
    background-color: #222;
    color: white;
    /*font-family: 'Henny Penny';*/
    font-family: monospace;
    width: 100%;
    margin-top: 10px;
}

button:active {
    border-color: #777;
    color: #777;
    background-color: black;
}

body {
    /*font-family: 'Henny Penny';*/
    font-family: monospace;
    background-color: #111;
    margin:0;
}

#mainContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#levelTable {
    border-spacing: 0;
}

#levelTable td {
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
    padding: 0;
    font-family: monospace;
    line-height: 16px;
    text-align: center;
    user-select: none;
}

.cellUnexposed {
    background-image: url(img/klepa.PNG);
}

.cellBombShown,
.cellBomb {
    background-image: url(img/bomb.PNG);
}

.cellFlagged {
    background-image: url(img/flaga.PNG);
}

.cellQmark {
    background-image: url(img/pyt.png);
}

.cellExposed {
    background-image: none;
    background-color: #c0c0c0;
    color: black;
}

#leaderboardtablediv {
    height: 400px;
    min-width: 330px;
    overflow-y: scroll;
}

#leaderboardtablediv td,
#leaderboardtablediv th {
    padding: 5px;
    border: 1px solid white;
    font-family: monospace;
    min-width: 150px;
}

#leaderboardtablediv th {
    background-color: #444;
    color: white;
}