html, body {
    height: 100%;
    background: #eef7dc;
    opacity: 0
}

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

.red-envelopes-box {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    background: #EFF8DB url(https://oss.chengquan.cn/chengquan_app/CQFinanceMiniImg/idex-bc.jpg) no-repeat top/100%;
}

.red-envelope-status-box {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-top: .66rem;
    height: 1rem;
}

.red-envelope-status {
    margin: 0 auto;
    width: 7.5rem;
    text-align: center;
    font-family: Alibaba-PuHuiTi-M;
    font-size: 0.82rem;
    font-weight: bold;
    color: #fff;
}


.red-envelope-details {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 1.2rem auto 0;
    height: 3rem;
    width: 5.81rem;
    font-weight: 600;
    font-size: 2.37rem;
    color: #ff0024;
}

.price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.gift-hint {
    margin: .2rem auto 0;
    width: 4.77rem;
    height: .83rem;
    font-size: 0.3rem;
    text-align: center;
    color: #c14900;
}

.notice-collection-box {
    box-sizing: border-box;
    padding: 0 .52rem;
    margin: 1.5rem auto 0;
    width: 7rem;
    /*height: 6.1rem;*/
    overflow: hidden;
}

.notice-collection-title {
    margin: .56rem auto .1rem;
    width: 2.3rem;
    height: .6rem;
    background: url(../../img/redEnvelopeJump/use-notice-title.png) no-repeat top/100%;
}

/*.notice-collection-title.active {*/
/*    background: url(../../img/redEnvelopeJump/Instructions_use.png) no-repeat top/100%;*/
/*}*/

.instructions {
    font-family: Alibaba-PuHuiTi-R;
    font-size: .24rem;
    line-height: .36rem;
    color: #322107;
    text-align: justify;
}

.bottom-information {
    padding-bottom: 1rem;
    margin-top: .28rem;
    text-align: center;
    font-family: Alibaba-PuHuiTi-R;
    font-size: .24rem;
    color: #c14900;
}


.received {
    position: absolute;
    display: none;
    top: 3.25rem;
    right: .95rem;
    width: 1.71rem;
    height: 1.5rem;
}

.paper-money {
    position: absolute;
    width: 0.56rem;
    height: 0.59rem;
    top: 1.97rem;
    left: 4.59rem;
    animation-name: paperMoney;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


/* 有公用这个动画 */
@keyframes paperMoney {
    0% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(.2rem) translateY(-.3rem);
    }

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

.light-animation {
    position: absolute;
    top: 2.36rem;
    left: .50rem;
}

.light-animation {
    width: .78rem;
    height: .78rem;
    animation-name: lightAnimation;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes lightAnimation {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
        z-index: 1;
    }

    100% {
        opacity: 0;
        z-index: 0;
    }
}

.image1 {
    background: url('../../img/redEnvelopeJump/light-small.png') no-repeat;
    background-size: 100% 100%;
}

.image2 {
    background: url('../../img/redEnvelopeJump/light-big.png') no-repeat;
    background-size: 100% 100%;
    animation-delay: 0.5s;
}

.point-animation {
    position: absolute;
    top: 2.2rem;
    right: 0;
    width: 1.78rem;
    height: 2.15rem;
    animation: pointAnimation 1s steps(1) infinite;
}

.point1 {
    background: url('../../img/redEnvelopeJump/point-light.png') no-repeat;
    background-size: 100% 100%;
}

.point2 {
    background: url('../../img/redEnvelopeJump/point-deep.png') no-repeat;
    background-size: 100% 100%;
    animation-delay: 0.5s;
}

@keyframes pointAnimation {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.right-animation {
    position: absolute;
    top: 5rem;
    right: -.6rem;
    width: 1.38rem;
    height: 1.29rem;
    animation: paperMoney 1.5s infinite linear;
}

.coin-animation {
    position: absolute;
    top: 6.2rem;
    left: 0;
    width: 1.11rem;
    height: 1.18rem;
    animation: coinMoney 1.5s infinite linear 0.2s;
}


@keyframes coinMoney {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-.4rem);
    }

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

.exchange-icon {
    position: absolute;
    z-index: 999;
    top: 1.83rem;
    right: 0;
    width: 1.04rem;
    height: .97rem;
}

.jump-icon{
    position: absolute;
    top: .71rem;
    right: 0;
    width: 1.04rem;
    height: .97rem;
}
