* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: #333333;
}
body{
    height: 100%;
    overflow: auto;
}
.wrapper {
    width: 100%;
    height: 100%;
    font-size: 0.16rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

button {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(288deg, #FD285E 0%, #FE8260 100%);
    border-radius: 0.12rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    font-size: 0.16rem;
    color: #FFFFFF;
    overflow: hidden;
    position: relative;
    left: 0;
    top: 0;
}

button::before {
    position: absolute;
    content: "";
    display: inline-block;
    top: 0;
    left: 0;
    width: 0.2rem;
    height: 100%;
    background-color: #fff;
    transform:rotate(-40deg);
    opacity: 0.3;
    animation: shiny-btn 2s infinite;
}
@-webkit-keyframes shiny-btn{
    0% {
        -webkit-transform: scale(0) rotate(-40deg);
        opacity: 0
    }

    80% {
        -webkit-transform: scale(0) rotate(-40deg);
        opacity: .3
    }

    81% {
        -webkit-transform: scale(4) rotate(-40deg);
        opacity: 0.7
    }

    to {
        -webkit-transform: scale(50) rotate(-40deg);
        opacity: 0
    }
}

header {
    width: 100%;
    height: 4.5rem;
    /* background: url('./static/channel_drainage_h5_1.png') no-repeat;
    background-size: 100% 100%; */
    
}
header img{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

main {
    width: 100%;
    margin-top: -1.1rem;
    /* background: #f5f6f8; */
    background: linear-gradient(to bottom, transparent, #f5f6f8);
    padding: 0 0.1rem;
    padding-bottom: 1rem;
}

main .banner {
    background: #fff;
    border-radius: 0.08rem;
    padding: 0.1rem;
    position: relative;
    z-index: 0;
}

main .banner img {
    width: 100%;
    height: 2.5rem;
    margin-bottom: 0.1rem;
}
main > img{
    width: 100%;
    margin-top: 0.1rem;
    position: relative;
    z-index: 0;
}
footer{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.2rem;
    padding-bottom: 0.3rem;
    background: #fff;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: none;
    z-index: 90;
}


.modal{
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    /* background: rgba(0,0,0,.5); */
    transition: all 0.3s;
    display: none;
    z-index: 99;
}
.modal .modal-content{
    font-size: 0.16rem;
    padding: 0.1rem 0.2rem;
    background: rgba(0,0,0,.7);
    color: #fff;
    border-radius: 0.06rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
}