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

.gameboard {
  width: 100%;
  height: 500px;
  border-bottom: 15px solid rgb(35, 160, 35);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#87CEEB, #E0F6FF)
}

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

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

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

.jump {
  animation: jump-animation 0.5s ease-out;
}

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

  to {
    right: 100%;
  }
}

@keyframes clouds-animation {
  from {
    right: -450px;
  }

  to {
    right: 100%;
  }
}

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

  40% {
    bottom: 150px;
  }

  50% {
    bottom: 150px;
  }

  60% {
    bottom: 150px;
  }

  100% {
    bottom: 0;
  }
}