@keyframes front-rotation {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

@keyframes back-rotation {
    from {
        transform: rotateY(180deg);
    }
    to {
        transform: rotateY(540deg)
    }
}

@keyframes radial-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, .5)
    }
    100% {
        box-shadow: 0 0 0 40px transparent
    }
}

.chest * {
    padding: 0 !important;
    margin: 0 !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.chest {
    min-height: 100vh !important;
    background: #eee!important;
    text-align: center !important;
}
.chest .order-form-wrapper {
    box-shadow: none !important;
}

.chest .chest-rotate {
    perspective: 2000px !important;
    width: 200px !important;
    height: 200px !important;
    position: absolute !important;
}

.chest .front,
.chest .back {
    width: 100% !important;
    height: 100% !important;
    backface-visibility: hidden !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

.chest .front {
    animation: front-rotation 1s infinite !important;
}

.chest .back {
    animation: back-rotation 1s infinite !important;
}

.chest .chest-title, .chest-subtitle {
    text-align: center !important;
}

.chest .select-block *:after,
.chest .select-block *:before {
    content: unset !important;
}

.chest .select-block h2 {
    font-size: 20px !important;
    line-height: 25px !important;
    font-weight: 700 !important;
    margin: 0 0 15px 0 !important;
    color: #fff !important;
}

.chest .chest-title {
    font-size: 24px !important;
    margin: 0px 0 5px 0 !important;
    color: #555 !important;
    padding: 0 !important;
}

.chest .chest-subtitle {
    font-size: 15px !important;
    line-height: 20px !important;
    color: #555 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 500 !important;
}

.chest .chest-img-pack {
    /* width: 90% !important; */
    /* margin: 10px auto 0 !important; */
    /* border: 3px solid gold !important; */
    /* border-radius: .5em !important; */
    /* box-shadow: 1px 1px 4px 1px grey !important; */
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: #eee !important;
}

.chest .chest-button {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.chest .chest-button button {
    position: absolute !important;
    width: 90px !important;
    height: 90px !important;
    background: #ff1f1f !important;
    color: #fff !important;
    text-transform: uppercase !important;
    outline: none !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    border: #ff1f1f !important;
    cursor: pointer !important;
    animation: radial-pulse 1s infinite !important;
}


/*.chest .chest-img {
    width: 100% !important;
    max-width: 350px !important;
    margin-top: 1em !important;
}*/

.chest .chest-img-dynamic, .chest-coins, .chest-order, .chest-consult {
    /* display: none; */
}

.chest .chest-img-opened {
    opacity: .5 !important;
}

.chest .chest-coins {
    background: unset !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.chest .chest-coin {
    background-image: url(../images/coin2_1.png) !important;
    background-position: center center !important;
    background-size: contain !important;
    width: 180px !important;
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 24px !important;
    line-height: 30px !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px gold !important;
    cursor: pointer !important;
}

.chest .chest-img img {
    max-width: 350px !important;
    width: unset !important;
    height: 100% !important;
    min-height: unset !important;
    min-width: unset !important;
}

.chest .chest-product {
    width: 100% !important;
    max-width: 200px !important;
    margin-bottom: 1em !important;
}

.chest .chest-order, .chest-consult {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.chest .top-block {
    margin: 0 !important;
    padding: 10px !important;
}

.chest .top-block h1 {
    font-weight: 700 !important;
    color: #1e2d4c !important;
    font-size: 20px !important;
    text-align: center !important;
    margin: 0 !important;
    line-height: 25px !important;
}

.chest .chest-title-wrap {
    margin: 0 0 15px 0 !important;
}

.chest .top-block p {
    color: #888787 !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    text-align: center !important;
}

.chest .select-block {
    background: #eb4d36 !important;
    padding: 10px 10px !important;
    /* width: 50% !important; */
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 400 !important;
}

.chest .congratulations {
    font-size: 18px !important;
    margin: 0 0 15px 0 !important;
    font-weight: 500 !important;
    color: #1e2d4c !important;
    line-height: 20px;
}

.chest .text-big {
    text-align: center !important;
    font-size: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #fff !important;
    line-height: 20px !important;
}