header{
    top: 0;
    left: 0; 
    width: 100%;
    height: 60px;
    background-color: #181818;
    z-index: 999;
    padding: 10px;
    position: fixed;
    min-width: 800px;
    box-sizing: border-box;

    transition: all .3s;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -ms-zoom-transition: all .3s;
    -webkit-transition: all .3s;
}

header>div{
    display: inline-block;
    height: 100%;
    line-height: 40px;
    vertical-align: middle;
}

.right{
    float: right;
}

#logo{
    vertical-align: middle;
}

#logo>img{
    height: 100%;
}

.nav-item{
    width: 100px;
    height: 40px;
    color: #ccc;
    padding: 0 20px;
    font-size: 17px;
    cursor: pointer;
    user-select: none;
    line-height: 40px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    transition: all 1s;
    -o-transition: all 1s;
    -moz-transition: all 1s;
    -ms-zoom-transition: all 1s;
    -webkit-transition: all 1s;
}

.nav-item:hover{
    transition: all 1s;
    -o-transition: all 1s;
    -moz-transition: all 1s;
    -ms-zoom-transition: all 1s;
    -webkit-transition: all 1s;
    background-color: #fff;
    color: #000;
}


footer{
    text-align: right;
    font-size: 14px;
    width: 100%;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    color: #ccc;
    position: fixed;
    z-index: 999;
    bottom: 0;
}

footer>span{
    margin: 30px;
}

footer img{
    vertical-align: middle;
    width: 18px;
}

.header{
    height: 60px;
    padding: 10px;
    background-color: #383838;
    transition: all .3s;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -ms-zoom-transition: all .3s;
    -webkit-transition: all .3s;
}

/* 侧边栏弹窗 */

.right>a{
    display: inline-block;
}

footer{
    background-color: #181818;
}

.disappear{
    display: none;
}


/* 彈窗 */
.showOpen{
    cursor: pointer;
    font-size: large;
    font-weight: bold;
}

.open{
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 999;
    text-align: center;
    display: none;
}

.open-wrap{
    display: inline-block;
    background-color: #fff;
    margin-top: calc(50vh - 125px);
    padding: 20px;
}

.open-wrap>p{
    margin-bottom: 15px;
    color: #000;
    text-align: center;
}

.msg{
    width: 300px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
    border-radius: 10px;
    position: fixed;
    z-index: 999;
    left: calc(50% - 150px);
    top: 100px;
    background-color: rgba(0, 255, 255,.5);
    color: #fff;
    display: none;
}

.red{
    background-color: rgba(255, 0, 0, .5);
}

