.video-container1 {
    /* 移除边框 */
    border: none;
    height: 400px;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
}

.video-container1 video {
    /* 设置视频的具体宽度，例如600像素 */
    width: 0;
    /* 高度自动按比例调整 */
    height: auto;
    /* 防止视频溢出容器 */
    margin-left: 5%;
    max-width: 100%;
    border-radius: 50px;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0.075);
    margin-top: -30px;
    /* 添加鼠标指针样式，提示用户可点击 */
    /* cursor: pointer; */
    /* 初始状态：隐藏在左侧 */
    transform: translateX(-100%);
    /* 平滑过渡 */
    transition: transform 1s ease, width 1s ease;
}

/* 定义滑入动画 */
.video-container1 video.slide-in-active {
    transform: translateX(0);
    width: 600px;
}



.text-container1 {
    box-sizing: border-box;
    margin-left: 10%;
    height: 300px;
}

.text-container1 p {
    transform: translateX(180%);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.text-container1 p.slide-in-active {
    transform: translateX(0);
    opacity: 1;
}











p {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #333;
    text-shadow: 2px 2px 5px 1px rgba(0, 0, 0.075);
}





.video-container1,
.video-container2 {
    pointer-events: none;
    overflow: hidden;
}









.video-container2 {
    /* 移除边框 */
    border: none;
    display: flex;
    height: 400px;
    align-items: center;
    margin-top: 150px;
    justify-content: flex-end;
}

.video-container2 video {
    /* 设置视频的具体宽度，例如600像素 */
    width: 0px;
    /* 高度自动按比例调整 */
    height: auto;
    /* 防止视频溢出容器 */
    margin-right: 5%;
    max-width: 100%;
    border-radius: 50px;
    box-shadow: -2px 2px 5px 1px rgba(0, 0, 0.075);
    margin-top: 50px;
    /* 添加鼠标指针样式，提示用户可点击 */
    /* cursor: pointer; */
    transform: translateX(100%);
    transition: transform 1s ease, width 1s ease;
}

.video-container2 video.slide-in-active {
    transform: translateX(0);
    width: 600px;
}

.text-container2 {
    box-sizing: border-box;
    margin-right: 10%;
    height: 300px;
}

.text-container2 p {
    margin-top: 100px;
    transform: translateX(-150%);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.text-container2 p.slide-in-active {
    transform: translateX(0);
    opacity: 1;
}