*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}


.game-board{
    width: 100%;
    height: 800px;
    border-bottom: 15px solid #269c08;
    margin: 0 auto; 
    position: relative;
    overflow: hidden;
    background: linear-gradient(#87CEEB, #E0F6FF);

}

.pipe{
    bottom: 0%;
    width: 80px;
    position: absolute;
    animation: pipe-animation 2s linear infinite;
}

.mario {
    width: 120px;
    position: absolute;
    bottom: 0;
}

.jump {
      animation: jump 500ms ease-out;
}

.clouds{
    position: absolute;
    width: 500px ;
    animation: clouds-animation 10s linear infinite;
}

.gameover{
    display: none;
    background-image: url('images/game-over2.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 400px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gameover.show {
    display: block;
}

@keyframes pipe-animation {
    from{
        right: -500px;
    }
    to {
        right: 100%;
    }
    
}


@keyframes jump {

    0% {
        bottom: 0;
    }
    
    40% {
        bottom: 120px;
    }

    50% {
        bottom: 120px;
    }

    60%{
        bottom: 120px;
    }
    100% {
        bottom: 0;
    }
}

@keyframes clouds-animation {
    from{
        right: 0%;
    }
    to {
        right: 100%;
    }
}