/* 全局字体和颜色 */
body {
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

/* 标题统一风格 */
h1, h2, h3 {
  color: #0066cc;
  font-weight: bold;
}

/* 链接样式 */
a {
  color: orange;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}


/* 右侧跳转按钮样式 */
.side-button {
    position: fixed;
    right: 20px;
    width: 150px;
    transform: translateY(-50%);
    padding: 10px 15px;
    background-color: rgba(0,0,255,0.5);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease; /* 添加悬停过渡效果 */
}

.side-button:hover {
    background-color: green;
}

.side-button.main {
    top: 45%;
}
.side-button.water {
    top: 50%;
}
.side-button.godot {
    top: 55%;
}

/* 可以添加其他样式... */
/* 基础样式 - 针对移动设备 */
.container {
  padding: 10px;
}

/* 大屏幕 - 桌面 */
@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* 设置html和body高度 */
html, body {
  height: 100%;
  margin: 0;
}

/* Flexbox布局设置 */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 使用视口高度单位 */
}

/* 主要内容区域 - 占据剩余空间 */
.main-content {
  flex: 1; /* 这是关键 - 使内容区域扩展填充空间 */
  padding: 20px;
}

/* 底部样式 */
.footer {
  background-color: #333;
  color: white;
  padding: 15px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 10px;
}

/* 底部图片样式 */
.footer img {
  height: 30px;
  width: 30px;
}


