body,
html {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 20px;
}

.index-container {
    position: relative;
    box-sizing: border-box;
 /*   padding: 6rem 0 .7rem;;*/
    min-height: 100%;
        max-width: 640px;
    margin: 0 auto;
  /*  background:#cdddfb url(../images/newpicture.jpg) no-repeat top/100%;*/
}

.my-exchange {
    position: fixed;
    top: 1.83rem;
    right: 0;
    width: 1.04rem;
    height: .97rem;

}
@keyframes up-down {
    from {
        margin-top: 0;
    }

    to {
        margin-top: -5vh;
    }
}
.shade{
    display: inline-block;
    position: absolute;
    top: 0.6rem;
    left: 23%;
    width:53%;
    animation:up-down 1s infinite alternate;
}
.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    top: 0.3rem;
}

.move-style {
background: #fff;
    width: 100%;
    margin: 0;
    border: 1px solid #cfd1d8;
    box-shadow: 0 12px 30px -15px rgb(0 0 0 / 20%);
    padding-left: 15px;
    outline: none;
    font-size: 16px;
    border-radius: 32px;
    box-sizing: border-box;
        border: 2px solid #e9a77b;
        line-height: 45px;
}


.content .exchange-btn {
   background: linear-gradient(to right, #ff5722, #FFAA00);
    border: 2px solid #FFAA00;
    text-align: center;
    color: #fff;
    cursor: pointer;
    margin: auto;
    outline: none;
    font-size: 14px;
    padding: 10px 12px;
    min-width: 100px;
    border-radius: 40px;
    margin-top: 10px;
}

.content .instructions {
    margin-top: .15rem;
    height: 1.2rem;
}

footer.hint {
    position: absolute;
    left: 0;
    bottom: .07rem;
    width: 100%;
    text-align: center;
    font-size: .23rem;
    color: #85c0f5;
}

#popup {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 2s;
}


.popup-container {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: .8rem;
    width: 6.6rem;
    height: 7.77rem;
    color: #391a12;
    background:rgba(0,0,0,0) url(../images/movepic.png) no-repeat top/100%;
    -webkit-animation-name: fadein;
    -webkit-animation-duration: 1s;
    animation-name: fadein;
    animation-duration: 1s;
}
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes warn {
    0% {
        transform: scale(0);
        opacity: 0.0;
    }
    25% {
        transform: scale(0);
        opacity: 0.1;
    }
    50% {
        transform: scale(0.1);
        opacity: 0.3;
    }
    75% {
        transform: scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0.0;
    }
}
@-webkit-keyframes warn {
    0% {
        -webkit-transform: scale(0);
        opacity: 0.0;
    }
    25% {
        -webkit-transform: scale(0);
        opacity: 0.1;
    }
    50% {
        -webkit-transform: scale(0.1);
        opacity: 0.3;
    }
    75% {
        -webkit-transform: scale(0.5);
        opacity: 0.5;
    }
    100% {
        -webkit-transform: scale(1);
        opacity: 0.0;
    }
}

/* 产生动画（向外扩散变大）的圆圈  */
.pulse {
    position: absolute;
    top: -3rem;
    width: 7.3rem;
    height: 7.3rem;
    border: .05rem solid #fcfcfd;
    border-radius:6rem;
    filter: blur(.01rem);
    z-index: 1;
    opacity: 0;
    -webkit-border-radius: 3.875rem;
    -moz-border-radius:1.875rem;
    -webkit-animation: warn 0.8s ease-out;
    -moz-animation: warn 0.8s ease-out;
    animation: warn 0.8s ease-out;
}
.popup-container .popup-content {
    position: absolute;
    top: 48%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 4rem;
    height: 1.3rem;
    transform: translate(-50%, -.13rem);
}


.popup-content .type {
    font-size: .34rem;
}

.product-name-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
}

.popup-content .product-name {
    width: 3.41rem;
    text-align: center;
    font-size: .34rem;
}


.use-btn {
    z-index: 9999;
    width: 2.9rem;
    position: relative;
    bottom: 1.5rem;
}

.face-value {
    width: 3.41rem;
    margin: .2rem 0 .45rem;
    text-align: center;
    font-size: .6rem;
}

.face-value .unit {
    font-size: .4rem;
}




