﻿@charset "UTF-8";

:root {
    --varColor: #097052;
    --focusColor: coral;
}

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;
}

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: 16rem;
    margin: 0 auto;
    position: relative;
}

.container:before,
.container:after {
    content: '';
    display: table;
    clear: both;
}

.flex {
    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{
    padding-bottom: 0.1rem;
    background: url("../images/header.jpg") no-repeat center center;
    background-size: cover;
}
header .logo{
    padding: 0.25rem 0;
}
header .flex{
    align-items: center;
}
header p{
    text-align: right;
    margin-bottom: 0.1rem;
}
header p a{
    color: rgba(255,255,255,0.5);
}

.header-input {
    width: 252px;
    height: 34px;
    background: rgba(255, 255, 255, 1);
    border-radius: 17px;
    padding: 4px 10px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}
.header-input>button {
    background: url("../images/ss.png");
    border: 0;
    width: 26px;
    height: 20px;
}

/*导航*/
nav ul{
    display: flex;
}
nav ul li{
    flex-grow: 1;
    position: relative;
}
nav ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0.5rem;
    color: #fff;
    font-size: 0.18rem;
}
nav ul li:hover a{
    color: #fff;
    background: rgba(0,0,0,.6);
}
nav ul li:hover > a{
    background: rgba(0,0,0,.3);
}
nav dl{
    position: absolute;
    top: 0.5rem;
    left: 0;
    min-width: 100%;
    width: max-content;
    z-index: 9;
    display: none;
}
nav dl dt a:hover{
    background: var(--varColor);
}

/*尾部*/
footer{
    color: #fff;
    font-size: 16px;
    margin-top: 0.4rem;
    background: url("../images/footer.jpg") no-repeat center center;
    background-size: cover;
}
footer ul{
    display: flex;
    padding: 0.25rem 0;
}
footer ul li:first-of-type{
    margin-right: 0.1rem;
}
footer ul li a{
    color: #fff;
}
footer ul li a:hover{
    color: var(--focusColor);
}
footer ul li span{
    font-size: 14px;
    font-weight: lighter;
    padding: 0 0.15rem;
    opacity: 0.5;
}
footer ul li:last-of-type span{
    display: none;
}
footer .flex{
    align-items: center;
}
.contact{
    flex-grow: 1;
}
.contact p{
    line-height: 2em;
    margin-left: 0.2rem;
    padding-left: 0.2rem;
    border-left: 1px solid rgba(255,255,255,0.5);
}
.qrcode p{
    text-align: center;
    opacity: 0.6;
    margin-top: 0.05rem;
}
.copyright{
    margin-top: 0.1rem;
    padding: 0.2rem;
    text-align: center;
    border-top: 1px solid rgba(64, 182, 148, 0.6);
}
.copyright a{
    color: #fff;
}
.copyright a:hover{
    text-decoration: underline;
}

/*返回顶部*/
.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;
}
