*{
    margin: 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{
    font-family: 'myfont';
    font-size: 40px;
    font-weight: 10;
}
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: dimgray;
}
.video-container::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.665);
}
.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: 30px;
    line-height: 50px;
}
.sub-list{
    list-style: none;
    display: none;
}
.list a{
    text-decoration: none;
    color: white;
}
.list a:hover{
    color: rgb(202, 247, 3);
}
#product:hover .sub-list{
    display: block;
}
.triangle{
    display: inline-block;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top: 4px solid white;
}
#product:hover .triangle{
    border: 4px solid transparent;
    border-bottom: 4px solid white;
    position: relative;
    bottom: -2px;
}
.news{
    width: 100%;
   /* height: 1000px;*/
    background-color: rgb(224, 224, 224);
}
.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;
}
   