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

body {
    background: linear-gradient(#77fc77, #5ed65e);
}

.game-board {
    width: 100%;
    height: 80vh;
    margin: auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(#87ceeb, #e0d6ff);
}

.pipe {
    position: absolute;
    bottom: 0;
    width: 80px;
    animation: pipe-animation 1.5s linear infinite;
}


@keyframes pipe-animation {
    from {
        right: -80px;
    }
    to {
        right: 100%;
    }
}

.mario {
    width: 150px;
    position: absolute;
    bottom: 0;
}

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

@keyframes jump {
    0% {
        bottom: 0;
    }
    40% {
        bottom: 180px;
    }
    50% {
        bottom: 180px;
    }
    60%{
        bottom:180px;
    }
    100% {
        bottom: 0;
    }
}

.clouds {
    position: absolute;
    width: 500px;
    animation: clouds-animation 20s linear infinite;
}

@keyframes clouds-animation {
    from {
        right: -500px;
    }
    to{
        right: 100%;
    }
}