:root {
    --primary-color: coral;
    --secondary-color: #001e31;
    --third-color: #001e31;
    --fourth-color: #001e31;
}

/****总容器*****/
body {
    width: 100vw;
    background-color: #1f1f1f;
    display: grid;
    justify-items: center;
}

.iconfont {
    color: var(--primary-color);
}

/****横幅*****/
header {
    width: 100vw;
    height: 120px;
    background-image: linear-gradient(#01509e 0, #003366 100%);
    border-bottom: #757575 1px solid;
    position: fixed;
    display: flex;
    justify-content: space-between;
    z-index: 999;
}

.topcontent {
    width: 100vw;
    margin-top: 15px;
    display: grid;
    justify-content: center;
    justify-items: center;
}

.topimg {
    width: 80vw;
    display: flex;
    justify-content: space-between;
}

.logo {
    display: flex;
    justify-content: start;
}

.logo1 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.logo1 img:hover {
    content: url("../img/logo0.png");
}

.logo2 img:hover {
    content: url("../img/logo3.png");
}

.logo img {
    height: 60px;
}

.sun {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    background-color: #f9f1da;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0px 0px 50px 3px #faf0ce;
    position: relative;
}

.sun:hover {
    box-shadow: 0px 0px 30px 5px #faf0ce;
}

.sunsh {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 22px;
    margin-top: 8px;
    background-color: #faeaba;
    box-shadow: 0px 0px 8px 5px #faf0ce;
}

/****顶部菜单*****/
nav {
    height: 36px;
    margin-left: 10vw;
    display: flex;
}

nav ul {
    font-size: 1rem;
    display: flex;
}

nav ul li {
    color: #fff;
    line-height: 36px;
    padding: 0 10px;
}

nav ul li a {
    color: #fff;
}

/* Hide nested ul by default */
nav ul li ul {
    display: none;
    background-color: coral;
    margin-left: -10px;
    min-width: 70px;
    padding-left: 10px;
    flex-direction: column;
    gap: 0px;
}

nav ul li ul li {
    line-height: 30px;
}

nav ul li:hover {
    cursor: pointer;
    background: coral;
    color: #fff;
    transition: background-color 1s ease;
}

nav ul li:hover a {
    color: #fff;
}

/* 下拉菜单 */
nav ul li:hover ul {
    display: flex;
}

nav ul li:hover ul li {
    display: flex;
    padding: 0px 0px;
    background: #e6e6e6;
    transition: background-color 1s ease;
}

nav ul li:hover ul li a {
    color: #333;
}

nav ul li:hover ul li:hover {
    background-color: coral;
    color: inherit;
}

/***中部内容*****/
.banner {
    position: relative;
    width: 80vw;
    height: 300px;
    margin-top: 130px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    display: flex;
    justify-content: center;
}

.banner .textef {
    position: absolute;
    left: 15%;
    top: 220px;
    animation: textAni 16s 4s linear infinite;
}

.buble {
    position: relative;
}

main {
    width: 80vw;
    min-height: 300px;
    margin-top: 10px;
    background-color: rgb(46, 46, 46);
    border-radius: 5px;
    z-index: 500;
}

.content {
    border-radius: 5px;
}

/***脚底内容*****/
footer {
    width: 80vw;
    box-shadow: 1px 2px 2px 2px rgb(26, 26, 26);
}

.foot {
    margin-top: 10px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sitemap {
    width: 80vw;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.flc {
    width: 120px;
    height: 100px;
    background-color: var(--secondary-color);
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.flct {
    font-size: 1rem;
    font-weight: 500;
    display: flex;
}

.flc a {
    color: var(--primary-color);
}

.flc a:hover {
    color: #fff;
    transition: color 1s ease;
}

.pd {
    margin-top: 8px;
}

.pd a {
    color: #858585;
    font-size: 1rem;
    line-height: 22px;
}

.pd p a:hover {
    color: var(--primary-color);
    transition: color 1s ease;
}

.right {
    margin-top: 20px;
    color: #b08100;
    align-items: center;
}

.beian {
    margin-top: 5px;
    color: #b08100;
    align-items: center;
}

.fill {
    height: 25px;
}

/***自适应*****/
@media screen and (max-width:768px) {
    header {
        width: 100vw;
        height: 80px;
    }

    .topcontent {
        width: 100vw;
        margin-top: 10px;
    }

    .topimg {
        width: 100vw;
    }

    .logo img {
        height: 36px;
    }

    .logo1 {
        /* margin-left: 1vw; */
        width: 36px;
        height: 36px;
    }

    .sun {
        display: none;
    }

    nav {
        margin-left: 0px;
        height: 28px;
        padding: 0 3px;
        display: flex;
    }

    nav ul li {
        color: #fff;
        line-height: 36px;
        padding: 0 5px;
    }

    .banner {
        display: none;
    }

    main {
        width: 100vw;
        margin-top: 110px;
    }

    footer {
        width: 100vw;
    }

    .sitemap {
        width: 100vw;
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

}