html,body{
  overflow:hidden;
}

::-webkit-scrollbar{
   width: 2px;
}
::-webkit-scrollbar-track{
   background-color: #56331D;
}
::-webkit-scrollbar-thumb{
   background-color: #472404;
}

#demo{
  user-select:none;
  background-image:url(choco.png);
  background-size:5%;
  position:relative;
  top:0;
  left:0;
}

count{
  display:block;
  width:calc(100% - 120px);
  font-size:120px;
  height:100vh;
  line-height:100vh;
  text-align:center;
  color:#fff;
  font-weight:bold;
  cursor:pointer;
}

serif{
  position:absolute;
  top:0;
  left:0px;
  background-color:#000;
  color:#fff;
  padding:2px 24px;
}
amazon{
  position:absolute;
  top:20px;
  left:0;
}

items{
  position:absolute;
  top:0;
  right:0;
  z-index:9;
  font-size:16px;
  height:100vh;
  text-align:center;
  overflow-y:scroll;
  overflow-x:hidden;
}
items *{
  display:block;
  box-sizing:border-box;
}
item{
  width:120px;
  height:60px;
  border:1px solid #000;
  background-color:#fff;
  cursor:pointer;
  position:relative;
  top:0;
  left:0;
}
item img{
  position:absolute;
  top:0;
  left:0;
  height:60px;
}
item price{
  position:absolute;
  top:0;
  right:0;
}
item num{
  position:absolute;
  bottom:0;
  right:0;
}

item.active img{
  animation-name: imgAnime;
  animation-duration:1s;
  animation-iteration-count:infinite;
  animation-timing-function:ease;
  animation-delay: 0.5s;
  animation-direction:normal;
}

@keyframes imgAnime{
  0% {
    transform: scale(1);
  }
  80% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1.2);
  }
}

item num:hover{
  color:#0f0;
}
item price:before{
  display:inline;
  content:"$";
}
item num{
  font-weight:bold;
}
item num:before{
  display:inline;
  content:"x";
}
item num.disable{
  font-weight:normal;
  opacity:.5;
}


effect {
  position: absolute;
  left: 45%;
  top:0;
  transform: translateY(-500%);
  animation: effectAnime 2s linear 1;
}
effect img{
  width:80px;
}

/* animation */
@keyframes effectAnime {
  0% {
    transform: translateY(-100px) rotate(0);
  }
  100% {
    transform: translateY(800px) rotate(720deg);
  }
}