*{
    margin: 0;
    /* 外面距离：0； */
    padding: 0;
    /* 内边距 */
}
.container{
    height: 100vh;
    /* 视口高度 */
    position: relative;
    /* 相对定位 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.video-container{
    position: absolute;
    z-index: -1;
}
@font-face{
    font-family: 'myfont';
    src: url('../font/汉仪行楷简.ttf');
}
.text-container{
   color: white;
   text-align: center;
   line-height: 55px;
}
.text-container h1{
    letter-spacing: -1px;
    font-family: myfont;
    font-size: 40px;
    font-weight: 100;
}
h2{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    letter-spacing: 6px;
    /* 字间距 */
}
.btn{
    display: inline-block;
    color: white;
    text-decoration: none;
    width: 150px;
    height: 50px;
    border: 1px solid white;
    line-height: 50px;
    margin-top: 30px;
    border-radius: 5px;
}
.btn:hover{
    background-color: rgba(255, 255, 255, 0.256);
}
.video-container::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.nav{
    width:1000px;
    height:50px;
    /* background-color: rgba(240, 248, 255, 0.108); */
    position:absolute;
    top:30px;
}
img{
    height:50px;
    float:left;
}
.list{
    float:right;
}
.list>li{
    float:left;
    list-style: none;
    color:white;
    margin-right: 50px;
    line-height: 50px;
}
.sub-list{
    list-style: none;
    display: none;
}
.list a{
    text-decoration: none;
    color: white;
}
.list a:hover{
    color: yellow;
}
#product:hover .sub-list{
    display: block;
}
.triangle{
    display: inline-block;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top: 4px solid white;
    position: relative;
    top: -2px;
}
#product:hover .triangle{
    border: 4px solid transparent;
    border-bottom: 4px solid white;
    position: relative;
    bottom: 2px;
}
.news{
    width: 100%;
    /* height: 1000px; */
    background-color: rgb(233, 233, 233); 
}
.title{
    max-width: 1200px;
    margin: 0 auto;
    height: 130px;
    /* background-color: aqua; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-title{
    display: inline-block;
    /* background-color: blue; */
    text-align: center;
}
.news-container{
    max-width: 1200px;
    /* height: 800px; */
    margin: 0 auto;
    /* background-color: aquamarine; */
    display: flex;
    /* 开启弹性盒模型，要写在父元素上 */
    flex-wrap: wrap;
    /* 自动换行 */
    justify-content: center;
    /* 居中对齐 */
}
.news-item{
    width: 300px;
    height: 300px;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin: 20px;
}
.news-item img{
    width: 300px;
    height: 200px;
    margin-bottom: 10px
}
.news-item h3{
    margin-bottom: 10px;
}