/* 全局样式重置，去除浏览器默认边距和内边距，让页面布局更规整 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 页面整体字体设置，可根据喜好更换字体族 */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
}

/* 头部样式 */
header {
  background-color: #333;
  color: white;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* 确保头部在最上层，不被其他元素覆盖 */
}

header nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover {
  background-color: #555;
  color: #ccc;
}

/* 页面主体内容区域样式，设置背景图片相关属性 */
.main-content {
  width: 100%;
  min-height: 100vh; /* 最小高度为视口高度，确保图片能占满屏幕 */
  background-image: url('image.jpg'); /* 替换为实际图片路径 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.8); /* 稍微调暗图片亮度，营造独特视觉效果，可根据喜好调整或删除 */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* 底部样式 */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.footer-content p {
  margin: 0;
  font-size: 14px;
}

.footer-content a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: #ccc;
}