html {
  font-size: 10px;
  font-family: 'Open Sans', sans-serif;
}

html {
  background-color: rgb(255, 182, 193);
}



h1 {
  font-size: 60px;
  text-align: center;
  margin: 0;
  padding: 20px 0;
  color: #00539F;
  text-shadow: 3px 3px 1px black;
}


h2 {
  font-size: 20px;
  text-align: center;
}



p, li {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 1px;
}

.center-text {
  text-align: center; /* 设置文字居中 */
}

a {
  text-decoration: none; /* 去掉链接下划线 */

}
/* body */
body {
  max-width: 600px;
  width: 100%;
  margin: 55px auto 0 auto;
  background-color: #FF9500;
  padding: 0 20px 20px 20px;
  border: 5px solid black;
  box-sizing: border-box; /* 包含内边距和边框 */
  padding-top: 60px; /* 避免内容被导航栏遮挡 */
}

/* 针对小屏幕自适应宽度 */
@media (max-width: 600px) {
  body {
    padding: 0 5px 10px 5px;
    border-width: 2px;
  }
}




img {
  display: block;
  margin: 0 auto;
}

/* button */


/*about-button*/

#about-button {
  position: absolute;
  top: 10px; /* 距离顶部 10px */
  right: 10px; /* 距离右侧 10px */
  background-color: #007BFF; /* 按钮背景色 */
  color: white; /* 按钮文字颜色 */
  border: none; /* 去掉边框 */
  padding: 20px 30px; /* 内边距 */
  border-radius: 5px; /* 圆角 */
  cursor: pointer; /* 鼠标悬停样式 */
}

#about-button,
#list-button,
#explore-button {
  height: 20px; /* 你可以根据需要调整高度 */
  display: flex;
  align-items: center;
  border: 0; /* 去掉边框 */
}

#about-button a {
  text-decoration: none; /* 去掉链接下划线 */
  color: black; /* 链接文字颜色 */
}

#about-button:hover {
  background-color: greenyellow; /* 悬停时背景色 */
}

/*list-button*/
#list-button {
  position: absolute;
  top: 10px; /* 距离顶部 10px */
  right: 100px; /* 距离右侧 10px */
  background-color: #007BFF; /* 按钮背景色 */
  color: black; /* 按钮文字颜色 */
  border: none; /* 去掉边框 */
  padding: 10px 15px; /* 内边距 */
  border-radius: 5px; /* 圆角 */
  cursor: pointer; /* 鼠标悬停样式 */
}
#list-button a {
  text-decoration: none; /* 去掉链接下划线 */
  color: white; /* 链接文字颜色 */
}
#list-button:hover {
  background-color: #0f0f0f; /* 悬停时背景色 */
}

/*explore-button*/
#explore-button  {
  background-color: #f0f0f0;
  color: pink;
  border: 2px solid black;
  border-radius: 50px;
  font-size: 12px;
  cursor: pointer;
  font-weight: bold; /* 设置文字加粗 */
}
#explore-button:hover {
  background-color: #0f0f0f; /* 悬停时背景色 */
}

/*footer*/
#footer-nav {
 background-color: burlywood; /* 导航栏背景色 */
  color: white; /* 文字颜色 */
  padding: 10px 0; /* 上下内边距 */
  text-align: center; /* 居中对齐 */
  position: fixed; /* 固定在页面底部 */
  bottom: 0; /* 距离底部 0 */
  left: 0; /* 确保背景延伸到最左边 */
  right: 0; /* 确保背景延伸到最右边 */
  width: 100%; /* 占满宽度 */
  z-index: 1000; /* 确保导航栏在最上层 */
}

#footer-nav ul {
  list-style-type: none; /* 去掉列表样式 */
  margin: 0;
  padding: 0;
  display: flex; /* 使用 Flexbox 布局 */
  justify-content: center; /* 居中对齐 */
}

#footer-nav ul li {
  margin: 0 15px; /* 列表项间距 */
}

#footer-nav ul li a {
  text-decoration: none; /* 去掉链接下划线 */
  color: white; /* 链接文字颜色 */
  font-size: 14px;
  transition: color 0.3s; /* 添加过渡效果 */
}

#footer-nav ul li a:hover {
  color: red; /* 悬停时文字颜色 */
}


/* Floating Box */
#floating-box {
  position: fixed;
  top: 100px;
  left: 100px;
  width: 60px;
  height: 60px;
  background:transparent;
  border: 2px solid transparent;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  z-index: 3000;
  user-select: none;
  font-size: 32px; /* 用px代替em，保证所有页面一致 */
  line-height: 1;
  letter-spacing: 0.3em;
}

/* header navigation */
#header-nav {
  background: transparent; /* 与body背景一致，或你喜欢的颜色 */
  color: white;
  padding: 10px 0;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end; /* 右对齐 */
}

#header-nav ul li {
  margin: 0 18px;
}

#header-nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s;
}

#header-nav ul li a:hover {
  color: #222;
}

/* 避免内容被导航栏遮挡 */
body {
  padding-top: 60px;
}