@font-face {
    font-family: "HYWenHei-85W";
    src: url("../font/HYWenHei-85W.ttf");
}

html{
    font-family: HYWenHei-85W, serif;
}

body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    overflow-x: hidden;
}

/*顶部导航栏部分*/

#bar{
    margin: -8px;
    list-style-type: none;
    height: 80px;
    padding: 10px;
    background-color: #ffffff !important;
    position: sticky;
    top: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    opacity: 0;
    z-index: 9999;
}

.bar_wrapper{
    float: left;
}

div.bar_wrapper a{
    font-size: 24px;
    display: block;
    color: black;
    text-align: center;
    padding: 25px 20px 25px 20px;
    width: 100px;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.1s linear;
}

div.bar_wrapper a:hover{
    background-color: #87CEFAD0;
    transition: background-color 0.1s linear;
}

/*主要内容及背景*/

#welcome{
    text-align: center; /*让div内部文字居中*/
    width: 100%;
    height: 65px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 60px;
    opacity: 60%;
}

video#bgVideo{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    object-fit: cover;
    min-height: 800px;
    z-index: -9999;
}

.main-bg{
    display: flex;
    flex-direction: column;
    margin: 100vh auto 100px;
    max-width: 1500px;
    background-color: #ffffffa0;
    border-radius: 12px;
    padding: 1%;
    overflow: auto;
    min-width: 1000px;
}

li{
    font-size: 18px;
    opacity: 85%;
}

h1::before{
    content: "";
    display: inline-block;
    position: relative;
    transform: translateY(16%);
    border-radius: 1em;
    width: .25em;
    height: 1em;
    background-color: #87CEFA;
}

p{
    list-style-type: disc;
}

/*页脚部分*/

footer{
    margin: -8px;
    text-align: center;
    padding: 40px;
    background-color: #ffffffdd;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    z-index: 9999;
}