* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #396aa9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  text-align: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 20px;
}

header {
  margin-bottom: 20px;
}

.responsive-gif {
  max-width: 100%;
  height: auto;
}

h1 {
  margin: 20px 0;
  font-size: 4em; /* 增加标题大小 */
  color: white;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* 按钮基础样式 */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin: 10px;
  background-color: #ffffff;
  color: #7a918f;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s;
  font-size: 2em; /* 增加按钮文字大小 */
  font-weight: bold; /* 设置按钮文字为粗体 */
  width: 100%; /* 在移动设备上按钮的宽度为100% */
  max-width: 200px; /* 设置按钮的最大宽度 */
  height: 72px; /* 设置按钮高度 */
}

.button:hover {
  background-color: #ffffffcc;
}

.button-icon {
  margin-right: 10px; /* 图标与文字之间的间距 */
}

.blog-icon {
  width: 44px; /* 统一图标大小 */
  height: 44px;
}

.github-icon {
  width: 48px; /* 统一图标大小 */
  height: 48px;
}

footer {
  padding: 10px;
  background-color: #396aa9; /* 设置页脚背景颜色 */
  color: #666;
}

footer a {
  color: #cccccc; /* 设置链接文字颜色 */
  text-decoration: none; /* 去掉链接下划线 */
}

footer a:hover {
  text-decoration: underline; /* 悬停时显示下划线（可选） */
}

/* 媒体查询用于响应式设计 */
@media (max-width: 767px) {
  h1 {
    font-size: 3em; /* 在小屏幕上缩小标题大小 */
  }

  main {
    padding: 10px; /* 在小屏幕上减少内边距 */
  }

  .button {
    padding: 8px 15px; /* 在小屏幕上减少按钮的内边距 */
    font-size: 1.6em; /* 在小屏幕上减少按钮文字大小 */
    height: 64px; /* 在小屏幕上设置按钮高度 */
  }

  .button-container {
    flex-direction: column; /* 在小屏幕上按钮纵向排列 */
  }
}

@media (min-width: 768px) {
  .button-container {
    flex-direction: row; /* 在PC上按钮横向并排 */
    justify-content: center;
  }

  .button {
    width: 200px; /* 在PC上按钮的宽度固定 */
    height: 72px; /* 确保PC上按钮高度一致 */
  }
}
