@charset "UTF-8";

:root {
    --varColor: #203680;
    --focusColor: orangered;
}

html {
    font-size: 100px;
    scroll-behavior: smooth;
}

@media screen and (min-width: 1920px) {
    html {
        font-size: calc(100vw / 1920 * 100);
    }
}

@media screen and (max-width: 1280px) {
    html {
        font-size: 96px;
    }
}

@media screen and (max-width: 1200px) {
    html {
        font-size: 80px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: calc(100vw / 1920 * 100);
    }
}

body, p, h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, pre {
    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: clamp(14px,0.14rem,0.14rem);
    color: #333;
    line-height: 1.5;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #D3F2FF url("../images/body.png") no-repeat center top;
    background-size: 100%;
}

a {
    color: #333;
    text-decoration: none;
    transition: .3s;
}

a:hover {
    color: var(--varColor);
    text-decoration: none;
    /*text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: currentColor;*/
}

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: 12.5rem;
    margin: 0 auto;
    position: relative;
}

.container:before,
.container:after {
    content: '';
    display: table;
    clear: both;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    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 {
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo {
    padding: clamp(15px,0.3rem,0.3rem) 0;
}

.header .logo img{
    height: clamp(45px,0.48rem,58px);
}

.header .login{
    min-width: 60px;
    margin-left: 10px;
    font-size: clamp(14px,0.16rem,0.16rem);
    color: #BAD6FF;
    display: inline-flex;
    padding: clamp(3px,0.05rem,0.05rem) clamp(15px,0.25rem,0.25rem);
    border: 1px solid #BAD6FF;
    border-radius: 3px;
    box-sizing: border-box;
}

.motto .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}
.motto img{
    width: 51vw;
}
.motto .unit{
    color: #fff;
    font-size: clamp(12px,0.16rem,0.16rem);
    padding-left: 16px;
    position: relative;
    transform: translateY(clamp(-25%,-110%,-110%));
}
.motto .unit::before{
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 1px;
    background: #fff;
}

/*导航栏*/
.nav{
    position: relative;
    width: 13.8rem;
    max-width: 100%;
    margin: 9vw auto 0;
    padding: 0 0.2rem;
    box-sizing: border-box;
}

.menu {
    display: flex;
    align-items: center;
    height: clamp(65px,1rem,1rem);
    padding: 0 0.45rem;
    background: url("../images/menu-bg.png") no-repeat;
    background-size: 100% 100%;
}

.menu > li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    position: relative;
    height: 100%;
}

.menu > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    font-size: clamp(18px,0.28rem,30px);
    font-weight: bold;
}

.menu > li > a:hover {
    color: var(--focusColor);
}

.menu .second-menu {
    position: absolute;
    top: clamp(65px,1rem,1rem);
    left: 0;
    width: max-content;
    min-width: 100%;
    display: none;
    z-index: 999;
}

.menu ul {
    padding: 0.1rem 0;
    background: linear-gradient( 91deg, #31D0FD 0%, #1E70CE 58%, #1948E0 100%);
}

.menu .second-menu li a {
    display: block;
    line-height: clamp(48px,0.6rem,0.6rem);
    color: #fff;
    font-size: clamp(16px,0.2rem,24px);
    text-align: center;
    padding: 0 0.1rem;
}

.menu .second-menu a:hover {
    background: var(--focusColor);
}

.toggle {
    display: none;
}

.lion {
    position: absolute;
    top: 0;
    right: 3%;
    transform: translateY(-90%) scale(0.8);
    z-index: 2;
}

.lion img {
    width: 1.34rem;
    animation: myUp 2s infinite;
}

/*尾部*/
.bottom{
    padding: clamp(15px,0.35rem,45px) 0;
    text-align: center;
}

.bottom p{
    color: rgba(0,0,0,0.52);
    font-size: clamp(14px,0.16rem,18px);
}

.bottom p a{
    color: rgba(0,0,0,0.52);
}

.bottom p a:hover{
    color: var(--focusColor);
}

.bottom img {
    width: 1.14rem;
    min-width: 100px;
    margin-top: clamp(10px,0.1rem,15px);
}

.bottom span {
    color: #666;
}

/*返回顶部*/
.toTop {
    position: fixed;
    right: 15px;
    bottom: -100px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: bolder;
    font-family: '黑体';
    background: rgba(0, 0, 0, .6);
    border-radius: 5px;
    transform: rotate(90deg);
    cursor: pointer;
    transition: .3s;
    z-index: 99;
}

.section {
    position: relative;
    flex-grow: 1;
    width: 100%;
    z-index: 1;
}

@-webkit-keyframes myUp {
    from {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes myUp {
    from {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}