/* 网页背景颜色 */
body {
    background-color: #FFFFE0;
    background-image: url('/static/imgs/鲨鱼.jpg');
    background-attachment: fixed;
}

/* 顶部导航条样式 */
.navbar {
    /*固定导航条*/
    position: fixed;
    top: 0;
    left: 0;
    /* 导航条大小 */
    width: 100%;
    height: 80px;
    /* 导航条颜色 */
    background-color: #ADD8E6;
    /* 增加阴影更具立体 */
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.5);
    /* 确保导航条在最顶层 */
    z-index: 1000;
}

/* 导航条内容器样式 */
.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 80px;
}

/* 左侧首页区域大小 */
.nav-logo{
    flex-shrink: 0;
    white-space: nowrap;
}

/* 导航条网站名样式 */
.nav-logo a{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    font-family: '微软雅黑';
    color: #FAF0E6;
}

/* 导航条图标样式 */
.nav-logo a>img{
    width: 50px;
    height: 44px;
}

/* 导航栏菜单设置 */
.nav-menu{
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li{
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-menu li:hover{
    background-color: rgba(255, 255, 255, 0.3);
}

.nav-menu a{
    display: block;
    float: none;
    width: auto;
    padding: 6px 14px;
    text-decoration: none;
    color: #EE82EE;
    font-size: 15px;
    font-weight: 500;
    font-family: '微软雅黑';
    white-space: nowrap;
}

.nav-menu a:hover{
    background-color: #FFF5EE;
    border-radius: 4px;
}

/* 右侧退出登录按钮 */
.logout{
    background-color: antiquewhite;
    border-radius: 5px;
    width: 85px;
    text-align: center;
    flex-shrink: 0;
}
.logout>a{
    display: block;
    width: 100%;
    padding: 6px 0;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

/* 首页设置 */
.nav-logo a>span{
    font-size: 20px;
    font-weight: bold;
    font-family: '微软雅黑';
    color: #FAF0E6;
    white-space: nowrap;
}

/* 内容区域样式设置 */
.content{
    /* 防止被顶部导航栏遮挡 */
    margin-top: 100px;
}

/* 网址跳转字体颜色 */
a {
    float: left;
    width: 145px;
    color: rgb(210, 100, 50);
    text-decoration: none;
    font-family: '宋体';
    line-height: 20px;
}