body {
    margin: 0;
    padding: 0;
    background-color: #333;
    overflow: hidden;
    color: white;
    font-size: 90px;
    text-align: center;
    /* Scrollbalken weg */
}

.punkte {
    font-size: 20px;
}

/* Das Spielfeld */
#game {
    width: 600px;
    height: 200px;
    border: 4px solid white;
    background-color: skyblue;
    margin: auto;
    /* Zentrieren */
    position: relative;
    top: 100px;
    overflow: hidden;
    /* Abstand von oben */
}

/* Der rote Spieler */
#player {
    width: 50px;
    height: 50px;
    background-color: red;
    position: relative;
    top: 150px;
    /* Am Boden (200px Höhe - 50px Spieler) */
}

/* Die Sprung-Animation */
.animate {
    animation: sprung 500ms linear;
}

@keyframes sprung {
    0% {
        top: 150px;
    }

    30% {
        top: 100px;
    }

    50% {
        top: 80px;
    }

    70% {
        top: 100px;
    }

    100% {
        top: 150px;
    }
}

/* Das blaue Hindernis */
#block {
    width: 20px;
    height: 20px;
    background-color: blue;
    position: relative;
    top: 130px;
    /* Etwas höher als der Boden */
    left: 580px;
    /* Startet rechts */

    /* Animation: läuft unendlich immer wieder */
    animation: blockBewegung 1s infinite linear;
}

@keyframes blockBewegung {
    0% {
        left: 580px;
    }

    100% {
        left: -40px;
    }
}