.roulette-wrapper {
  /* font-family: sans-serif; */
  text-align: center;
  max-width: 600px;
  margin: 20px auto;
}

.roulette-wrapper div {
  font-size: 25px;
  font-weight: bold;
}

.spin-wrapper {
  /* font-family: sans-serif; */
  max-width: 600px;
  box-shadow: 0 0 10px;
  border: 3px solid red;
  padding: 20px 10px;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
}

.spin-wrapper-text {
  line-height: 1.4;
  margin-bottom: 20px;
}

.spin-wrapper-text span {
  display: block;
}

/* spinner (start) */

.wheel {
  width: 380px;
  height: 380px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.wheel img {
  max-width: 100%;
  max-height: 100%;
}

.wheel-img {
  max-width: 100%;
  max-height: 100%;
  -webkit-transition: 4s;
  -o-transition: 4s;
  transition: 4s;
}

.wheel-cursor {
  position: absolute;
  width: 130px;
  height: 130px;
  top: 140px;
  left: 50%;
  transform: translateX(-50%)
}

.cursor-text {
  font-size: 15px;
  position: absolute;
  left: 38px;
  top: 44px;
  cursor: pointer;
}

.wheel-img {
  position: relative;
  user-select: none;
}

.wheel-img__numbers {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  user-select: none;
}

.wheel-img__number {
  color: #fff;
  font-weight: bold;
  position: absolute;
  font-size: 35px;
  line-height: 1;
}

.wheel-img__number:nth-child(1) {
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wheel-img__number:nth-child(2) {
  top: 25%;
  left: 75%;
  transform: translate(-50%, -50%) rotateZ(45deg);
}

.wheel-img__number:nth-child(3) {
  top: 50%;
  left: 85%;
  transform: translate(-50%, -50%) rotateZ(90deg);
}

.wheel-img__number:nth-child(4) {
  top: 75%;
  left: 75%;
  transform: translate(-50%, -50%) rotateZ(135deg);
}

.wheel-img__number:nth-child(5) {
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%) rotateZ(180deg);
}

.wheel-img__number:nth-child(6) {
  top: 75%;
  left: 25%;
  transform: translate(-50%, -50%) rotateZ(225deg);
}

.wheel-img__number:nth-child(7) {
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%) rotateZ(270deg);
}

.wheel-img__number:nth-child(8) {
  top: 25%;
  left: 25%;
  transform: translate(-50%, -50%) rotateZ(315deg);
}

@keyframes super-rotation {
  70% {
    transform: rotate(1640deg);
  }

  100% {
    transform: rotate(1620deg);
  }
}

.super-rotation {
  -webkit-animation-name: super-rotation;
  animation-name: super-rotation;
  -webkit-animation-duration: 7s;
  animation-duration: 7s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

.spin-result-wrapper {
  display: none;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  top: 0;
  z-index: 999;
  left: 0;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

/* spinner (end) */

.order_block {
  display: none;
  text-align: center;
  margin-bottom: 50px;
}

.order_block img {
  max-width: 320px;
  width: 100%;
}

.order_block-timer {
  font-size: 20px;
  font-weight: bold;
  color: red;
  margin: 20px auto;
}

/* popup (start) */

.pop-up-window {
  position: relative;
  max-width: 350px;
  right: 0px;
  left: 0px;
  top: 30%;
  margin: 0px auto;
  background: #fff none repeat scroll 0% 0%;
  text-align: center;
  padding: 10px;
  padding-top: 70px;
  padding-bottom: 20px;
  border-radius: 10px;
  animation: 0.7s ease 0s normal none 1 running pop-up-appear;
}

.close-popup {
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: url(../fonts/cross.svg);
  background-size: 100%;
  top: -40px;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 10px #fff;
  box-shadow: 0 0 10px #fff;
  right: 0px;
  cursor: pointer;
}

.pop-up-heading {
  font-size: 40px;
  margin-bottom: 20px;
}

.pop-up-text {
  margin-bottom: 25px;
  font-size: 24px;
  line-height: 30px;
  text-align: center !important;
}

.pop-up-text .title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.pop-up-button {
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 10px 20%;
  font-size: 20px;
  border-radius: 5px;
  background-color: #71c341;
  color: white !important;
  border: medium none;
  cursor: pointer;
  outline: medium none;
}

.pop-up-window::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  top: -55px;
  left: 0;
  right: 0px;
  margin: 0 auto;
  background-color: #71c341;
  border-radius: 50%;
  animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
}

.pop-up-window::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 20px;
  top: -20px;
  left: 0px;
  right: 0;
  margin: 0 auto;
  border-width: medium medium 4px 4px;
  border-style: none none solid solid;
  border-color: currentcolor currentcolor white white;
  -moz-border-top-colors: none;
  -moz-border-right-colors: none;
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  border-image: none;
  transform: rotate(-45deg);
  transition: opacity 1s ease 0s;
  animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-after;
}

@keyframes pop-up-appear {
  0% {
    transform: translateY(-2000px);
  }

  30% {
    transform: translateY(100px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pop-up-appear-before {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.pop-up-button:hover {
  color: white !important;
  text-decoration: none !important;
}

.pop-up-text .new_price_val,
.pop-up-text .new_price_sig,
.pop-up-text .new_price_cur {
  font-weight: bold;
  color: red;
}

@media(max-width:650px) {
  .wheel {
    width: 260px;
    height: 260px;
  }

  .wheel-img__number {
    font-size: 27px;
  }

  .spin-wrapper-text span {
    font-size: 16px;
  }

  .wheel-cursor {
    width: 90px;
    height: 90px;
    top: 95px;
  }

  .cursor-text {
    font-size: 11px;
    left: 25px;
    top: 32px;
  }
}

/* form */

.form {
  max-width: 400px;
  margin: 0 auto;
}

.form-box label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-field {
  box-sizing: border-box;
  width: 100%;
  height: 45px;
  line-height: 45px;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 0 15px;
  margin-bottom: 20px;
}

.form-btn {
  width: 100%;
  color: #fff;
  background: red;
  padding: 14px 20px;
  border-radius: 3px;
  font-size: 19px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

.prices {
  font-size: 20px;
  display: flex;
  justify-content: center;
}

.prices .old-price,
.prices .new-price {
  margin: 0 20px 20px;
}

.prices .old-price {
  text-decoration: line-through;
}

.prices .new-price {
  font-weight: bold;
  color: red;
}
