@charset "utf-8";
* {
  margin: 0;
  padding: 0;
}

/* html 和 body 默认不可见 不可以滚动*/
body,
html {
  scroll-behavior: smooth;
  background-color: #fff3cd;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif; /* 使用现代字体 */
  /* 不可选中复制 */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* 标准语法 */
}

/* foot 样式 */
.foot {
  margin: 0 auto;
  z-index: 1; /* 确保它位于其他内容之上 */
  box-shadow: 0 -2px 10px #dcdcdc;
  background-color: #ffbd5ae7; /* 背景颜色 */
  padding: 20px 0 25px 0;
  text-align: center; /* 文本水平居中 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中 */
  align-items: center; /* 水平居中 */
  position: fixed; /* 使用固定定位，使footer固定在页面底部 */
  bottom: 0; /* 确保它位于页面底部 */
  width: 100%; /* 确保宽度占满整个父容器 */
}

/* 其他样式保持不变 */
.foot h1 {
  margin-bottom: 10px; /* 下边距，使标题与下方内容有一定间隔 */
  color: #fff; /* 标题颜色 */
  font-size: 1.8em; /* 标题字体大小 */
}

.foot .footer-content {
  display: flex;
  flex-wrap: wrap; /* 允许换行 */
  gap: 10px; /* 设置元素之间的间距 */
  align-items: center; /* 垂直居中对齐 */
  margin-left: 15px;
}

.foot .footer-info {
  margin: 0; /* 移除默认外边距 */
  color: #fff; /* 信息文本颜色 */
  font-size: 1em; /* 信息文本字体大小 */
  white-space: nowrap; /* 防止文字换行 */
}

.foot .footer-link {
  color: #fff; /* 链接颜色 */
  text-decoration: none; /* 移除默认下划线 */
  transition: color 0.3s ease; /* 添加颜色过渡效果 */
}

.foot .footer-link:hover {
  color: #4eafff; /* 鼠标悬停时改变链接颜色 */
  text-decoration: underline; /* 鼠标悬停时显示下划线 */
}

/* 导航栏样式 */
.navbar {
  background-color: #ffbd5ae7; /* 背景颜色 */
  padding: 12px 0;
  text-align: center;
  position: sticky; /* 固定在顶部 */
  top: 0; /* 确保它位于页面顶部 */
  width: 100%; /* 确保宽度占满整个父容器 */
  z-index: 2; /* 确保它位于其他内容之上 */
  box-shadow: 0 2px 10px #dcdcdc; /* 添加阴影效果 */
}

.navbar a {
  color: #fff; /* 链接颜色 */
  font-weight: bold;
  text-decoration: none; /* 移除默认下划线 */
  margin: 0 15px; /* 设置链接之间的间距 */
  font-size: 1.2em; /* 字体大小 */
  transition: color 0.3s ease; /* 添加颜色过渡效果 */
}

.navbar a:hover {
  color: #4eafff; /* 鼠标悬停时改变链接颜色 */
}

.content a:hover {
  color: #4eafff; /* 鼠标悬停时改变链接颜色 */
  text-decoration: underline; /* 鼠标悬停时显示下划线 */
}

/* 内容模块 */
.content {
  color: #4eafff;
  font-weight: bold;
  text-align: center;
  padding: 20px;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px; /* 设置最小高度，以便有足够的空间展示内容 */
}

.content h3 {
  margin: 10px 0; /* 给标题和链接添加间距 */
}
.content a {
  margin: 10px 0; /* 给标题和链接添加间距 */
  font-weight: bold;
  text-decoration: none; /* 移除默认下划线 */
  color: #0c9debca;
}
