* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.game-board {
    position: relative;
    background-image: url("../assets/images/background.png");
    border-bottom: green solid 1px;
    height: 400px;
    width: 100%;
    margin: auto;
    overflow: hidden;
    animation: background-animation 5s linear infinite;
}

.persona {
    position: absolute;
    bottom: 0;
    width: 100px;
}

.jump {
    animation: jump-animation 600ms ease-out ;
}

.energy-ball {
    position: absolute;
    width: 50px;
    bottom: 20px;
    animation: energy-ball-animation 2s linear infinite;
}

.pause {
    animation-play-state: paused !important;
}

@keyframes energy-ball-animation {
    from {
        right: -25%;
    }

    to {
        right: 115%;
    }
}

@keyframes jump-animation {
    0% {
        bottom: 0;
    }

    40% {
        bottom: 90px;
    }

    60% {
        bottom: 80px;
    }

    100% {
        bottom: 0;
    }
}

@keyframes background-animation {
    from{
        background-position: left;
    }


    to {
        background-position: right;
    }
}