body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Noto Serif SC', serif;
    background: url('../images/img/background.png') no-repeat center center fixed;
    background-size: cover;
    color: #333;
}

.overlay {
    background: rgba(255, 255, 255, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    padding-top: 100px; /* Adjusted for navbar height */
}

.daily-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7); /* 初始透明背景 */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    backdrop-filter: blur(15px); /* 模糊效果 */
    transition: background 0.5s ease-in-out;
}


h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #444;
}

p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #888;
}

.footer a {
    color: #888;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 顶栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000;
}

.navbar h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}

.navbar a {
    color: #333;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1rem;
}

.navbar a:hover {
    text-decoration: underline;
}


.daily-info-container img {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 10px auto;
    transition: max-width 0.3s ease;
}
.daily-info-container img.landscape {
    max-width: 95%; /* 横向图片更宽 */
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.pagination button {
    background-color: #987cb9;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}
.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.pagination button:hover:not(:disabled) {
    background-color: #6b4f8a;
}
.pagination span {
    font-size: 18px;
    font-weight: bold;
}


.carousel {
  position: relative;
  width: 80%;
  max-width: 800px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

.carousel-images img {
  width: calc(100% / 3);
  height: auto;
  object-fit: cover;
}


.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dots .dot.active {
  background-color: #987cb9;
}



