*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.showcase{
    position: absolute;
    right: 0;
    width: 100%;
    min-height: 100vh;              /* 容器高度适配视窗 */
    padding: 100px;
    display: flex;
    justify-content: space-between;              /* 顶部、中间、底部元素分散对齐 */
    align-items: center;              /* 水平居中 */
    background: #000;
    color: #fff;
    z-index: 2;
    transition: 0.5s;
}

.showcase.active{
    right: 300px;
}

.showcase header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.showcase video{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    object-fit: cover;
}

.logo{
    width:500px;
    display: flex;
    align-items: center;
}

.logo h2{
    white-space: nowrap;
    margin-left: 10px;
}

.logo img{
    width: 100%;
}

.toggle{
    position: relative;
    width: 60px;
    height: 60px;
    background: url('assets/menu.png');
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center;
    cursor: pointer;
}

.toggle.active{
    background: url('assets/close.png');
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center;
}

.overlay{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background:darkkhaki;               /* 叠加层暗化效果 */
    /* background: gold; */
    mix-blend-mode: overlay;
}

/* 核心：文字区域底部居中 */
.text{
    position:relative;
    left: 50%;                                             /*文字网页水平居中*/
    transform: translateX(-50%);                 /*文字网页水平居中*/
    z-index:  10;
    text-align: center;                 /*文字内部水平居中*/
    margin-bottom:-650px;                /*与社交图标保持距离*/
}

.text h2{
    font-size: 1em;                /* 核心：文字大小0.5 */
    font-weight: 200;               /* 核心：文字粗细200 */
    line-height: 1em;               /* 核心：文字语句行高 */
    text-transform: uppercase;              /* 核心：文字居中text-align: center; */
}

.text h3 {
    font-size: 4em;
    font-weight: 700;
    line-height: 1em;
    text-transform: uppercase;                /* 核心：用于将文本转换为大写 */
}

.text p{
    font-size:1.1em;
    margin: 20px 0;
    font-weight: 400;
    max-width: 700px;
}

.text a{
    display: inline-block;
    font-size: 1em;
    background: #fff;
    padding: 10px 30px;
    text-decoration: none;
    color: #111;
    margin-top: 10px;
    transition: 0.2s;
}

.text a:hover{
    letter-spacing: 6px;
}

/*    核心：社交图标区域底部居中    */

.social{
    position: absolute;
    bottom: 20px;              /* 图标与网页底部距离10 */
    left: 50%;
    transform: translateX(-50%);
    z-index:10;
    display:flex;
    justify-content: center;
    align-items: center;              /* 文字内部水平居中 */
}

.social li{
    list-style: none;
}

.social li a {
    display: inline-block;
    width: 30px;              /* 图标大小30 */
    margin-right: 20px;              /* 图标间距10*/
    transition: 0.5s;
}

.social li a:hover{
    transform: translateY(-15px);
}

.social li a img{
    width: 100%;
}

.menu{
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height:100%;
    display:flex;
    align-items: center;
    justify-content: center;
}

.menu ul{
    list-style: none;
}

.menu ul li{
    margin-top: 20px;
}

.menu ul li a {
    text-decoration: none;
    font-size: 24px;
    color: #111;
}

.menu ul li a:hover{
    color: lightblue;
}

@media(max-width: 991px){
    .showcase, .showcase header{
        padding: 40px;
    }

    .text h2{
        font-size: 1em;
    }

    .text h3{
        font-size: 2em;
    }
}