*{
    /* 页面初始化,清楚元素的内外边距 */
    padding: 0;
    margin: 0;
}

li{
    list-style: none;
}
a{
    /*font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;*/
    font-family:"HYYAKUHEIW","Arial","Microsoft YaHei","黑体","宋体",sans-serif;
    text-decoration: none;
    color: rgb(255, 255, 255);
    user-select: none;
    font-weight:bold;
}

.navbar{
    width: 100%;
    height: 70px;
    background-color: #1b1c1d;
    /* 盒子阴影 */
    box-shadow: 0 0 5px rgba(161, 150, 150, 0.3);
    opacity: 0.8;
}

.navbar .nav{
    width: 100%;
    height: 100%;
    /* 让元素自动水平居中 */
    margin: 0 auto;
    z-index: 100;
}

.navbar .nav ul{
    /* 相对定位 */
    position: relative;
    /* 弹性布局 */
    display: flex;
    /* 让子元素平均分配宽度 */
    justify-content: space-around;
    width: 100%;
    height: 100%;
    z-index: 10000;
}
.navbar .nav ul > li{
    width: 100%;
    height: 100%;
}

.navbar .nav ul > li > a{
	/* 因为a元素是行内元素 必须将其转为行内块或者块级才能设置宽度和高度 */
    display: block;
    width: 100%;
    height: 100%;
    line-height: 70px;
    text-align: center;
}

.navbar .nav ul > li ol{
    width: 100%;
    background-color: #1b1c1d;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	/* 让盒子先沿着y轴缩放到0 也就是隐藏了 */
    transform: scaleY(0);
	/* 我们需要将盒子从上面滑动下来 设置一下缩放的中心点即可 设置到最上面的中间位置 */
    transform-origin: 50% 0;
    /* 设置过渡 */
    transition: all 0s;
}

.navbar .nav ul > li ol li{
    height: 70px;
    border-bottom: 1px solid rgb(37, 37, 37);
}

.navbar .nav ul > li ol li a{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 70px;
    text-align: center;
}

.navbar .nav ul > li ol li:hover{
    background-color: rgba(0, 0, 0, 0.03);
}

.navbar .nav ul > li:hover ol{
    transform: scaleY(1);
}

button-logo,button-logo::after{
    width: 100%;
    user-select: none;
    display: flex;
    justify-content: center;
    font-style: oblique;
    font-weight:bold;
    align-items: center;
    height: 70px;
    font-size: 36px;
    font-family: 'Bebas Neue',cursive;
    background: linear-gradient(45deg,transparent 5%,#1b1c1d 5%);
    border: 0;
    color: #fff;
    letter-spacing: 3px;
    line-height: 88px;
    box-shadow: 0px 0px 0px #00e6f6;
    outline: transparent;
    position: relative;
    opacity: 0.9;
}

button-logo::after{
    --slice-0:inset(50% 50% 50% 50%);
    --slice-1:inset(80% -6px 0 0 );
    --slice-2:inset(50% -6px 30% 0);
    --slice-3:inset(10% -6px 85% 0);
    --slice-4:inset(40% -6px 43% 0);
    --slice-5:inset(80% -6px 5% 0);

    content: "YEESEN";
    align-items: center;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,transparent 3% ,#00e6f6 3%,#1b1c1d 5%);
    text-shadow: -3px -3px 0px #f8f005,3px 3px 0px #00e6f6;
    clip-path: var(--slice-0);
}

button-logo:hover::after{
    animation: 1s glitch;
    animation-timing-function: steps(2,end);
}

@keyframes glitch{
    0%{
        clip-path: var(--slice-1);
        transform: translate(-20px,-10px);
    }
    10%{
        clip-path: var(--slice-3);
        transform: translate(10px,10px);
    }
    20%{
        clip-path: var(--slice-1);
        transform: translate(-10px,10px);
    }
    30%{
        clip-path: var(--slice-3);
        transform: translate(0px,5px);
    }
    40%{
        clip-path: var(--slice-2);
        transform: translate(-5px,0px);
    }
    50%{
        clip-path: var(--slice-1);
        transform: translate(5px,0px);
    }
    60%{
        clip-path: var(--slice-4);
        transform: translate(5px,10px);
    }
    70%{
        clip-path: var(--slice-2);
        transform: translate(-10px,10px);
    }
    80%{
        clip-path: var(--slice-5);
        transform: translate(20px,-10px);
    }
    90%{
        clip-path: var(--slice-1);
        transform: translate(-10px,0px);
    }
    100%{
        clip-path: var(--slice-1);
        transform: translate(0);
    }

}