.birthday {
    /* background-color: #000; */
    background-color: rgba(0, 0, 0, .66);
    position: fixed;
    /* opacity: 0.66; */
    display: none;
    width: 100%;
    height: 100%;
    z-index: 1001;
    top: 0;
    left: 0;
    perspective: 8.83rem;

}
.birthday .box {
    margin: 0 auto;
    width: 5.34rem;
    height: 10.09rem;
    position: relative;
    transition: all .4s;
    /* 过渡效果持续0.4秒 */
    border-radius: .11rem;
    transform-style: preserve-3d;
    margin-top: 0;
    /* 为子元素开启 三维立体环境 */
}

/* 
.box:hover {
    transform: rotateY(-180deg);
  
} */

.birthday .front {
    width: 100%;
    height: 10.09rem;
    border-radius: 0%;
    position: absolute;
    top: .8rem;
    left: 0;

    text-align: center;
    backface-visibility: hidden;
    /* 隐藏被旋转的 div 元素的背面 */
}

.birthday .back {
    width: 100%;
    padding-bottom: .44rem;
    border-radius: 0%;
    position: absolute;
    top: 2.69rem;
    left: 0;
    line-height: 100px;
    text-align: center;
    backface-visibility: hidden;
    /* 隐藏被旋转的 div 元素的背面 */
}

.birthday .front {
    z-index: 10;
    /* 设置层的优先级，否则第二个子元素会覆盖这个第一个子元素 */


}

