/* Custom styles for index page */
.wrap {
    width: 800px;
    height: 350px;
    margin: 0 auto;
    margin-top: 180px;
    transition: 0.5s;
    background-color: rgba(0, 0, 0, 0.3);
}

/* .wrap_img{
    width: 500px;
    height: 350px;
} */
.box {
    width: 200px;
    height: 350px;
    position: relative;
    float: left;
    overflow: hidden;
    transition: 0.5s;
}

/* .wrap_top {
    width: 100%;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-align: center;
    line-height: 350px;
    position: absolute;
    transition: 0.5s;
    top: 0;
} */

.bottom {
    width: 100%;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-align: center;
    line-height: 350px;
    transition: 0.5s;
    position: absolute;
    bottom: 0;
}

.wrap:hover .box {
    width: 100px;
}

/*.box:hover{width: 500px;}*/

.wrap .box:hover {
    width: 500px;
}

.wrap .box:hover .top {
    line-height: 50px;
    height: 50px;
}

.wrap .box:hover .bottom {
    line-height: 50px;
    height: 50px;
}

body .main-root .wrap .box .wrap_img {
    width: 500px;
    height: 350px;
}

body .main-root .wrap .box .wrap_top {
    width: 100%;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-align: center;
    line-height: 350px;
    position: absolute;
    transition: 0.5s;
    top: 0;
}

.wrap .box:hover .wrap_img {
    width: 500px;
    /* 保持图片宽度不变 */
    height: 350px;
    /* 保持图片高度不变 */
}

/* .multi-button-container {
    display: flex;
    justify-content: space-around;
    padding: 50px;
    color: #6c6c6c;
} */

.multi-button-box {

    background-image: url('../img/applewatch.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    width: 20%;
    padding: 40px;
    text-align: center;
    color: #000000;
    cursor: pointer;
    /* background-color: #D1BB87; */
    margin-bottom: 20px;
}

.display-area {
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    /* background-color: #fff; */
    /* border: 1px solid #ccc; */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.display-area h2 {
    margin-top: 0;
}

.display-area p {
    margin: 10px 0;
}

.multi-button-container {
overflow-x: scroll;
white-space: nowrap;
scroll-snap-type: x mandatory;
padding:50px;
}
.multi-button-box {
display: inline-block;
scroll-snap-align: start;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.multi-button-container::-webkit-scrollbar {
display: none;
}
