* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
.container,
.spin__btn,
.number {
  display: flex;
  justify-content: center;
  align-items: center;
}

body {
  min-height: 100vh;
  background-color: #e5e5f7;
  background: radial-gradient(circle, transparent 20%, #e5e5f7 20%, #e5e5f7 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #e5e5f7 20%, #e5e5f7 80%, transparent 80%, transparent) 10px 10px, linear-gradient(#6794E0 0.8px, transparent 0.8px) 0 -0.4px, linear-gradient(90deg, #6794E0 0.8px, #e5e5f7 0.8px) -0.4px 0;
  background-size: 20px 20px, 20px 20px, 10px 10px, 10px 10px;
}

.container {
  position: relative;
  width: 650px;
  height: 650px;
}

.spin__btn {
  position: absolute;
  width: 120px;
  height: 120px;
  background-color: #fff;
  border-radius: 50%;
  z-index: 10;
  border: 4px solid rgba(0, 0, 0, 0.75);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  font-size: 1.5em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #333;
}

.spin__btn::before {
  content: "";
  position: absolute;
  left: -36px;
  width: 40px;
  height: 50px;
  background-color: #fff;
  -webkit-clip-path: polygon(100% 15%, 0 50%, 100% 85%);
          clip-path: polygon(100% 15%, 0 50%, 100% 85%);
}

.wheel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 5px #333, 0 0 0 15px #fff, 0 0 0 18px #111;
  transition: transform 5s ease-in-out;
}

.number {
  position: absolute;
  width: 50%;
  height: 50%;
  background: var(--clr);
  transform-origin: bottom right;
  transform: rotate(calc(45deg * var(--i)));
  -webkit-clip-path: polygon(0 0, 56% 0, 100% 100%, 0 56%);
          clip-path: polygon(0 0, 56% 0, 100% 100%, 0 56%);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
}
.number span {
  transform: rotate(45deg);
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
  text-shadow: 3px 5px 2px rgba(0, 0, 0, 0.15);
}/*# sourceMappingURL=style.css.map */