@font-face {
    font-family: 'SourceHanSansSC';
    src: url(../font/SourceHanSansSC-Regular-2.otf);
}

body {
    font-family: 'SourceHanSansSC';
}

.container {
    width: 1400px;
    margin: 0 auto;
    transition-duration: .3s;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(46, 128, 64, 1);
    z-index: 100;
}

.nav-document-height {
    height: 100px;
}

.navbar > .container {
    height: 100px;
    background: rgba(46, 128, 64, 1);
    display: flex;
    align-content: center;
}

.navbar .collapse {
    flex: 1;
    display: flex;
    align-content: center;
}

.navbar-nav {
    display: flex;
    align-content: center;
}

.navbar .nav-item {
    display: flex;
    align-items: center;
}

.navbar a {
    line-height: 24px;
    margin-right: 31px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 1);
    vertical-align: top;
    display: flex;
    align-items: center;
}

.navbar-collapse {
    margin-left: 192px;
    justify-content: space-between;
}


.navbar .logo {
    width:358px;
}

.navbar-toggler {
    display: none;
}

.navbar-phone {
    display: flex;
    align-items: center;
}

.navbar-phone img {
    margin-right: 14px;
}

.navbar-phone a {
    line-height: 24px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 1);
    vertical-align: top;
}

footer {
    width: 100%;
    background: rgba(8, 9, 2, 1);
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

footer a {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 1);
    vertical-align: top;
    transition-duration: .3s;
}

footer a:hover {
    color: rgba(46, 128, 64, 1);
}

footer .footer-top {
    background: url("../imgs/footer.png") top center no-repeat;
    background-size: contain;
}

.footer-top .container {
    padding: 80px 0 116px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-top .container > ul > li {
    line-height: 24px;
    margin-top: 16px;
}

.footer-top .container > ul > li:first-child {
    margin-top: 0px;
}

.footer-top .container > ul > li:nth-child(2) {
    margin-top: 24px;
}

.footer-top .container > ul .ico {
    margin-right: 16px;
    vertical-align: middle;
}

footer .footer-navs {
    display: flex;
    align-items: flex-start;
    gap: 89px;
}

footer .footer-nav {
    overflow: hidden;
}

footer .footer-nav h3 {
    line-height: 27px;
    padding: 20px 0 14px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 1);
    text-align: left;
    vertical-align: top;
}

footer .footer-nav h3 a {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 1);
}

footer .footer-nav li {
    margin-top: 10px;
    line-height: 24px;
}

footer .qrcoce {
    width: 132px;
    height: 132px;
}

footer .footer-bottom {
    line-height: 24px;
    padding: 38px 0;
    border-top: 1px solid rgba(112, 112, 112, 1);
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    vertical-align: top;
}

/* 图片预览 */
.img-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 101;
}

.img-preview .preview-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.img-preview .preview-content>img {
    display: block;
}

.img-preview .btns-box {
    position: absolute;
    top: 0;
    left: 100%;
}

.img-preview .btns {
    width: 60px;
    height: 60px;
    margin-bottom:1px;
    background-color: rgba(0, 0, 0, 0.6);
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    transition-duration: .3s;
    display: block;
}

.img-preview .close-btn {
    background-image: url("../imgs/close-ico1.png");
}

.img-preview .next-btn {
    background-image: url("../imgs/next-ico1.png");
}

.img-preview .prev-btn {
    background-image: url("../imgs/prev-ico1.png");
}

@media screen and (max-width: 1600px) {
    .container {
        width: 1280px;
    }

    .navbar .logo {
        width: 18.64vw;
    }

    .navbar-collapse {
        margin-left: 10vw;
    }
}

@media screen and (max-width: 1366px) {
    .container {
        width: 1000px;
    }

    .navbar .collapse {
        margin-left: 1vw;
        justify-content: center;
    }

    .navbar-nav {
        flex: 1;
    }

    .navbar li {
        flex: 1;
        justify-content: center;
    }

    .navbar a {
        margin-right: 0;
        font-size: 15px;
    }

    footer .footer-navs {
        gap: 30px;
    }

    footer, footer a {
        font-size: 15px;
    }

    footer .footer-nav h3, footer .footer-nav h3 a {
        font-size: 16px;
    }

    footer .qrcode {
        width: 120px;
        height: 120px;
    }
}


@media screen and (max-width: 1280px) {
    .container {
        width: 94%;
    }

    .navbar > .container {
        /*position: relative;*/
        /*width:100%;*/
        /*padding: 0 3%;*/
        justify-content: space-between;
        align-items: center;
    }

    .navbar > .container, .nav-document-height {
        height: 90px;
    }

    .navbar .logo {
        width: 320px;
    }

    .navbar-toggler {
        width: 46px;
        height: 34px;
        border: 1px solid #fff;
        background: none;
        border-radius: 3px;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-around;
    }

    .navbar-toggler::before, .navbar-toggler::after {
        content: "";
        width: 30px;
        height: 1px;
        background: #fff;
        display: block;
    }

    .navbar-toggler .navbar-toggler-icon {
        width: 30px;
        height: 1px;
        background: #fff;
        display: block;
    }

    .navbar .collapse {
        position: absolute;
        top: 90px;
        left: 0;
        margin-left: 0;
        padding-bottom: 30px;
        width: 100%;
        background: rgba(46, 128, 64, 1);
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .navbar .collapse .navbar-nav {
        flex-direction: column;
    }

    .navbar .nav-item {
        padding: 8px 0;
    }

    .navbar-phone {
        padding: 10px 0;
        text-align: center;
    }

    .navbar-phone a {
        margin: 0 auto;
    }

    .img-preview .btns {
        width:40px;
        height: 40px;
        background-size:  12px;
    }
}

@media screen and (max-width: 1024px) {
    footer, footer a {
        font-size: 14px;
    }

    .footer-top .container {
        flex-direction: column;
        padding: 40px 0 36px;
    }

    .footer-top .footer-logo {
        width: 30vw;
    }

    .footer-top .container > ul > li {
        line-height: 20px;
        margin-top: 10px;
    }

    footer .footer-navs {
        width: 100%;
        margin-top: 30px;
        justify-content: space-between;
    }

    footer .footer-nav {
        flex: none;
    }

    footer .footer-nav li {
        margin-top: 5px;
        line-height: 20px;
    }

    footer .qrcode {
        width: 100px;
        height: 100px;
    }

}


@media screen and (max-width: 960px) {
    .navbar .logo {
        max-width: 55vw;
        width: auto;
        max-height: 70px;
    }

    .footer-top .footer-logo {
        max-width: 55vw;
        width: auto;
        max-height: 70px;
    }
}

@media screen and (max-width: 640px) {
    .navbar > .container, .nav-document-height {
        height: 70px;
    }

    .navbar .logo, .footer-top .footer-logo {
        max-width: 55vw;
        max-height: 50px;
    }

    .navbar .collapse {
        top: 70px;
    }

    footer .footer-navs {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    footer .footer-nav {
        width: calc(33.33% - 20px);
    }
}
