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

.game-board {
  width: 70%;
  height: 500px;
  border: 1px solid #333;
  border-bottom: 15px solid #2fcb82;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: rgb(69, 121, 216);
}

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

.wasted {
  position: absolute;
  bottom: 0;
  left: 360px;
  width: 90px;
}

.jump {
  animation-name: jump;
  animation-duration: 700ms;
  animation-timing-function: ease-out;
}

.pype {
  position: absolute;
  bottom: 0;
  width: 80px;
  animation-name: pipe-animation;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.pype-left {
  left: 450px;
}

.bush1 {
  position: absolute;
  bottom: -10px;
  right: -15px;
}

.bush2 {
  position: absolute;
  bottom: -10px;;
  left: -20px;
}

.cloud1 {
  position: absolute;
  width: 300px;
  animation-name: cloud1-animation;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.cloud2 {
  position: absolute;
  width: 100px;
  top: 30px;
  animation-name: cloud2-animation;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.cloud3 {
  position: absolute;
  width: 250px;
  top: 50px;
  animation-name: cloud3-animation;
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

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

  40% {
    bottom: 150px;
  }

  50% {
    bottom: 150px;
  }

  60% {
    bottom: 150px;
  }

  100%{
    bottom: 0;
  }
}

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

  to {
    right: 100%;
  }
}

@keyframes cloud1-animation {
  from {
    right: -500px;
  }

  to {
    right: 100%;
  }
}

@keyframes cloud2-animation {
  from {
    right: -700px;
  }

  to {
    right: 100%;
  }
}

@keyframes cloud3-animation {
  from {
    right: -700px;
  }

  to {
    right: 100%;
  }
}