canvas {
  border: 7px solid #c2c2c2;
  border-radius: 50%;
}

input {
  display: block;
  border-radius: 8px;
  margin: 4px;
}

.spinning_wheel_custom_component {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
  flex-direction: column;
}

.spinning_wheel {
  flex-direction: row;
  justify-content: center;
}

.wheel {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  overflow: hidden;
  position: relative;
}

.container {
  position: relative;
}

.glass_texture {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 11;
  border-radius: 50%;
  background: linear-gradient( 310deg, rgba(255, 255, 255, 0.2) 0%, rgba(231, 231, 231, 0) 14%, rgba(255, 255, 255, 0.2) 25%, rgba(231, 231, 231, 0) 38%, rgba(255, 255, 255, 0.2) 46%, rgba(231, 231, 231, 0) 58%, rgba(255, 255, 255, 0.2) 75%, rgba(231, 231, 231, 0) 88%, rgba(255, 255, 255, 0.2) 100% );
}

.loading_container {
  display: none;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 12;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
}

.dot_loading {
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  z-index: 10;
}

.dot_loading::before, .dot_loading::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot_loading::before {
  left: -35px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.dot_loading::after {
  left: 35px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.canvas_container svg {
  width: 120%;
  height: 110%;
  position: absolute;
  top: -33px;
  left: -60px;
}

.winner_content {
  width: 36px;
  height: 36px;
  position: absolute;
  top: calc(50% - 18px);
  right: 0;
  overflow: hidden;
}

.winner {
  position: absolute;
  text-align: left;
  margin: 1.2em;
  bottom: -4px;
  left: 0px;
  z-index: 2;
  background-color: #c2c2c2;
}

.shadow{
  z-index: 1;
}

.shadow::before{
  box-shadow: -5px 1px 5px 6px rgba(0,0,0, 0.4);
}


.winner:before,
.winner:after {
  content: "";
  position: absolute;
  background-color: inherit;
}

.winner,
.winner:before,
.winner:after {
  width: 18px;
  height: 18px;
  border-top-right-radius: 60%;
}

.winner.left {
  transform: rotate(-90deg) skewX(-30deg) scale(1, 0.866);
}

.winner.right {
  transform: rotate(-30deg) skewX(-30deg) scale(1, 0.866);
}

.winner:before {
  transform: rotate(-135deg) skewX(-45deg) scale(1.414, 0.707) translate(0, -50%);
}

.winner:after {
  transform: rotate(135deg) skewY(-45deg) scale(0.707, 1.414) translate(50%);
}

.rotatewheel {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 5px;
  transform: translate(-50%, -50%);
  width: 13%;
  aspect-ratio: auto 1 / 1;
  border-radius: 50%;
  border: 5px solid #c2c2c2;
  background-repeat: no-repeat, repeat;
  background-size: 60px;
  display: flex;
  align-content: center;
  justify-content: center;
}

.rotatewheel.default {
  width: 9%;
}

.logo {
  object-fit: contain;
  max-width: 100%;
}

.spin-wheel {
  margin: 0 auto;
}

.tap-to-play {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: start;
  align-items: center;
}

.custom-border-modifier.spinning_wheel .wheel {
  padding: 40px;
}

.custom-border-modifier.spinning_wheel .wheel .container {
  padding: 0;
}

.custom-border-modifier.spinning_wheel .winner_content {
  right: 5px !important;
}

.custom-border-modifier.spinning_wheel .winner_content .winner {
  height: 18px;
  width: 18px;
}

.custom-border-modifier.spinning_wheel .winner_content .winner::before {
  height: 18px;
  width: 18px;
}

.custom-border-modifier.spinning_wheel .winner_content .winner::after {
  height: 18px;
  width: 18px;
}

.custom-border-modifier.spinning_wheel .canvas_container {
  filter: saturate(105%);
}

.custom-border-modifier.spinning_wheel .canvas_container canvas {
  border: none;
}

@media screen and (max-width: 720px) {
  .dot_loading {
    position: relative;
    width: 15px;
    height: 15px;
  }

  .dot_loading::before {
    left: -23px;
    width: 15px;
    height: 15px;
  }

  .dot_loading::after {
    left: 23px;
    width: 15px;
    height: 15px;
  }

  .rotatewheel {
    padding: 3px;
  }

  .rotatewheel.default {
    border: 3px solid #c2c2c2;
  }

  .canvas_container svg {
    width: 110%;
    height: 109%;
    top: -17px;
    left: -16px;
  }

  canvas {
    width: 100%;
  }

  .custom-border-modifier.spinning_wheel .winner_content {
    right: 0px !important;
  } 

  .custom-border-modifier.spinning_wheel .winner_content .winner {
    height: 15px;
    width: 15px;
  }

  .custom-border-modifier.spinning_wheel .winner_content .winner::before {
    height: 15px;
    width: 15px;
  }

  .custom-border-modifier.spinning_wheel .winner_content .winner::after {
    height: 15px;
    width: 15px;
  }
}

@media only screen and (min-width: 460px) and (max-width: 600px)  {
  .canvas_container svg {
    top: -21px;
    left: -21px;
  }
}

@media screen and (max-width: 320px) {
  .canvas_container svg {
    height: 108%;
    top: -13px;
    left: -13px;
  }
}
