*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#start-game, #restart-game {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
}

.game-board{
    width: 100%;
    height: 500px;
    border-bottom: 15px solid green;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(#87CEEB, #E0F6FF);
}
.end-background{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 404px;
    background-color: #008000FF;
}

.pipe{
    position: absolute;
    bottom: 0;
    width: 80px;
   animation: animacao-pipe 1.6s infinite linear;
}
.mario{
width: 150px;
    position: absolute;
    bottom: 0;
   /* padding: 0;*/
}
.jump{
    animation: pulo 500ms ease-out;
}
.cloud{
    width: 550px;
    position: absolute;
    animation: animacao-nuvens 20s infinite linear;
}
@keyframes animacao-nuvens {
    from{
right: -550px;
    }
    to{
        right: 100%;
    }
}
@keyframes animacao-pipe {
    from{
        right: -80px;
    }
to{
right: 100%;
    }
}

@keyframes pulo {
    0%{
        bottom: 0;
    }
    40%{
        bottom: 180px;
    }
    50%{
        bottom: 180px;
    }
    60%{
        bottom: 180px;
    }
    100%{
        bottom: 0;
    }
}