/****************************** header bg image effects ******************************/
@keyframes moveBackground {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: 100% 100%;
    }
}

.about_us_header {
    height: 60vh;
    width: 100%;
    margin: 0;
    /*background-image: url('{__PC__}/default/images/about_us_header_bg.jpg');*/
    background-position: center;
    background-size: cover;
    animation: moveBackground 5s linear infinite; /* 调整动画时间和速度 */
}
/****************************** video  ******************************/
.video-container {
    position: relative;
}

#myVideo {
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色遮罩 */
    display: flex;
    justify-content: center;
    align-items: center;
}

#playButton {
    color: #fff;
    background-color: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/***************************** vmv *****************************/
.vmv-box {
    position: relative;
    width: 320px;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.vmv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white; /* Text color on the overlay */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3); /* Overlay background color */
    transition: opacity 0.5s; /* Smooth transition effect */
}

.vmv-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1003; /* Ensure .vmv-title is above the overlay */
}

.vmv-content {
    /* Additional styles for .vmv-content can be added here */
    opacity: 0; /* Initially hidden */
    padding: 0px 5px;
}

.vmv-box:hover .vmv-title {
    opacity: 0; /* Show the overlay when .vmv-box is hovered */
}

.vmv-box:hover .vmv-content {
    opacity: 1; /* Show the overlay when .vmv-box is hovered */
}