html,body{
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    font-family: -apple-system, 'Helvetica Neue', sans-serif;
    font-size: 16px;
}
body{
    background: #ffe400;
    position: relative;
}

#width-wrap{
    max-width:900px;
    min-width:200px;
    width:90%;
    margin:0 auto;
}

#header{
    width:100%;
    /* border-bottom: 1px solid #fff279; */
}
#header-title{
    display: block;
    width:100%;    
    height:30px;
    margin:30px auto;
    text-align: center;
    font-size:26px;
    font-weight: bold;
}

#content{
    width:100%;
    margin:20px 0 0 0;
    padding-bottom:30px;
}
.hongbao-box{
    width:100%;
    background: white;
    border-radius:10px;
    box-shadow:0 2px 4px rgba(0,0,0,.1);
    margin:15px 0;
    display:flex;    
}
.icon-box{
    width:50px;
    height:50px;
    margin:20px 30px;
    border-radius:8px;
    overflow: hidden;
}
.hb-icon{
    width:100%;
    height:100%;
}
.text-box{
    flex:1;
}
.title{
    font-size:18px;
    margin:20px 0 3px 0;
}
.tips{
    font-size:14px;
    color:rgb(124, 124, 124);
    margin-bottom:10px;
}
.btn-box{
    display:flex;
    justify-content:center;
    align-items:center;
}
.btn{
    margin:0 30px 0 30px;
    padding:0 15px;
    line-height:34px;
    height:34px;
    border-radius:100px;
    text-align: center;
    user-select: none;
    -ms-user-select:none;
    cursor:pointer;
    color:white;
    background: #ff2525;
    transition:all .3s;
}
.btn:hover{
    box-shadow:0 2px 4px rgba(255,0,0,.6);
    margin:-2px 30px 0 30px;
}

#bottom{
    width:100%;
    color:rgb(61, 61, 61);
    font-size:14px;
    margin:0px 0 0px 0;
    padding-bottom:30px;
    text-align: center;
}


#hongbaoimg-wrap{
    display: none;
    width:100%;
    height:100%;
    position:fixed;
    background: rgba(0, 0, 0, 0.6);
    overflow:auto;
    left:0;
    top:0;
}
#hongbaoimg-box{
    min-height:100%;
    width:320px;
    height:500px;
    margin:auto;
    text-align: center;
    color: white;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-content: center;
    
}
#hongbaoimg{
    width:100%;
    position: relative;
    height:auto;
    overflow: hidden;  
    margin:20px 0px 10px 0px;
}
#hongbaoimg-img{
    padding:10px;
    box-sizing: border-box;
    display:block;
    width:100%;
    height:auto;
    border-radius:20px;
    /* box-shadow:0 2px 4px rgba(0,0,0,.1); */
}
#hongbaoimg-text{
    font-weight: bold;
    text-shadow:0 2px 4px rgba(0,0,0,.1);
    width:100%;
}
#img-close-btn{
    display:inline-block;
    margin-left:10px;
    width:60px;
    height:35px;
    text-align: center;
    line-height:35px;
    background:#ffe400;
    border-radius:100px;
    user-select: none;
    -ms-user-select: none;
    color:black;
    cursor:pointer;
    position:absolute;
    right:10px;
    top:10px;
    box-shadow:0 2px 4px rgba(0,0,0,.1);
}


/* 窄屏幕适配 */
@media (max-width:600px){
    .hongbao-box{
        border-radius:8px;
        box-shadow:0 2px 4px rgba(0,0,0,.1);
        margin:8px 0;
    }
    .icon-box{
        width:40px;
        height:40px;
        margin:10px 10px;
        border-radius:6px;
    }
    .title{
        font-size:15px;
        margin:10px 0 0px 0;
    }
    .tips{
        font-size:12px;
    }
    .btn{
        margin:0 10px;
        padding:0 10px;
        line-height:28px;
        font-size:14px;
        height:28px;
        border-radius:100px;
    }
    .btn:hover{
        box-shadow:0 2px 3px rgba(255,0,0,.6);
        margin:-2px 10px 0 10px;
    }



}