@font-face{
    font-family: 'PingFang Bold';
    src: url('../font/PingFang\ Bold.ttf');
}
@font-face{
    font-family: 'PingFang Medium';
    src: url('../font/PingFang\ Medium.ttf');
}
@font-face{
    font-family: 'PingFang Regular';
    src: url('../font/PingFang\ Regular.ttf');
}
.fontM {
    font-family: PingFang Medium;
}

*{
    margin: 0;
    padding: 0;
    color: #222;
}
body{
    background: #f8f8f8;
    font-family: PingFang Bold;
}
ul{
    list-style: none;
}
.hide{
    display: none;
}
#toTop{
    position: fixed;
    bottom: 20px;
    right: 0;
    cursor: pointer;
    display: none;
}
.wrap{
    position: relative;
    width: 1024px;
    margin: 0 auto;
}
.flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fs48{
    font-size: 48px;
}
.fs46{
    font-size: 46px;
}
.fs38{
    font-size: 38px;
}
.fs36{
    font-size: 36px;
}
.fs30{
    font-size: 30px;
}
.fs28{
    font-size: 28px;
}
.fs22{
    font-size: 22px;
}

/* header */
header{
    padding: 30px 0;
}
.header{
    box-sizing: border-box;
}
.header .btns{
    display: flex;
}
.header .btn{
    padding: 10px 30px;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-family: PingFang Medium;
}
.header .btn.login{
    border: 1px solid #fff;
}
.header .btn.register{
    margin-left: 15px;
    background: #60a423;
}

/* footer */
footer .block-green{
    padding: 25px 0;
    background: #58b83f;
}
footer .block-green .wrap{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
footer .block-green p{
    font-size: 26px;
    color: #fff;
}
footer form{
    display: flex;
}
footer .phone-input{
    position: relative;
}
footer .phone-input .ico{
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}
footer form input{
    padding-left: 50px;
    padding-right: 20px;
    line-height: 50px;
    background: #fff;
    font-size: 18px;
    border-radius: 30px 0 0 30px;
    border: 0;
}
footer form .submit-btn{
    padding: 0 35px;
    line-height: 50px;
    background: #fff100;
    color: #222;
    font-size: 22px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
}
footer .phone{
    padding-top: 20px;
    font-size: 24px;
    color: #fff;
}
footer .block-black{
    padding: 30px 0;
    background: #252525;
}
footer nav{
    text-align: center;
}
footer nav a{
    display: inline-block;
    margin: 0 45px;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
}
footer .record{
    display: block;
    margin-top: 30px;
    padding-top: 30px;
    text-align: center;
    color: #fff;
    border-top: 1px solid #666;
}

@media screen and (max-width:1024px){
    .wrap{
        width: 100%;
    }
    .header{
        padding: 0 20px;
    }
    .bottom{
        padding: 80px 20px;
    }
    footer .block-green{
        padding: 25px 20px;
    }
    footer .block-green .wrap{
        display: block;
    }
}

@media screen and (max-width:768px){
    .flex{
        flex-wrap: wrap;
    }
    .bottom .code{
        position: relative;
    }
    footer nav a{
        margin: 0px 30px;
    }
    footer form{
        padding-top: 10px;
    }
    footer form{
        display: block;
    }
    footer form input{
        border-radius: 30px;
    }
    footer form .submit-btn{
        border-radius: 30px;
        margin-top: 10px;
    }
}