body {
    margin: 0;
    background: #FFFFFF;
    padding-top: 50px; /* 值等于菜单栏高度 */
}

/* 页脚 */
.foot{
    position: fixed; /* 固定定位关键属性 */
    width: 100%;
    bottom: 0;
    min-width: 375px;
    z-index: 3000;
    background: #2c3e50;
    color:#FFFFFF;
    padding: 5px 0px;
}
.foot p{
    text-align: center;
}

.title-month {
    text-align: center;
    font-size: 30px;
    width: 100%;
    min-width: 375px;
    background-color: bisque;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 5px;
    padding: 2px;
}

.photo-item {
    position: relative;
    width: 100%;
    padding-top: 80%; /* 100%為正方形比例 */
    overflow: hidden;
}

.photo-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 完整显示图片 */
    background: white;
    transition: transform 0.2s;
}

.photo-thumbnail:hover {
    transform: scale(1);
    /*cursor: zoom-in; */
}

/* 响应式调整 */
@media (min-width: 1200px) {
    .photo-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


