body {
    font-family: Arial, sans-serif;
    background-color: #f0faf2; /* 清新背景色 */
    margin: 0;
    padding: 0;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* 页面标题 */
.page-title {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: bold;
}

/* 图片展示区域 */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.image-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 20px); /* 每行显示 3 张图片 */
    height: 250px;/* 因为高度为最大图片高度，所以限定高度不得超过250防止图片变形 */
    display: flex;
    flex-direction: column;
}

.image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例，覆盖整个容器 */
    display: block;
}

.caption {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

/* 添加图片按钮（固定在右下角） */
.add-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
}
.sub-text{
    font-size: 1.2rem;
    color: #666;
    animation: slideIn 2s ease-in-out;
    text-align: center;
}