.birthday .front .frontBg {
    width: 5.34rem;
    height: 9.21rem;
    margin: 0 auto;
    background-image: url(../img/zhengBG.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-animation-name: 'ripple';
    /*动画属性名，也就是我们前面keyframes定义的动画名*/
    -webkit-animation-duration: .44s;
    /*动画持续时间*/
    -webkit-animation-timing-function: ease;
    /*动画频率，和transition-timing-function是一样的*/

    -webkit-animation-iteration-count: 1;
    /*定义循环资料，infinite为无限次*/
    -webkit-animation-direction: normal;
    /*定义动画方式*/


}

.birthday .yanhua {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.birthday .dangao {
    position: fixed;
    max-width: 100%;
    left: .1rem;
    top: -0.18rem;
    width: 100%;
    display: none;

}

.birthday .back {

    transform: rotateY(180deg);
    /* 以 Y 轴旋转 180 度（如果不加这个设置，盒子反过来看到的字的反面） */
    background-image: url(../img/fanBg.png);
    background-repeat: no-repeat;
    background-size: 100%;
}

.birthday .back .text {
    display: block;
    margin: 0 auto;
    line-height: .49rem;
    width: 4.28rem;
    /* height: .49rem; */
    margin-top: .50rem;
}

.birthday .back .date {
    font-size: .35rem;
    font-weight: bold;
    color: #FD6B6B;
    height: .35rem;
    margin-top: 1.88rem;
    line-height: .31rem;

}

.birthday .back .datetext {
    font-size: .31rem;
    font-weight: bold;
    color: #FD6B6B;
    height: .31rem;
    margin-top: .22rem;
    line-height: .31rem;

}

.birthday .back .hint {
    margin: 0 auto;
    text-align: center;
    width: 4.28rem;
    font-size: .27rem;
    font-weight: bold;
    color: #444;
    height: .71rem;
    line-height: .48rem;
    margin-top: .49rem;
}

.birthday .back .wish {
    text-align: center;
    font-size: .31rem;
    font-weight: bold;
    color: #FD6B6B;
    height: .35rem;
    line-height: .35rem;
    margin-top: .49rem;


}

.birthday .back .buttonText {
    text-align: center;
    font-size: .31rem;
    font-weight: 400;
    color: #fff;
    height: .31rem;
    line-height: .39rem;
    margin-top: .47rem;
    padding-bottom: .66rem;
}

.birthday .hand {
    position: fixed;
    width: 1.31rem;
    height: 1.21rem;
    display: none;
    right: 1.4rem;
    top: 8.8rem;
    -webkit-animation-name: 'bounce';
    /*动画属性名，也就是我们前面keyframes定义的动画名*/
    -webkit-animation-duration: 2s;
    /*动画持续时间*/
    -webkit-animation-timing-function: ease;
    /*动画频率，和transition-timing-function是一样的*/

    -webkit-animation-iteration-count: infinite;
    /*定义循环资料，infinite为无限次*/
    -webkit-animation-direction: normal;
    /*定义动画方式*/
}




/* 定义动画名称 */
@keyframes ripple {

    0% {
        transform: scale(0.1)
    }

    10% {

        transform: scale(0.2)
    }

    20% {

        transform: scale(0.3)
    }

    30% {

        transform: scale(0.4)
    }

    50% {

        transform: scale(0.5)
    }

    60% {

        transform: scale(0.6)
    }

    70% {

        transform: scale(0.7)
    }

    80% {
        /* 动画回弹1.1 */
        transform: scale(0.8)
    }

    90% {

        transform: scale(0.9)
    }

    100% {

        transform: scale(1)
    }
}

@keyframes bounce {
    10% {
        top: 8.8rem;
        right: 1.4rem;


    }

    30% {
        top: 9.15rem;
        right: 1rem;


    }

    50% {
        top: 8.8rem;
        right: 1.4rem;


    }

    80% {
        top: 9.15rem;
        right: 1rem;

    }

    100% {
        top: 8.8rem;
        right: 1.4rem;

    }
}

/*.navTopBox {*/
    /*margin-top: 2.5rem;*/
    /*width: 7.62rem;*/
    /*margin: 0 auto;*/
    /*margin-top: -2.5rem;*/
/*}*/

.partnerBox {
    display: flex;
    position: relative;
    width: 7.62rem;
    height: 1.5rem;
    background-image: url(../img/hehuoBG.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
    z-index: 11;

}

.navTopBox .navTop {
    margin-top: 0;
}

.partnerBox .leftBox {
    margin-left: .55rem;
    margin-top: .29rem;

}

.partnerBox .leftBox img {
    width: 2.16rem;
    height: .44rem;
    margin-left: .13rem;
}

.partnerBox .leftBox p {
    display: flex;
    height: .44rem;
    font-size: .35rem;
    color: #F9D8A3;
    line-height: .44rem;

}

.partnerBox .leftBox .tips {
    font-size: .31rem;
    margin-top: .13rem;

}

.partnerBox .leftBox .tips span {
    color: #fff;
}

.partnerBox .rightBox {
    width: 1.72rem;
    height: .62rem;
    line-height: .63rem;
    text-align: center;
    font-size: .35rem;
    color: #4B3404;
    border-radius: .38rem;
    margin-left: .71rem;
    margin-top: .4rem;
    font-weight: 500;
    background: linear-gradient(90deg, #FBE5AC 0%, #FAECCF 100%);
}

.partnerPop {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    position: fixed;
    top: 0;
    left: 0;
    z-index:1000;

}

.partnerPop .partnerPopBox {
    position: relative;
    
    width: 6.85rem;
    height: 4.42rem;
    margin: 0 auto;
    background-image: url(../img/popBG.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 3.93rem;
}

.partnerPopBox .title {
    font-weight: bold;
    font-size: .4rem;
    background: linear-gradient(234deg, #E2862E 0%, #975404 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: .4rem;
    padding-top: 1.06rem;
    margin-left: 2.8rem;
}
.partnerPopBox .text {
    font-weight: bold;
    font-size: .35rem;
    background: linear-gradient(234deg, #E2862E 0%, #975404 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: .38rem;
   margin-top: .29rem;
    margin-left: 2.8rem;
}
.partnerPopBox .tip {
    height: .4rem;
    width: fit-content;
    margin-left: 1.24rem;
    margin-top: 1.13rem;
    font-size:.35rem;
    color: #DBDBDB;
    line-height: .4rem;

}
.partnerPopBox .tip span{
    font-weight: bold;
    font-size: .4rem;
    line-height: .4rem;
    background: linear-gradient(180deg, #EEEEEE 0%, #FFE5C6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.partnerPop .popButton{
    font-size: .4rem;
    text-align: center;
    border-radius:.55rem;
background: linear-gradient(90deg, #FBE5AC 0%, #FAECCF 100%);
    width:4.42rem;
    height: 1.04rem;
    line-height: 1.04rem;
    margin-left: 1.95rem;
    margin-top: .35rem;
    color: #4B3404;
}

.partnerPop .cartoon{
    animation: buttonAn 1s ease infinite;

}
@keyframes buttonAn {
    1% {
       width: 4.42rem;
       font-size:.4rem;
       height: 1.04rem;
       font-size: .4rem;
       line-height: 1.04rem;
        

    }

    100%{
        width: 1.72rem;
        height: .62rem;
        font-size: .354rem;
        line-height: .62rem;
        margin-left: 5.6rem;
        margin-top:-3.1rem;
      

    }
}
.partnerPop .close{
    position: absolute;
    width: .62rem;
    position: absolute;
    height: .62rem;
    border: 2px solid #FFFFFF;
    background: url(../../images/guanbi@2x.png) no-repeat center;
    background-size: .5rem .5rem;
    box-sizing: border-box;
    border-radius: 50%;
    top: -0.55rem;
    right: 0rem;
}

.againPop {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    position: fixed;
    top: 0;
    z-index: 1000;

}
.againPop .againBox{
    position: relative;
    margin: 0 auto;
    width: 6.03rem;
    margin-top: 2.43rem;
    animation: cartoon .6s 1;

}
.againPop .againBox img{
    width: 6.03rem;
    height:9.2rem;

}
.againButton {
    width: 5.3rem;
    height: 1.1rem;
    line-height: 1.1rem;
    text-align: center;
    position: absolute;
    font-size: .4rem;
    color: #A01F1C;
    bottom: .35rem;
    left: .35rem;
    font-weight: bold;
    background: url(../img/buttonbg2.png) no-repeat;
    background-size: 100% 100%;
}

.againBox .bottomBox{
    position: absolute;
    width: 5.12rem;
    display: flex;
    bottom:3.25rem;
    left: .49rem;
    display: flex;
    justify-content: space-around;
}
.againBox .bottomBox  img{
    display: block;
    margin: 0 auto;
    height: .50rem;
    width: .49rem;
}
.againBox .bottomBox  p{
    margin-top: .22rem;
    text-align: center;
    font-size:.31rem;
    color: #FFC7C9;
}

.againPop .againInp {
    width: 5.3rem;
    height: .99rem;
    background-color: #fff;
    border-radius:.07rem;
    position: absolute;
    left: .35rem;
    bottom: 2.06rem;
    font-size:.35rem;
   
}
.againPop .againInp::-webkit-input-placeholder{
    color: #c5c5c5;
}

.againPop .againInp[type=text]{
    padding-left: .35rem;
    border: none;
} 
.againPop .tips{
    font-size:.27rem;
    color: #FFB1B4;
    padding: .18rem 0;
    left: .35rem;
    position: absolute;
    bottom:1.40rem;

}



/* 标书过期弹窗 */
.pastPop {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    position: fixed;
    top: 0;
    z-index: 1000;

}
.pastPop .againBox{
    position: relative;
    margin: 0 auto;
    width: 6.03rem;
    margin-top: 2.43rem;
    animation: cartoon .6s 1;

}
.pastPop .againBox img{
    width: 6.03rem;
    height:9.2rem;

}
.pastPop .againButton {
    width: 5.3rem;
    height: 1.1rem;
    line-height: 1.1rem;
    text-align: center;
    position: absolute;
    font-size: .4rem;
    color: #A01F1C;
    bottom: .35rem;
    left: .35rem;
    font-weight: bold;
    background: url(../img/buttonbg2.png) no-repeat;
    background-size: 100% 100%;
}

.pastPop .bottomBox{
    position: absolute;
    width: 5.3rem;
    display: flex;
    bottom:3.25rem;
    line-height: .49rem;
    color: #fff;
    left: .35rem;

}


.pastPop .againInp {
    width: 5.3rem;
    height: .99rem;
    background-color: #fff;
    border-radius:.07rem;
    position: absolute;
    left: .35rem;
    bottom: 2.06rem;
    font-size:.35rem;
   
}
.pastPop .againInp::-webkit-input-placeholder{
    color: #c5c5c5;
}

.pastPop .againInp[type=text]{
    padding-left: .35rem;
    border: none;
} 
.pastPop .tips{
    font-size:.27rem;
    color: #FFB1B4;
    padding: .18rem 0;
    left: .35rem;
    position: absolute;
    bottom:1.4rem;

}

@keyframes cartoon {
    0%{
        transform: scale(.1);
    }
    80%{
        transform: scale(1.1);
    }
    100%{
        transform: scale(1);
    }
}
.againPop .close ,.pastPop .close{
    width: .88rem;
    height: .88rem;
    display: block;
    margin: 0 auto;
    margin-top: .44rem;
    background: url(../../images/closeicon.png) no-repeat;
    background-size: 100% 100%;
}
