.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: 10px
}

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

.chest__img_pack {
    width: 90%;
    margin: 10px auto 0;
    border-radius: .5em;
    padding: 10px;
    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: #ff1f1f;
    color: #fff;
    text-transform: uppercase;
    outline: none;
    border-radius: 50%;
    font-size: 18px;
    border: #ff1f1f;
    cursor: pointer;
    animation: radial-pulse 1s infinite
}

@keyframes radial-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(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: .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;
    margin-top: 0 !important;
}

.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 {
    border: 1px solid black;
    border-radius: 5px;
    text-indent: 20px;
    font: 14px/40px GothamPro, sans-serif;
    color: #767272
}

.submit-roulette {
    margin: 0;
    padding: 12px 10px;
    display: inline-block !important;
    cursor: pointer;
    color: #fff;
    background-color: #0083B2;
    text-shadow: 0 -1px 1px #64799e;
    text-decoration: underline;
    border-radius: 5px;
    font-size: 22px;
    font-weight: 700;
    line-height: 25px;
    text-transform: uppercase;
    min-width: 300px;
}