/* Wheelinator segment layout and spin animation. */
.wheelinator {
  /* display: flex;
  align-items: center;
  justify-content: center; */
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 352px;
  height: 352px;
  margin: 0 auto;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .wheelinator {
    width: 50.6666666667vw;
    height: 50.6666666667vw;
  }
}
.wheelinator-layer-common {
  border-radius: 50%;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.44, -0.105, 0, 1.07);
  -webkit-animation-timing-function: cubic-bezier(0.44, -0.105, 0, 1.07);
  transform: translateZ(0);
  position: absolute;
}
.wheelinator-layer-0 {
  width: 100%;
  height: 100%;
  background-color: #d3bc72;
  z-index: 3;
}
.wheelinator-layer-0.active {
  -webkit-animation-name: spinning-0;
  animation-name: spinning-0;
}
.wheelinator-layer-1 {
  width: 70%;
  height: 70%;
  z-index: 6;
}
.wheelinator-layer-1.active {
  -webkit-animation-name: spinning-1;
  animation-name: spinning-1;
}
.wheelinator-layer-2 {
  width: 43%;
  height: 43%;
  z-index: 9;
}
.wheelinator-layer-2.active {
  -webkit-animation-name: spinning-2;
  animation-name: spinning-2;
}
.wheelinator__anker {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wheelinator__section {
  height: 100%;
  width: 42.9%;
  position: absolute;
}
.wheelinator__section-half {
  width: 100%;
  height: 50%;
  padding-top: 5%;
  display: flex;
  justify-content: center;
  clip-path: polygon(50% 100%, 0.5% 0, 101% 0);
}

.wheel_item_black{
  background: linear-gradient(
    130.23deg,
    #3d3638 18.96%,
    #54454a 56.47%,
    #17070c 97.25%
  );
}
.wheel_item_green{
  background: linear-gradient(
    188.63deg,
    #24413c 11.13%,
    #1a775b 53.24%,
    #095238 99.99%
  );
}
.wheel_item_red{
  background: linear-gradient(
    172.57deg,
    #6d1936 5.77%,
    #cd3160 49.63%,
    #921e47 99.33%
  );
}
/*.wheelinator__section:nth-child(0) .wheelinator__section-half {
  background: linear-gradient(
    188.63deg,
    #24413c 11.13%,
    #1a775b 53.24%,
    #095238 99.99%
  );
}
.wheelinator__section:nth-child(1) .wheelinator__section-half {
  background: linear-gradient(
    172.57deg,
    #6d1936 5.77%,
    #cd3160 49.63%,
    #921e47 99.33%
  );
}
.wheelinator__section:nth-child(2) .wheelinator__section-half {
  background: linear-gradient(
    188.63deg,
    #24413c 11.13%,
    #1a775b 53.24%,
    #095238 99.99%
  );
}
.wheelinator__section:nth-child(3) .wheelinator__section-half {
  background: linear-gradient(
    172.57deg,
    #6d1936 5.77%,
    #cd3160 49.63%,
    #921e47 99.33%
  );
}
.wheelinator__section:nth-child(4) .wheelinator__section-half {
  background: linear-gradient(
    188.63deg,
    #24413c 11.13%,
    #1a775b 53.24%,
    #095238 99.99%
  );
}
.wheelinator__section:nth-child(5) .wheelinator__section-half {
  background: linear-gradient(
    172.57deg,
    #6d1936 5.77%,
    #cd3160 49.63%,
    #921e47 99.33%
  );
}
.wheelinator__section:nth-child(6) .wheelinator__section-half {
  background: linear-gradient(
    188.63deg,
    #24413c 11.13%,
    #1a775b 53.24%,
    #095238 99.99%
  );
}
.wheelinator__section:nth-child(7) .wheelinator__section-half {
  background: linear-gradient(
    172.57deg,
    #6d1936 5.77%,
    #cd3160 49.63%,
    #921e47 99.33%
  );
}
.wheelinator__section:nth-child(8) .wheelinator__section-half {
  background: linear-gradient(
    188.63deg,
    #24413c 11.13%,
    #1a775b 53.24%,
    #095238 99.99%
  );
}
.wheelinator__section:nth-child(9) .wheelinator__section-half {
  background: linear-gradient(
    172.57deg,
    #6d1936 5.77%,
    #cd3160 49.63%,
    #921e47 99.33%
  );
}
.wheelinator__section:nth-child(10) .wheelinator__section-half {
  background: linear-gradient(
    188.63deg,
    #24413c 11.13%,
    #1a775b 53.24%,
    #095238 99.99%
  );
}
.wheelinator__section:nth-child(11) .wheelinator__section-half {
  background: linear-gradient(
    130.23deg,
    #3d3638 18.96%,
    #54454a 56.47%,
    #17070c 97.25%
  );
}*/
.wheelinator__section-half.red{
  background: linear-gradient(
    172.57deg,
    #6d1936 5.77%,
    #cd3160 49.63%,
    #921e47 99.33%
  ) !important;
}
.wheelinator__section-half.even{
  opacity: 1;
}
.wheelinator__section-half.odd{
  opacity: 0.8;
}
/* .wheelinator__section:nth-child(12) .wheelinator__section-half {
  background: #3d975f;
}
.wheelinator__section:nth-child(13) .wheelinator__section-half {
  background: #52bdee;
}
.wheelinator__section:nth-child(14) .wheelinator__section-half {
  background: #50a19b;
}
.wheelinator__section:nth-child(15) .wheelinator__section-half {
  background: #9b96f3;
}
.wheelinator__section:nth-child(16) .wheelinator__section-half {
  background: #301ad6;
}
.wheelinator__section:nth-child(17) .wheelinator__section-half {
  background: #49ab18;
}
.wheelinator__section:nth-child(18) .wheelinator__section-half {
  background: #f3b8b9;
}
.wheelinator__section:nth-child(19) .wheelinator__section-half {
  background: #931046;
} */
.wheelinator__button {
  width: 15%;
  height: 15%;
  border-radius: 50%;
  cursor: pointer;
  background-color: green;
  position: absolute;
  z-index: 12;
}
.wheelinator__button.inactive {
  background-color: gray;
  pointer-events: none;
  cursor: default;
}
