.full-width {
  width: 100%;
}

.sixty-percent-width {
  width: 60%;
}

.flex-container {
  display: flex;
  align-items: center;
}

.flex-item {
  flex: 1;
}

.content {
  padding: 0 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.footer {
  text-align: center;
  margin-top: 20px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 800px; /* Set a maximum width for the links */
  margin: 0 auto; /* Center the links within the container */
}

.footer-links a {
  white-space: nowrap;
  margin-right: 10px;
}

.visitor-count {
  font: 14px/24px Arial, tahoma, sans-serif;
  color: #B89500;
  text-align: right;
  flex-shrink: 0;
  max-width: calc(100% - 100px); /* Set a maximum width for the visitor count */
}

img {
  border-radius: 8px;
}

/*added by chatgpt*/

/* 字体和排版优化 */
body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #222;
  background-color: #fafafa;
  padding: 20px;
}
h1, h2, h3 {
  font-weight: 600;
  color: #111;
}

/* 链接 & 按钮 */
a {
  color: #1a73e8; /* 蓝色链接 */
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #0d47a1; /* 深蓝悬停 */
  text-decoration: underline;
}

/* 页面主色调 */
header, footer {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 20px;
}

/* 小屏幕调整 */
@media (max-width: 768px) {
  body {
    font-size: 18px; /* 手机上字体稍大 */
    padding: 15px;
  }
  header, footer {
    text-align: center;
  }
  nav a {
    display: block;
    margin: 10px 0;
  }
}
