/* 顶部 start */
.top {
    background-color: rgb(30, 135, 76);
    padding: 1vw 10%;}

.top .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;}

.top a img {
    width: 35vw;
    max-width: 500px;
    height: auto;
    flex-shrink: 0;}

.top .introduction {
    font-size: 1.8vw;
    font-family: 'STXingkai', cursive;
    color: #000;
    flex: 1;
    text-align: right;}

/* 导航栏 start */
.navigate {
    display: flex;
    justify-content: center;
    background-color: #a4b1b4;}

.navigate .content {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;}

.navigate ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    width: 100%;
    justify-content: center;}

.navigate ul li {
    position: relative;
    padding: 0px 1.8%;}

.navigate ul li a {
    display: block;
    padding: 1.5vw 0.8vw;
    color: white;
    text-decoration: none;
    font-size: 1.2vw;
    font-weight: 600;
    transition: all 0.3s;}

.navigate ul li:hover {
    background-color: #1e874c;}

/* 下拉菜单 */
.navigate ul li .sub {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    display: none;
    flex-direction: column;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    transform: translateY(-10px);
    background-color: #a4b1b4;}

.navigate ul li:hover .sub {
    display: flex;
    text-align: center;}

.navigate ul li .sub li {
    margin: 0;}

.navigate ul li .sub li a {
    font-size: 0.9vw;
    padding: 0.5vw 0;
    color: #333;
    transition: all 0.3s;}

.navigate ul li .sub li a:hover {
    background-color: #1e874c;
    color: white;}

/* 底部 start */
.lowest {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5vw 0;
    background-color: #1e874c;
    color: #000;
    font-size: 1.0vw;
    gap: 0.5vw;
    text-align: center;}

.img_vsb_content {
    object-fit: contain;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    /* 顶部 */
    .top {
        display: flex;
        justify-content: flex-start;
        height: 50px;
        background-color: #1e874c;
        padding: 1vw 8%;}

    .top .content {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: 100%;}

    .top .content img {
        width: 35vw;
        height: auto;}

    .top .content .introduction {
        display: none;}

    /* 汉堡菜单按钮 */
    .menuButton {
        display: block;
        width: 30px;
        height: 25px;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1001;
        cursor: pointer;}

    .menuButton b {
        display: block;
        height: 4px;
        background-color: white;
        margin: 4px 0;
        border-radius: 2px;
        transition: 0.3s;}

    .menuButton.active b:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);}

    .menuButton.active b:nth-child(2) {
        opacity: 0;}

    .menuButton.active b:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);}

    /* 遮罩层 */
    .navigate {
        position: fixed;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: block;
        opacity: 0;
        transform: translateY(-100%);
        pointer-events: none;
        transition: all 0.4s ease;}

    .navigate.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;}

    /* 导航文字垂直排列 */
    .navigate ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding: 20px;
        margin: 0;
        list-style: none;
        overflow-y: auto;}

    .navigate ul li {
        width: 100%;
        text-align: center;
        margin: 10px 0;}

    .navigate ul li a {
        font-size: 22px;
        color: white;
        text-decoration: none;
        display: inline-block;
        transition: all 0.4s ease;}

    .navigate ul li a:hover {
        background-color: transparent;}

    .navigate ul li .sub {
        background-color: #1e874c;}

    .navigate ul li .sub li a {
        color: white;
        font-size: 15px;}

    .navigate ul li .sub li:hover {
        background-color: rgba(0, 0, 0, 0.01);
        color: white;
    }

    /* 底部 */
    .lowest {
        padding: 15px;
        font-size: 13px;
        color: #000;
        text-align: center;
        line-height: 1.6;
        margin-top: 30px;}
}