#canvas {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #323232;
  color: rgb(0, 140, 255);
  padding-top: 60px; /* 留出空间给固定导航栏 */
}

header {
  background: #32323200;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
}

main {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  padding-bottom: 100px;
}

section.items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding-left: 15%;
  padding-right: 15%;  
}

article {
  background: #323232d1;
  border-width: 1px;
  border: solid;
  border-color: #8c8b8b;
  margin: 10px;
  padding: 15px;
  padding-top: 5px;
  border-radius: 5px;
  color: #fffdfd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: 0 0 calc(40%); /* 设置宽度为 40% */
}

.link {
  color: rgb(27, 204, 168);
  text-decoration: none; /* 不显示下划线 */
}

footer {
  margin-top: calc(40%);
  text-align: center;
  padding: 20px 0;
  padding-top: 30px;
  background: #35424a00;
  border-top: solid 1px #8c8b8b;
  color: #ffffff;
  position: relative;
  bottom: 0;
  width: 100%;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(80, 171, 150, 0.7); /* 半透明黑色背景 */
  color: white; /* 字体颜色 */
  z-index: 10; /* 确保在其他元素之上 */
  display: flex; /* 使用 Flexbox */
  justify-content: flex-start; /* 均匀分布按钮 */
  align-items: center; /* 垂直居中 */
  height: 60px; /* 设置固定高度 */
  padding: 0 20px; /* 留出左右边距 */
}

#navbar ul {
  list-style: none; /* 去掉默认的列表样式 */
  padding: 0;
  margin: 0;
  display: flex; /* 使用 Flexbox，使列表项横向排列 */
}

#navbar li {
  padding: 15px 20px; /* 设置按钮的内边距 */
}

#navbar a {
  color: white; /* 链接颜色 */
  text-decoration: none; /* 去掉下划线 */
  font-weight: bold; /* 加粗文字 */
}

#navbar a:hover {
  text-decoration: underline; /* 鼠标悬停时加下划线 */
}

::-webkit-scrollbar {
  width: 7px;
  height: 10px;
  border: #8c8b8b;
  background-color: #32323200;
}
::-webkit-scrollbar-thumb {
  background: #1bcca999;
  border-radius: 2px;
}
