* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
}

html {
    font-size: 16px;
}

img {
    width: 100%;
    border: 0;
}

a {
    text-decoration: none;
    color: #333333;
}

a:hover {
    color: var(--text-color-blue);
}

ul,
ol {
    list-style: none;
}

input,
textarea {
    outline: none;
}

:root {
    --header-color: #1c4692;
    --primary-color: #ff434f;
    --secondary-color: #e3e3e3;
    --text-color-blue: #092da2;
    --text-color-lightest: #e7e9ec;
    --text-color-darker: #2e2e2e;
    --text-color-dark: #494949;
    --text-color-gray: #8b8b8b;
    --text-color-dark-gray: #727272;
    --text-color-light-gray: #c6c6c6;
    --backdrop-color: rgba(42, 42, 42, 0.79);
}

header {
    width: 100%;
    height: 110px;
    display: flex;
    padding: 0 40px;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 200;
    transition: 1.2s;
    background-color: var(--header-color);
}

header .changdian {
    padding-bottom: 12px;
}

header .hdNav {
    display: flex;
}

.hdDrop {
    transition: 00.6s;
}

.hdDrop:hover {
    color: white;
    background-color: chocolate;
}

header .hdNav .drop {
    display: block;
    color: var(--text-color-lightest);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 50px;
    padding: 0 10px;
}

header .hdNav .dropdown {
    visibility: hidden;
    display: none;
    opacity: 0;
    position: absolute;
    background-color: chocolate;
}

header .hdNav .hdDrop:hover>.dropdown,
header .hdNav .hdDrop .dropdown:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

header .hdNav .dropdown a {
    display: block;
    line-height: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-lightest);
    padding: 10px 30px 6px 14px;
    /* background-color: rgba(42, 42, 42, 0.69); */
}

header .hdNav .dropdown a:hover {
    background-color: var(--header-color);
}

header .burger {
    display: none;
}

header.sticky {
    position: fixed;
    background-color: var(--header-color);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
    animation: dropDown 0.6s ease-in-out forwards;
    height: 80px;
}

header.sticky .changdian {
    padding-bottom: 6px;
}

header.sticky .changdian img {
    width: 274px;
    height: 60px;
}

@keyframes dropDown {
    form {
        transform: translateY(-60px);
    }
    to {
        transform: translateY(0);
    }
}

.cdBg {
    position: relative;
}

.bgCon {
    width: 400px;
    height: 250px;
    text-align: center;
    padding: 0 30px;
    background-color: rgba(68, 70, 146, 0.79);
    bottom: 50px;
    left: 200px;
    position: absolute;
    z-index: 10;
    color: white;
}

.bgCon h2 {
    line-height: 80px;
    font-size: 32px;
    color: white;
    border-bottom: 1px solid white;
    margin: 20px 0;
}


/* 快速链接 */

.qLinks {
    padding: 50px 0;
    margin-top: 100px;
    width: 100%;
    background-color: #EEEBEA;
}

.links {
    width: 80%;
    margin: 0 auto;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(9, 1fr);
}

.link {
    text-align: center;
}

.link .title a {
    font-size: 1rem;
}

.link a {
    font-size: 0.875rem;
    line-height: 28px;
}


/* 页脚信息 */

.footer {
    background-color: var(--header-color);
}

.ftMain {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    grid-template-rows: 100px;
    padding: 20px 0;
    max-width: 90%;
    margin: 0 auto;
}

.ftLogo {
    height: 80px;
}

.ftMain img {
    width: 360px;
    height: 80px;
}

.ftContact p {
    color: var(--text-color-lightest);
    padding-top: 10px;
    line-height: 30px;
}

.ftContact p .iconfont {
    margin-right: 10px;
    margin-left: 10px;
}

.qrCode {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 20px;
    padding-top: 20px;
    justify-self: end;
}

.qcode {
    position: relative;
}

.qcode img.code {
    visibility: hidden;
    display: none;
    opacity: 0;
    position: absolute;
}

.qcode .iconfont {
    color: var(--text-color-lightest);
    font-size: 2rem;
    cursor: pointer;
}

.qcode .iconfont:hover>img.code,
.qcode .iconfont img.code:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

.copyright {
    padding: 0 40px;
    text-align: center;
    color: var(--text-color-lightest);
    background-color: #16366F;
    line-height: 46px;
}

.scrollToTop {
    display: none;
    position: relative;
    z-index: 300;
}

