.chest__rotate {
  perspective: 2000px;
  width: 200px;
  height: 200px;
  position: absolute;
}

.back {
  transform: rotateY(180deg);
}

.front,
.back {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.front {
  animation: front-rotation 1s infinite;
}

.back {
  animation: back-rotation 1s infinite;
}

@keyframes front-rotation {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

@keyframes back-rotation {
  from {
    transform: rotateY(180deg);
  }
  to {
    transform: rotateY(540deg);
  }
}

.chest__title,
.chest__subtitle {
  text-align: center;
}

.chest__title {
  font-size: 24px;
  margin-bottom: 0;
}

.chest__subtitle {
  font-size: 18px;
  line-height: 20px;
}

.chest__img_pack {
  width: 60%;
  margin: 10px auto 0;
  border: 3px solid #ffd700;
  border-radius: 0.5em;
  box-shadow: 1px 20px 34px -15px gray;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chest__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chest__button button {
  position: absolute;
  width: 90px;
  height: 90px;
  background: #fcf20d;
  color: #000000;
  text-transform: uppercase;
  outline: none;
  border-radius: 50%;
  font-size: 18px;
  border: #fcf20d;
  cursor: pointer;
  animation: radial-pulse 1s infinite;
}

@keyframes radial-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 0 40px rgba(0, 0, 0, 0);
  }
}

.chest__img {
  width: 100%;
  max-width: 350px;
  margin-top: 1em;
}

.chest__img--dinamic,
.chest__coins,
.chest__order,
.chest__consult {
  display: none;
}

.chest__img--opened {
  opacity: 0.5;
}

.chest__coins {
  align-items: center;
  justify-content: center;
  position: relative;
}

.chest__coin {
  background-image: url(../images/coin2.png);
  background-position: center center;
  background-size: contain;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  text-shadow: 1px 1px #ffd700;
  cursor: pointer;
}

.chest__product {
  width: 100%;
  max-width: 200px;
  margin-bottom: 1em;
}

.chest__order,
.chest__consult {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.my_form {
  margin: 15% 25% 0 25%;
  margin-top: 0 !important;
  max-width: 300px;
  width: 100%;
  overflow: hidden;
}

.submit-roulette {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: auto;
}

.input-roulette::placeholder {
  font-size: 0.9em;
}

.input-roulette {
  border: 1px solid black;
  border-radius: 5px;
  text-indent: 20px;
  font: 14px/40px sans-serif;
  color: #767272;
}

#order_form .submit-roulette {
  display: inline-block;
  cursor: pointer;
  color: #fff;
  background-color: #2c9e76;
  border: 1px solid #167755;
  text-transform: uppercase;
  max-width: 285px;
  width: 97%;
  font-size: 19px;
  height: 54px;
}
.ring-loading {
  animation: loadingD 1.5s 0.3s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  padding: 15px !important;
  border: 7px dashed #000;
  border-radius: 100%;
  display: none;
  margin: 10px auto !important;
}

@keyframes loadingD {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/* PRELOUDER */