@charset "utf-8";

:root {
    --varColor: rgb(5, 68, 146);
    --color: rgb(171, 109, 40);
    --blueColor: rgb(7, 102, 220);
}

@font-face {
    font-family: SourceHanSerifCN;
    src: url("../fonts/SourceHanSerifCN-Bold.otf");
}

@font-face {
    font-family: YunFengFeiYun;
    src: url("../fonts/YunFengFeiYun.TTF");
}

@font-face {
    font-family: Amita-Bold;
    src: url("../fonts/Amita-Bold.ttf");
}

* {
    margin: 0;
    padding: 0;
    border: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: "microsoft yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

a {
    color: #333;
    text-decoration: none;
    transition: .3s;
}

a:hover {
    color: var(--varColor);
    text-decoration: none;
}

input, button {
    outline: none;
    border: none;
}

img {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
    object-fit: cover;
    transition: .3s;
}

.img {
    display: block;
    overflow: hidden;
}

.img > img {
    width: 100%;
    height: 100%;
}

.img:hover > img {
    transform: scale(1.1);
}

.lf {
    float: left;
}

.rt {
    float: right;
}

.container {
    width: 1580px;
    margin: 0 auto;
    position: relative;
}

.container:before,
.container:after {
    content: '';
    display: table;
    clear: both;
}

.flex {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.flex:before, .flex:after {
    display: none;
}

.ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: justify;
}

.ellipsis-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-align: justify;
}

.ellipsis-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-align: justify;
}

/*头部*/
.header {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 145px;
    padding: 6px 3%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 999;
}

.header.on {
    backdrop-filter: blur(10px);
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2c89fdff 0%, #014aa4ff 100%);
}

.header .logo {
    padding: 27px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header .logo img {
    height: 63px;
    animation: zoomIn 1s;
}

.menu {
    display: flex;
    justify-content: right;
    gap: 10px;
}

.top {
    display: flex;
    justify-content: right;
    align-items: center;
    margin: 17px 0;
}

.top li {
    line-height: 1em;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.8);
}

.top li:last-of-type {
    border-right: none;
}

.top li a {
    color: rgba(255, 255, 255, 0.8);
}

.top li a:hover {
    color: var(--blueColor);
}

.top form {
    display: flex;
    align-items: center;
}

.top form input[type="text"] {
    width: 0;
    height: 26px;
    transition: 1s;
}

.top form input[type="text"]::placeholder {
    color: #999;
    font-size: 12px;
}

.top form input[type="submit"] {
    width: 26px;
    height: 26px;
    background: url("../imgs/search.png") no-repeat center;
    background-size: 22px;
    cursor: pointer;
}

.top form:hover input[type="text"] {
    width: 192px;
    margin-right: -26px;
    padding: 0 26px 0 10px;
    background: #fff;
}

/*导航菜单*/
.nav {
    display: flex;
}

.nav > li {
    position: relative;
    padding: 0 12px;
}

.nav li a {
    color: #fff;
    font-size: 18px;
    display: block;
    line-height: 2.625;
    text-align: center;
}

.nav > li:hover > a {
    /*color: var(--color);*/
    /*font-weight: bold;*/
}

.nav ul {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 100%;
    width: max-content;
    background: #fff;
    border-top: 2px solid var(--color);
    transform: translateX(-50%);
    display: none;
}

.nav ul li a {
    color: #333;
    font-size: 16px;
    padding: 0 10px;
}

.nav ul li a:hover {
    color: #fff;
    background: var(--varColor);
}

/*导航切换*/
nav {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 64px;
    height: 76px;
    padding-top: 12px;
    background: url("../imgs/nav-bg.png") no-repeat;
    background-size: contain;
    cursor: pointer;
    animation: slideInDown 1s;
}

nav img {
    width: 40px;
}

nav span {
    color: var(--color);
    font-size: 30px;
    display: none;
}
nav.active {
    padding-top: 6px;
}

nav.active span {
    display: block;
}

nav.active img {
    display: none;
}

/*搜索*/
.search form {
    position: relative;
    width: 240px;
}

.search input[type="text"] {
    width: 100%;
    height: 38px;
    padding: 0 10px 0 40px;
    background: rgba(238, 238, 238, 0.3);
    border-radius: 100px 100px 100px 100px;
    border: 1px solid #DDDDDD;
}

.search input[type="submit"] {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40px;
    cursor: pointer;
    background: url(../imgs/search.png) no-repeat center;
    background-size: 16px;
}

.search input[type="text"]::placeholder {
    color: #999;
}

.toggle {
    display: none;
}

.website {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url("../imgs/website-mask.png") no-repeat left bottom, linear-gradient(163.86deg, rgba(5, 66, 142, 0.83) 45.1%, rgba(5, 81, 174, 0.83) 87.14%);
    backdrop-filter: blur(22px);
    z-index: 99;
    display: none;
}

.website ul {
    display: flex;
    justify-content: space-around;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.website ul li {
    text-align: center;
}

.website ul li > a {
    color: #fff;
    font-size: 22px;
}

.website ul li a:hover {
    color: var(--color);
    font-weight: bold;
}

.website dl {
    margin-top: 20px;
}

.website dl dd {
    margin-bottom: 15px;
    text-align: center;
}

.website dl dd a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.67);
}

.website dl dd a:hover {
    /*padding-left: 1em;*/
}

/*尾部*/
.footer {
    margin-top: 70px;
    padding-bottom: 30px;
    overflow: hidden;
}

.footer-img {
    position: relative;
    overflow: hidden;
}

.footer-img .container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.footer-img .wx {
    width: 160px;
    color: #666;
    text-align: center;
    margin: 15% 50px;
    font-size: 16px;
    line-height: 2;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-bottom > img {
    height: 63px;
}

.footer-bottom ul {
    display: flex;
    justify-content: right;
    gap: 20px;
}

.footer-bottom ul li a {
    color: #666;
}

.footer-bottom ul li a:hover {
    color: var(--varColor);
}

.footer-bottom p {
    color: #666;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(215, 223, 232, 1);
}

.footer-bottom p a {
    color: #666;
}

.footer-bottom p a:hover {
    color: var(--varColor);
    text-decoration: underline;
}

.section {
    position: relative;
    flex-grow: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

@keyframes myRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}