@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,600;0,700;0,800;0,900;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap');

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	user-select: none;
}

section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    position: relative;
    font-size: 2em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, .1);
    transition: .5s;
    letter-spacing: 8px;
}

header .toggle {
    position: relative;
    width: 40px;
    height: 40px;
    background: url("../images/menu.png") no-repeat;
    cursor: pointer;
    background-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;

}

header .toggle::before {
    content: "简介";
    position: absolute;
    top: -2px;
    right: 45px;
    color: #111;
    width: 60px;
    letter-spacing: 2px;
    text-align: center;
    font-size: 14px;
    padding: 2px 5px;
    background: #fff;
}

header .toggle.active {
    background: url("../images/close.png") no-repeat;
    background-size: 21px;
}

header .toggle.active::before {
    content: " 关闭";
}

section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    z-index: 1;
    backdrop-filter: blur(15px);
    box-shadow: 10px 0 15px rgba(0, 0, 0, 0.1);
    transition: .5s;
    /*   transition-delay: 1s;*/
}

section.active .glass {
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow: 10px 0 15px rgba(0, 0, 0, 0.5);
    transition-delay: 0s;
}

section .content {
    position: relative;
    z-index: 10;
    text-align: center;
    transition: .5s;
    transition-delay: 1s;
}

section.active .content {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-200px);
    transition-delay: 0s;
}

section .content h2 {
    position: relative;
    color: white;
    font-size: 5vw;
    line-height: .55em;
    text-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    font-family: 'Ma Shan Zheng', cursive;
    font-weight: 400;
}

section .content h2 span {
    font-size: .2em;
    font-weight: 300;
    letter-spacing: 5px;
    background: white;
    color: #111111;
    padding: 0 10px;
    text-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    text-transform: uppercase;
}

section .sci {
    position: absolute;
    bottom: 40px;
    right: 100px;
    z-index: 100;
    display: flex;
}

section .sci li {
    list-style: none;
    margin: 5px;
    padding: 0 6px;
    background: white;
    transition: .5s;
    transition-delay: calc(.2s * var(--i));
}


section.active .sci li {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}


section .sci li a {
    color: #111;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-size: 12px;
}

section .introduce{
    position: absolute;
    top: 50%;
    left: 50%;

    text-shadow: 10px 0 15px rgba(0, 0, 0, 0.5);
    text-indent: 2em;
    line-height: 200%;
    color: white;
    font-size: 1.2em;
    z-index: 100;
    opacity: 0;
    transition: .5s;
    transform: translate(-50%, -50%) translateX(200px);
    transition-delay:.2s;
}

section.active .introduce{
    opacity: 1;

    transform: translate(-50%, -50%) translateX(0px);
}


@media (max-width: 991px) {
    header {
        padding: 20px;
    }
    section .sci{
        bottom: 20px;
        right: 20px;
    }

    .glass{
        width: 50%;
    }

    section .content h2{
        font-size: 10vw;
    }

    section .content h2 span{
        letter-spacing: 2px;
        padding: 0 5px;
    }

    section.active .introduce {
        inset: 100px;
        transform: translate(20px, 20px);
        font-size: 1em;
    }
}