/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* 导航栏 */
nav {
    background-color: #2e8b57;
    padding: 10px 0;
    text-align: center;
  }

  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  nav ul li {
    display: inline;
  }

  nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
  }

  .sidebar {
    width: 200px;
    background-color: #f4f4f4;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  }

  .sidebar ul {
    list-style: none;
    padding: 0;
  }

  .sidebar ul li {
    margin: 10px 0;
  }

  .sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }
  
/* 网页背景和字体 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f8f5; /* 淡蓝色背景 */
    color: #333; /* 文字颜色 */
    line-height: 1.6;
    overflow-y: scroll; /* 允许页面上下滚动 */
}

/* 背景图片 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://img.gaoxiaojob.com/uploads/company_style_atlas/53716/20230322150220_40081.png'); /* 替换为你的图片路径 */
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* 透明度20% */
    z-index: -1; /* 确保背景在内容后面 */
}

/* 标题样式 */
h1 {
    text-align: center;
    padding: 20px 0;
    color: #388e3c; /* 深绿色标题 */
}

/* 年份样式 */
.year {
    font-size: 24px; /* 年份字体较大 */
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    border: 2px solid #4caf50; /* 绿色边框 */
    border-radius: 5px;
    background-color: transparent; /* 透明背景 */
    display: block; /* 使元素占满整行 */
    width: 100%; /* 与页面同宽 */
}

/* 文献列表样式 */
.article-list {
    margin: 0 20px;
    text-align: center; /* 文献列表居中 */
}

.article {
    font-family: '宋体', sans-serif; /* 文献字体使用宋体 */
    font-weight: bold; /* 字体加粗 */
    margin-bottom: 10px;
}

/* 主要内容区域 */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* 白色背景，带有透明度 */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1; /* 确保内容在背景前面 */
}

/* 页脚样式 */
footer {
    background-color: #004d40; /* 深绿色页脚 */
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1; /* 确保页脚在背景前面 */
}