.scrolling-container {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    /* justify-content: center; */
    text-align: center;
    align-items: center;
}

.scrolling-container img {
    min-width: 300px;
    width: auto;
    max-width: 100vh;
    height: auto;
    max-height: 100vh;
    margin-right: 10px;
    object-fit: fill;
    display: inline-block;
}


.vertical-scroll-container {
    width: 100%;
    height: auto;
    /* overflow-y: scroll; */
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    display: grid;
    place-items: center;
}

.vertical-scroll-container img {
    /* position: absolute; */
    width: auto;
    max-width: 100%;
    max-height: 100vh;
    /* object-fit: none; */
}


/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    /* touch-action: none; */
}

.modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    justify-content: center;
    align-items: center;
    display: grid;
}

.modal-image {
    /* width: 90%; */
    max-width: 100%;
    max-height: 95vh;
    /* object-fit: contain; */
}

.close {
    color: rgb(245, 4, 76);
    position: relative;
    left: 20px;
    font-size: 32px;
    cursor: pointer;
}

.center-container {
    display: list-item;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    height: 100%;
    /* 父元素高度 */
}

.centered-div {
    background-color: lightblue;
    padding: 1rem;
    width: 100%;
}

.page-container {
    position: relative;
}

.page-text {
    position: absolute;
    z-index: 2;
    color: rgba(245, 11, 11, 0.5);
    font-size: 40px;
    /* 设置透明度，0.5表示50%透明 */
}


.center-container {
    align-items: center;
    justify-content: center;
    height: 100%;
    display: list-item;
}

.centered-div {
    background-color: rgb(108, 212, 238);
    padding: 1rem;
    width: 100%;
    display: flex;
}

input,
span,
button {
    font-size: 30px;
}