/* 基本的手风琴样式 */
details {
  border: 1px solid #ccc;
  border-radius: 4px;
}

summary {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  padding: 5px 10px;
}

details[open] {
  border-color: #27AE60;
}

details[open] summary {
  background-color: #27AE60;
  color: white;
}

/* 进度条容器样式 */
.progress-bar-container {
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px;
  margin: 1em 0;
  position: relative;
  overflow: hidden;
}

/* 进度条实际填充部分的样式 */
.progress-bar {
  height: 20px;
  background-color: #4caf50;
  border-radius: 5px;
  width: 0;
  transition: width 0.5s ease;
}

/* 进度条百分比文字样式 */
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: bold;
}
/* 定义文本的样式 */
.text-marquee {
    font-size: 16px; /* 减小字体大小 */
    display: inline-block; /* 使文本块状，便于应用动画 */
    color: white;
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
    background-size: 600% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorMarquee 3s ease infinite, pulse 2s ease infinite;
    text-shadow: 
        2px 2px 2px rgba(0,0,0,0.3), /* 原有的文字阴影 */
        0 0 5px white; /* 添加白色描边 */
}

/* 脉动动画 */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); /* 轻微放大 */
  }
}

/* 定义颜色变化的动画 */
@keyframes colorMarquee {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

    .divider {
      height: 5px; /* 分隔条的高度 */
      background: linear-gradient(to right, #ff7e5f, #feb47b); /* 渐变背景，从橙色到浅橙色 */
      border: none; /* 移除默认边框 */
      border-radius: 10px; /* 边框圆角 */
      margin: 20px 0; /* 上下外边距 */
    }
    
    .divider.dashed {
      background: repeating-linear-gradient(
        -45deg,
        #ffffff,
        #00aa00 10px,
        #ffaa00 10px,
        #ff0000 20px
      ); /* 创建虚线效果 */
    }
    
/* 归档页面样式 */
#archives {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.year-section {
    margin-bottom: 20px;
}

.year-header {
    font-size: 18px;
    font-weight: bold;
    color: #9C9C9C; /* 默认颜色为黑色 */
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    cursor: pointer;
    text-align: center; /* 文字居中显示 */
    transition: color 0.3s; /* 添加颜色过渡效果 */
}

.year-list {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.year-list li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.year-list li a {
    color: #555;
    text-decoration: none;
    font-size: 16px;
}

.year-list li a:hover {
    text-decoration: underline;
}

.year-list li em {
    font-size: 14px;
    color: #999;
}

/* 归档页面样式 */
