#collision-count {
    /*border: black 1px solid;*/
    width: fit-content;
    height: fit-content;
    padding-left: 10px;
}

#collision-counter {
    position: absolute;
    background-color: transparent;
    top: 5px;
    left: 5px;
    z-index: 5;
    width: 400px;
    height: 60px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    /*justify-content: ;*/
}

.obstacle {
    position: absolute;
    bottom: 0;
    left:400px;
    z-index: 10;
}

#progress {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 5;
    width: 200px;
}

#runner {
    position: absolute;
    /*width:  - set in runner.js */
    /*height:  - set in runner.js */
    left: 0;
    top: 0;
    z-index: 20;

}

#runner img {
    position: absolute;
    /*width: 50px; - set in runner.js*/
    /*height: auto; - set in runner.js*/
}
.scroll_animate {
    animation: slide 8s linear infinite;
}

.scrolling-image {
    position: relative;
}

.scrolling-image-container {
    position: relative;
    margin: auto;
    overflow:hidden;
    width: var(--stage-width);

}
#wrapper {
    justify-content: center;
    background-color: antiquewhite;
}


@keyframes block {
    0% {
        left: 500px;
    }

    100% {
        left: -10px;
    }
}


@keyframes slide {
    0% {
        transform: translate(0);
    }
    100% {
        transform: translate(-3840px); /* The image width */
    }
}

.runner-animation {
    animation: runner-jump 1s linear normal;
}

@keyframes runner-jump {
    /*0% {*/
    /*    transform: translateY(var(--jump-height));*/
    /*}*/

    /* NOTE: the CSS variable "--jump-height" is defined in real time by runner.js before the animation class is added.
       the value is taken from the config file for the runner game (options.runner.jump_height) */
    25% {
        transform: translateY(var(--jump-height));
    }
    100% {
        transform: translateY(calc(0 - var(--jump-height))); /* ...because you can't just negate something in calc */
    }
}
