* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.game-board {
  width: 100%;
  height: 500px;
  border-bottom: 12px solid rgb(30, 190, 30);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#87CEEB , #E0F6FF);
}

.restart{
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  background-color: #da0202;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 5px 15px rgba(0,0,0,.3);
}
.restart.restart-show{
  display: block!important;
}

.restart:hover{
  background-color: #0014cc;
}

.pipe {
  position: absolute;
  bottom: -20px;
  width: 80px;
  right: 0;
  animation: pipe-animation 2s infinite linear ;
}

.mario {
  width: 150px;
  position: absolute;
  bottom: 0;

}

.jump{
  animation: jump 600ms ease-out;
}

@keyframes pipe-animation {
  from {
    right: -80px;
  }

  to {
    right: 100%;
  }
}

.clouds{
  height: auto;
  position: absolute;
  width: 550px;
  animation: clouds-animation 20s infinite linear;
}

@keyframes jump {
  0% {
    bottom: 0;
  }

  40%{

    bottom: 190px;

  }

  50% {

    bottom: 190px;

  }

  60%{
    
    bottom: 190px; 

  }

  100% {
    bottom: 0;
  }
}

@keyframes clouds-animation{

  from{
    right: -550px;
  }

  to{
    right: 100%;
  }

}
