body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background-image: url('../logo/bg.jpg'); /* 设置背景图片的路径 */
    background-size: cover; /* 可选：设置背景图片的尺寸，cover表示图片会保持其宽高比并覆盖整个容器 */

    color: black;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
}

.site-name {
    color: black;
    text-decoration: none;
    margin-left: 10px;
    font-size: 1.2em;
}

.navbar-right {
    display: flex;
    margin-right:50px;
    gap: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    margin-right:20px;
}

.nav-icon {
    height: 24px;
    margin-right: 5px;
}

.nav-link {
    color: black;
    text-decoration: none;
    font-size: 1em;
}


.navbar-container {
    /* 这个容器用于包裹居中模块，但在这里不是必需的，
       如果你只想居中一个模块，可以直接对body使用flex布局 */
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../logo/bg.jpg'); /* 设置背景图片的路径 */
    background-size: cover; /* 可选：设置背景图片的尺寸，cover表示图片会保持其宽高比并覆盖整个容器 */

}

.navbar-content {
    margin-top: 60px; /* 确保内容不被固定的导航栏遮挡 */
    padding: 20px;
    justify-content: center;
     text-align: center;
    width:600px;
}


.light-text {
    color: #0099ff;
}