* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
	padding-top:0px; 
    overflow: hidden; /* 防止滚动条出现 */
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* 防止视频内容溢出容器 */
}

#myVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover; /* 确保视频覆盖整个容器，同时保持宽高比 */
    z-index: -1; /* 将视频置于背景 */
}
header { position: fixed; width: 100%; top: 0; left: 0; background-color: rgba(0, 0, 0, 0); z-index: 299; -webkit-transition: background-color 0.3s , top 0.3s; -o-transition: background-color 0.3s , top 0.3s; -moz-transition: background-color 0.3s , top 0.3s; transition: background-color 0.3s , top 0.3s; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }