header {
    /* background-color: #252525; */

}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    padding: 25px 20px;
    max-width: 1200px;
    margin: auto;
}


.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-right: 20px;
    position: relative;
}

.nav-links li a {
    font-weight: 700;
    color: #222222;
    font-size: 16px !important;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 0 10px 15px;
}

.nav-links li :hover {
    text-decoration: 2px underline #fee86d;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.line1, .line2, .line3 {
    width: 22px;
    height: 2px;
    background-color: #333;
    margin: 2px;
}

.logo img {
    max-width: 180px !important;
    max-height: 45px !important;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        /* 将导航链接改为纵向布局 */
        background-color: #fff;
        /* 为导航链接添加背景色 */
        padding: 10px;
        /* 为导航链接添加内边距 */
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 9999;
        padding-top: 60px;
        height: 100vh;
    }

    .navbar {
        padding: 3px 20px;
    }

    .logo img {
        max-width: 180px !important;
        max-height: 25px !important;
    }

    .nav-links.nav-active {
        display: flex;
        position: fixed;
    }

    .nav-links li {
        margin: 10px 0;
        /* 调整导航链接的上下间距 */
    }

    .burger {
        display: flex;
        color: #333;
    }

    .toggle {
        position: fixed;
        z-index: 9999;
        right: 20px;
        font-size: 24px;
        top: 20px;
    }
}