/* 网页背景颜色 */
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;
}

/* 首页设置 */
.nav-logo a>span {
    font-size: 20px;
    font-weight: bold;
    font-family: '微软雅黑';
    color: #FAF0E6;
    white-space: nowrap;
}
/* 右侧退出登录按钮 */
.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;
}






/* 内容区域样式设置 */
.content {
    /* 防止被顶部导航栏遮挡 */
    margin-top: 80px;
}





/* 网址跳转字体颜色 */
a {
    float: left;
    width: 145px;
    color: rgb(210, 100, 50);
    text-decoration: none;
    font-family: '宋体';
    line-height: 20px;
}



.daohangtiao {
    position: sticky;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 40px;
    background-color: aquamarine;
}
h1 {
    font-family: '楷体';
    text-align: center;
}

.search{
    width: 400px;
    height: 50px;
    margin: 0px auto;
}
.search>input{
    width: 100%;
    height: 100%;
    font-size: 25px;
    font-family: '楷体';
    color: cadetblue;
    border-radius: 30px;
}



/* 网址栏背景 */
.wangye {
    width: 600px;
    height: 20px;
    padding: 20px 20px;
    border: 1px solid #FF007F;
    opacity: 0.5;
    margin: auto;
    text-align: center;
    border-radius: 25px;
    box-shadow: 5px 4px 22px 3px #FFFAFA;
    cursor: pointer;
}