.scrollToTop a {
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    position: fixed;
    bottom: 60px;
    right: 30px;
}

@media (max-width:1400px) {
    header {
        height: 100px;
    }
    header .changdian {
        padding-bottom: 14px;
    }
    header .changdian img {
        width: 80%;
    }
    header .hdNav .drop {
        font-size: 1rem;
    }
}

@media (max-width:1220px) {
    header {
        height: 80px;
    }
    header .changdian {
        padding-bottom: 8px;
    }
    header .changdian img {
        width: 70%;
    }
    header .hdNav .drop {
        font-size: 0.875rem;
        line-height: 60px;
        padding: 0 5px;
    }
    header .hdNav .dropdown a {
        line-height: 28px;
        font-size: 0.875rem;
        padding: 8px 20px 6px 5px;
    }
    .cdBg img {
        width: 100%;
        height: 45vh;
        object-fit: cover;
    }
    .links {
        width: 90%;
    }
}

@media (max-width:1060px) {
    header .hdNav .drop {
        font-size: 0.8rem;
    }
    header .hdNav .dropdown a {
        font-size: 0.8rem;
    }
}

@media (max-width:1024px) {
    header {
        height: 80px;
        align-items: center;
    }
    header .changdian {
        padding-bottom: 0px;
    }
    header .changdian img {
        width: 80%;
    }
    header .hdNav {
        display: none;
    }
    header .burger {
        display: block;
        width: 20px;
        height: 6px;
        position: relative;
        justify-self: end;
        cursor: pointer;
    }
    .burger .burger-line1,
    .burger .burger-line2,
    .burger .burger-line3 {
        width: 20px;
        height: 2px;
        background-color: white;
    }
    .burger .burger-line1 {
        position: absolute;
        top: -6px;
    }
    .burger .burger-line3 {
        position: absolute;
        top: 6px;
    }
    header.open .hdNav {
        display: grid;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 200vh;
        background-color: var(--header-color);
        grid-auto-rows: max-content;
        justify-items: center;
        opacity: 0;
        animation: slideDown 0.6s ease-out forwards;
    }
    header.open .hdNav .hdDrop {
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #ccccff;
    }
    header.open .hdNav .hdDrop:hover {
        background-color: saddlebrown;
    }
    header.open .hdNav .drop {
        line-height: 50px;
    }
    header.open .hdNav a {
        color: var(--text-color-lightest);
        font-size: 18px;
    }
    header.open .hdNav .hdDrop .dropdown {
        visibility: hidden;
        display: none;
        opacity: 0;
    }
    header.open .burger-line1,
    header.open .burger-line2,
    header.open .burger-line3 {
        background-color: var(--text-color-lightest);
        transition: 00.4s ease;
    }
    header.open .burger-line1 {
        transform: rotate(45deg) translate(3px, 5px);
    }
    header.open .burger-line2 {
        transform: translateX(5px);
        display: none;
    }
    header.open .burger-line3 {
        transform: rotate(-45deg) translate(3px, -5px);
    }
    header.open .changdian {
        z-index: 40;
    }
    @keyframes slideDown {
        from {
            height: 0;
            opacity: 0;
        }
        to {
            height: 100vh;
            padding-top: 80px;
            opacity: 1;
        }
    }
    @keyframes showMenu {
        from {
            opacity: 0;
            transform: translateY(-1vh);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .links {
        grid-template-columns: repeat(5, 1fr);
        row-gap: 2rem;
    }
    .ftMain {
        grid-template-columns: repeat(2, 1fr);
    }
    .ftMain .ftContact {
        grid-column: 1 / 3;
        grid-row: 2;
        justify-self: left;
        text-align: left;
    }
    .ftContact {
        text-align: center;
    }
    .ftLogo img {
        width: 274px;
        height: 60px;
    }
}

@media(max-width:576px) {
    header,
    .ftMain {
        padding: 0 10px;
    }
    .links {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 2rem;
    }
    .ftMain {
        grid-template-columns: 1fr;
        row-gap: 20px;
        padding: 20px 10px;
    }
    .ftMain .ftContact {
        grid-column: 1;
    }
    .ftMain .ftLogo,
    .ftMain .ftContact,
    .ftMain .qrCode {
        justify-self: center;
    }
    .ftMain .ftContact {
        text-align: center;
    }
    .qrCode {
        row-gap: 20px;
    }
    .qcode {
        margin: 0 10px;
    }
    .copyright {
        padding: 10px 40px;
        line-height: 20px;
    }
}