body {
    background-color: black;
    color: white;
    font-family: Verdana, sans-serif;
    margin: 0;
    overflow: hidden;
}

canvas {
    width: 100%;
    height: 100%
}

.overlayparent {
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.msgshown .msg, .highscoresshown .highscores {
    display: block;
}

.msg {
    display: none;

    background-color: rgba(33, 33, 33, 0.8);
    padding: 25px 10px;
    font-size: 2rem;
    opacity: 0.8;
    margin-top: 100px;
}

.highscores {
    display: none;

    background-color: rgba(33, 33, 33, 0.6);
    font-size: 1.5rem;

    padding: 25px 10px;
    min-width: 400px;
}

.highscores .title {
    border-bottom: 1px solid white;
    font-size: 2rem;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.close-button {
    float: right;
    font-size: 2rem;
}

.highscores table {
    border-collapse: collapse;
    width: 100%;
}

.highscores th, .highscores td {
    padding: 10px;
}

.highscores th {
    text-align: left;
}

.highscores tr:nth-child(odd) {
    background-color: rgb(66, 66, 66);
}

input[type="text"] {
    font-size: 1rem;
}

.bottombar {
    padding-bottom: 5px;
    font-size: 1.5rem;
    text-align: center;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
}

#score {
    display: inline-block;

    text-align: right;
    min-width: 100px;
}
