*{
  margin: 0;
  padding: 0;
}
html,body{
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#Jgame{
  position: relative;
}

#Jgame.ani::before{
  animation: up .6s linear infinite;
}
#Jgame::before{
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 400%;
  z-index: 1;
  background: url(./images/bgp.jpg) repeat-y center top ;
  background-size: contain;
}
#Jgame.ani-paused::before{
  animation-play-state:paused;
}

.can{
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 5;
}

@keyframes up{
  0% {
    bottom:0
  }

  100% {
    bottom:-702px
  }
}

.score-wrap{
  height: 40px;
  line-height: 40px;
  position: absolute;
  width: 100%;
  top: 20px;
  right: 0;
  font-size: 30px;
  color: #333;
  z-index: 10;
  color: yellow;
  font-style: normal;
  text-align: center;
}

.mouse-wrap{
  position: absolute;
}

.btn-wrap{
  z-index: 10;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding-bottom: 20px;
}
.btn-container {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 20px;
}
#tips {
  width: 80%;
  display: flex;
  justify-content: center;
  color: aliceblue;
}
.btn-start {
  width: 100px;
  height: 40px;
  /* line-height: 60px; */
  background: #7EC0EE;
  border: 2px solid #8A2BE2;
  font-size: 24px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 2px 2px #8A2BE2;
  display: block;
}
.checker{
  position: fixed;
  background-color: #000;
  z-index: 1000;
  display: none;
}
.dCan{
  position: absolute;
  top:0;
  left: 0;
  z-index: 999;
  background-color: #ccc;
}