.purse {
  height: 170px;
  width: 170px;
  /* position: absolute; */
  /* top: 50%; */
  /* left: 50%; */
  /* margin-top: -85px; */
  /* margin-left: -85px; */
  -webkit-perspective: 1000;
  /* -webkit-box-reflect: below 0
    linear-gradient(
      hsla(0, 0%, 100%, 0),
      hsla(0, 0%, 100%, 0) 45%,
      hsla(0, 0%, 100%, 0.2)
    ); */
  -webkit-filter: saturate(1.45) hue-rotate(2deg);
}
.coin {
  height: 170px;
  width: 170px;
  position: absolute;
  -webkit-transform-style: preserve-3d;
  -webkit-transform-origin: 50%;
  -webkit-animation: spin 30s infinite;
  -webkit-animation-timing-function: linear;
}
.coin .front,
.coin .back {
  position: absolute;
  height: 170px;
  width: 170px;
  border-radius: 50%;
  background-size: cover;
}
.coin .front {
  -webkit-transform: translateZ(5.1px);
}
.coin .back {
  -webkit-transform: translateZ(-5.1px) rotateY(180deg);
}
.coin .side {
  -webkit-transform: translateX(79.9px);
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
}
.coin .side .spoke {
  height: 170px;
  width: 10.2px;
  position: absolute;
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
}
.coin .side .spoke:before,
.coin .side .spoke:after {
  content: "";
  display: block;
  height: 16.66291386px;
  width: 11.2px;
  position: absolute;
  -webkit-transform: rotateX(84.375deg);
  background: hsl(42, 52%, 68%);
  background: linear-gradient(
    to bottom,
    hsl(42, 60%, 75%) 0%,
    hsl(42, 60%, 75%) 74%,
    hsl(42, 40%, 60%) 75%,
    hsl(42, 40%, 60%) 100%
  );
  background-size: 100% 3.70286975px;
}
.coin .side .spoke:before {
  -webkit-transform-origin: top center;
}
.coin .side .spoke:after {
  bottom: 0;
  -webkit-transform-origin: center bottom;
}
.coin .side .spoke:nth-child(16) {
  -webkit-transform: rotateY(90deg) rotateX(180deg);
}
.coin .side .spoke:nth-child(15) {
  -webkit-transform: rotateY(90deg) rotateX(168.75deg);
}
.coin .side .spoke:nth-child(14) {
  -webkit-transform: rotateY(90deg) rotateX(157.5deg);
}
.coin .side .spoke:nth-child(13) {
  -webkit-transform: rotateY(90deg) rotateX(146.25deg);
}
.coin .side .spoke:nth-child(12) {
  -webkit-transform: rotateY(90deg) rotateX(135deg);
}
.coin .side .spoke:nth-child(11) {
  -webkit-transform: rotateY(90deg) rotateX(123.75deg);
}
.coin .side .spoke:nth-child(10) {
  -webkit-transform: rotateY(90deg) rotateX(112.5deg);
}
.coin .side .spoke:nth-child(9) {
  -webkit-transform: rotateY(90deg) rotateX(101.25deg);
}
.coin .side .spoke:nth-child(8) {
  -webkit-transform: rotateY(90deg) rotateX(90deg);
}
.coin .side .spoke:nth-child(7) {
  -webkit-transform: rotateY(90deg) rotateX(78.75deg);
}
.coin .side .spoke:nth-child(6) {
  -webkit-transform: rotateY(90deg) rotateX(67.5deg);
}
.coin .side .spoke:nth-child(5) {
  -webkit-transform: rotateY(90deg) rotateX(56.25deg);
}
.coin .side .spoke:nth-child(4) {
  -webkit-transform: rotateY(90deg) rotateX(45deg);
}
.coin .side .spoke:nth-child(3) {
  -webkit-transform: rotateY(90deg) rotateX(33.75deg);
}
.coin .side .spoke:nth-child(2) {
  -webkit-transform: rotateY(90deg) rotateX(22.5deg);
}
.coin .side .spoke:nth-child(1) {
  -webkit-transform: rotateY(90deg) rotateX(11.25deg);
}
.coin.skeleton .front,
.coin.skeleton .back {
  display: none;
}
.coin.skeleton .side,
.coin.skeleton .side .spoke,
.coin.skeleton .side .spoke:before,
.coin.skeleton .side .spoke:after {
  -webkit-backface-visibility: visible;
}
.coin.skeleton .side .spoke {
  background: rgba(170, 170, 170, 0.1);
}
.coin.skeleton .side .spoke:before {
  background: rgba(255, 170, 170, 0.2);
}
.coin.skeleton .side .spoke:after {
  background: rgba(204, 204, 255, 0.2);
}
@-webkit-keyframes spin {
  0 {
    -webkit-transform: rotateY(0deg);
  }
  10% {
    -webkit-transform: rotateY(360deg);
  }
  20% {
    -webkit-transform: rotateY(720deg);
  }
  30% {
    -webkit-transform: rotateY(1080deg);
  }
  40% {
    -webkit-transform: rotateY(1440deg);
  }
  50% {
    -webkit-transform: rotateY(1800deg);
  }
  60% {
    -webkit-transform: rotateY(2160deg);
  }
  70% {
    -webkit-transform: rotateY(2520deg);
  }
  80% {
    -webkit-transform: rotateY(2880deg);
  }
  90% {
    -webkit-transform: rotateY(3240deg);
  }
  100% {
    -webkit-transform: rotateY(3600deg);
  }
}
.coin .front {
  background-image: url(https://igm.games/assets/img/coins/dollar-coin.png);
  -webkit-animation: spin2 15s infinite;
  -webkit-animation-delay: 700ms;
  -webkit-animation-timing-function: linear;
}
.coin .back {
  background-image: url(https://igm.games/assets/img/coins/euro-coin.png);
  -webkit-animation: spin3 15s infinite;
  -webkit-animation-delay: 700ms;
  -webkit-animation-timing-function: linear;
}
@-webkit-keyframes spin2 {
  0 {
    background-image: url(https://igm.games/assets/img/coins/dollar-coin.png);
  }
  10% {
    background-image: url(https://igm.games/assets/img/coins/ruble-coin.png);
  }
  20% {
    background-image: url(https://igm.games/assets/img/coins/ruble-coin.png);
  }
  30% {
    background-image: url(https://igm.games/assets/img/coins/rupee-coin.png);
  }
  40% {
    background-image: url(https://igm.games/assets/img/coins/rupee-coin.png);
  }
  50% {
    background-image: url(https://igm.games/assets/img/coins/yen-coin.png);
  }
  60% {
    background-image: url(https://igm.games/assets/img/coins/yen-coin.png);
  }
  70% {
    background-image: url(https://igm.games/assets/img/coins/yuan-coin.png);
  }
  80% {
    background-image: url(https://igm.games/assets/img/coins/yuan-coin.png);
  }
  /* 90% {
    background-image: url(/assets/img/coins/lira-coin.png);
  } */
  90% {
    background-image: url(https://igm.games/assets/img/coins/dollar-coin.png);
  }
  100% {
    background-image: url(https://igm.games/assets/img/coins/dollar-coin.png);
  }
}
@-webkit-keyframes spin3 {
  0 {
    background-image: url(https://igm.games/assets/img/coins/euro-coin.png);
  }
  10% {
    background-image: url(https://igm.games/assets/img/coins/euro-coin.png);
  }
  20% {
    background-image: url(https://igm.games/assets/img/coins/canadian-dollar-coin.png);
  }
  30% {
    background-image: url(https://igm.games/assets/img/coins/canadian-dollar-coin.png);
  }
  40% {
    background-image: url(https://igm.games/assets/img/coins/real-coin.png);
  }
  50% {
    background-image: url(https://igm.games/assets/img/coins/real-coin.png);
  }
  60% {
    background-image: url(https://igm.games/assets/img/coins/piso-coin.png);
  }
  70% {
    background-image: url(https://igm.games/assets/img/coins/piso-coin.png);
  }
  80% {
    background-image: url(https://igm.games/assets/img/coins/pound-coin.png);
  }
  90% {
    background-image: url(https://igm.games/assets/img/coins/pound-coin.png);
  }
  100% {
    background-image: url(https://igm.games/assets/img/coins/singapore-dollar-coin.png);
  }
}
