* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background-color: #f4f4f4;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    color: #333;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.gallery-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.description {
    padding: 15px;
}

.description h2 {
    font-size: 1.5rem;
    color: #333;
}

.description p {
    color: #666;
    margin-top: 10px;
}

.watermarked {
    position: relative;
    display: inline-block;
}

.watermarked img {
    display: block;
    width: 100%;
    height: auto;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.6); /* 控制水印的颜色和透明度 */
    font-size: 36px; /* 控制水印文字的大小 */
    font-weight: bold;
    text-transform: uppercase; /* 将文字大写 */
    pointer-events: none; /* 确保水印不可点击 */
    white-space: nowrap; /* 防止文字换行 */
}


footer {
    text-align: center;
    margin-top: 40px;
    color: #888;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    .description h2 {
        font-size: 1.25rem;
    }
}
