@import url("https://fonts.googleapis.com/css?family=Material+Icons|Work+Sans:400,700,900");
body {
  overflow: hidden;
}

.roulette {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  font-family: "Work Sans", sans-serif;
}

.roulette .shadow {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: 0 0.3em 0 rgba(0, 0, 0, 0.25) inset;
}
.roulette .markers {
  display: block;
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  overflow: hidden;
  border-radius: 100%;
}
.roulette .markers .marker {
  position: absolute;
  width: 0;
  height: 0;
  top: -200px;
  left: 200px;
  transform-origin: 0% 400px;
  border: 0 solid transparent;
}
.roulette .markers .triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1.5em 0 1.5em 1.5em;
  border-color: transparent transparent transparent #007bff;
  position: absolute;
  border-left-color: #FFF;
  top: 50%;
  left: -1px;
  margin-top: -1.5em;
  filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
}
.roulette .spinner {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  overflow: hidden;
  transform: rotateZ(0deg);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.roulette .spinner .item {
  position: absolute;
  width: 0;
  height: 0;
  top: -200px;
  left: 200px;
  transform-origin: 0% 400px;
  border: 0 solid transparent;
}
.roulette .spinner .item .label {
  display: block;
  position: absolute;
  color: #FFF;
  font-weight: 800;
  top: 0;
  left: 0;
  white-space: nowrap;
  transform-origin: 0 0;
}
.roulette .spinner .item .label i, .roulette .spinner .item .label .text {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 0.75em;
  text-indent: 0;
  margin-left: 8px;
}
.roulette .button {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 998;
  position: absolute;
  background: #FFF;
  border: none;
  border-radius: 100%;
  outline: none;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  box-shadow: 0 0.4em 0 rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  padding: 0;
}

.roulette .button .logo-button {
  width: 60%;
  height: 60%;
  object-fit: contain;
  border-radius: 50%;
}

.roulette.busy .button {
  transform: translate(-50%, -50%) scale(0.9);
  box-shadow: 0 0.15em 0 rgba(0, 0, 0, 0.25);
  cursor: default;
}

.prize-display {
  font-family: "Work Sans", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s;
}

.prize-display.show {
  opacity: 1;
}

.prize-content {
  background: white;
  padding: 2em;
  border-radius: 10px;
  text-align: center;
  max-width: 80%;
  animation: zoomIn 0.5s;
}

.prize-content h2 {
  font-family: "Work Sans", sans-serif;
  color: #424A7D;
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.prize-name {
  font-size: 2.5em;
  font-weight: bold;
  color: #F1B600;
  margin: 0.5em 0;
}

.hidden {
  display: none;
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}