.picture {
    width: 100%;
}

.picture ul {
    display: flex;
    flex-direction: column; /* 垂直排列 */
    gap: 10px; /* 图片之间的间距 */
    width:100%
    justify-content: space-around;
}

.picture ul li{
    flex:1;
    height: 550px;
    width:100%;
    object-fit: cover;
}

.picture ul li img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-gallery {
    list-style: none;
    padding: 0;
    margin: 0;
}

.image-gallery li {
    position: relative; /* 设置相对定位，为绝对定位的描述框提供定位上下文 */
    width: 100%; /* 根据需要设置宽度 */
    height: 300px; /* 根据需要设置高度 */
    overflow: hidden;
}

.image-gallery li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-gallery .image-description {
    position: absolute;
    bottom: 0; /* 底部对齐 */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */
    color: #fff;
    font-size:25px;
    padding: 10px;
    box-sizing: border-box;
    opacity: 0; /* 默认隐藏 */
    transition: opacity 0.3s ease-in-out; /* 透明度变化的过渡效果 */
}

.image-gallery li:hover .image-description {
    opacity: 1; /* 鼠标悬停时显示描述 */
}


body.Mobile .image-gallery{
    display:none;
}

@media (max-width: 900px) {
    .image-gallery{
        display:none;
    }

}

body.Mobile .picture ul {
    gap: 5px; /* 图片之间的间距 */
}

@media (max-width: 900px) {
    .picture ul {
        gap: 5px; /* 图片之间的间距 */
    }

}

.image-gallery-mobile .image-description {
    display:none;
}

body.Mobile .image-gallery-mobile .image-description {
    display:block;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */
    color: #fff;
    font-size:20px;
    padding: 10px 30px;
    box-sizing: border-box;
    transition: opacity 0.3s ease-in-out; /* 透明度变化的过渡效果 */
}

@media (max-width: 900px) {
    .image-gallery-mobile .image-description {
        display:block;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */
        color: #fff;
        font-size:20px;
        padding: 10px 30px;
        box-sizing: border-box;
        transition: opacity 0.3s ease-in-out; /* 透明度变化的过渡效果 */
    }

}

