* {
    padding: 0;
    margin: 0;
}

#game {
    width: 400px;
    height: 500px;
    border: 1px solid black;
    margin: auto;
    overflow: hidden;
    position: relative;
    background-color: white;
}

#block {
    width: 50px;
    height: 500px;
    background-color: black;
    position: relative;
    left: 400px;
    animation: block 1s infinite linear;
}

@keyframes block {
    0% {
        left: 400px
    }

    100% {
        left: -50px
    }
}

#hole {
    width: 50px;
    height: 200px;
    background-color: white;
    position: relative;
    left: 400px;
    top: -500px;
    animation: block 1s infinite linear;
}

#character {
    width: 50px;
    height: 100px;
    position: absolute;
    top: 200px;
}