body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

.game-block {
    position: fixed;
    transform: translateZ(0);
}

.game-player {
    position: fixed;
    background-color: #000000;
    animation: pulse 2s infinite;
    transform: translateZ(0);
}

.game-timer {
    position: fixed;
    font-size: 20px;
    top: 10px;
    right: 10px;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, .5);
}

.game-timer .message-body {
    padding: 0.5em 0.5em;
}

.game-timer .message-body .seconds {
    font-weight: bold;
}

.game-gui {
    z-index: 2;
}

.game-score {
    position: fixed;
    font-size: 20px;
    top: 10px;
    left: 10px;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, .5);
}

.game-score .message-body {
    padding: 0.5em 0.5em;
}

.game-score .message-body .score-count {
    font-weight: bold;
}

.game-messagescreen {
    display: none;
    position: fixed;
    width: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 2px 10px rgba(0, 0, 0, .5);
}

.game-messagescreen.show {
    display: block;
}

.game-highscorelist .modal-content,
.game-nameform .modal-content {
    max-height: 300px;
    width: 350px;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, .5);
}

.game-highscorelist table {
    width: 100%;
}

.game-nomobile {
    z-index:1000;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(1, 10, 10, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 15px rgba(1, 10, 10, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(1, 10, 10, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(1, 10, 10, 0.4);
        box-shadow: 0 0 0 0 rgba(1, 10, 10, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 15px rgba(1, 10, 10, 0);
        box-shadow: 0 0 0 15px rgba(1, 10, 10, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(1, 10, 10, 0);
        box-shadow: 0 0 0 0 rgba(1, 10, 10, 0);
    }
}
