   *{
            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{
            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:fixed;
            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: aliceblue;

}
.list a:hover{
    color: darkgoldenrod;
}
#product:hover .sub-list{
    display: block;
}
.triangle{
    display: inline-block;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top: 4px white;
    position: relative;
    top: -2px;
}
#product:hover .triangle{
    border: 4px solid transparent;
    border-bottom: 4px white;
    position: relative;
    top: 2px;

}
.news{
    width:100%;
   /*height: 1000px;*/
    background-color: rgb(48, 123, 189);
   }
.title{
    max-width: 1200px;
    margin: 0 auto;
    height: 100px;
   /* background-color: azure;*/
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-title{
   display: inline-block;
   background-color: rgb(214, 214, 237);
   text-align: center;
}
.news-container{
    max-width:1200px;
   /* height: 800px;*/
    margin: 0 auto;
    /*background-color: rgb(109, 148, 220);*/
    display: flex;
    /*开启弹性盒模型，要写在在父元素上*/
    flex-wrap: wrap;
    /*自动换行*/
    justify-content: center;
    /*居中对齐*/
}
.news-item{
    width: 300px;
    height: 1000px;
    background-color: aliceblue;
    padding: 20px;
    border-radius: 5px;
    margin: 20px;
}
.news-item img{
    width: 300px;
    height: 200px;
    margin-bottom: 10px;
}
.news-item h3{
    margin-top: 10px;
}