@font-face {
    font-family: 'iconfont';  /* Project id 4579104 */
    src: url('../font/iconfont.ttf');
}
:root,body{
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    width: 100vw;
    height: 100vh;
    scroll-behavior: smooth;
    scrollbar-width: 0;
    overflow-x: hidden;
    margin: 0;
}::-webkit-scrollbar{
    display: none;
}#topbar{
    position: fixed;
    top: 0;
    width: 100vw;
    left: 0;
    background-color: #fff;
    box-shadow: 0 0 6px #aeaeae;
    padding: 5px;
    padding-left: 0;
    padding-right: 0;
    z-index: 114514;
}#topbar h1{
    color: #363636;
    display: inline-block;
    margin: 0;
    transform: translateY(-33px);
    font-size: 18px;
}#topbar h1::after{
    content: '众志成城';
    padding: 2px;
    border-radius: 3px;
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #363636;
    font-size: 11px;
    position: relative;
    top: 19px;
    right: 82px;
}#topbar input[type="text"]{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px;
    padding-left: 8px;
    padding-right: 8px;
    border: 1px solid #565656;
    border-radius: 20px;
    outline: none;
    transition: all .24s;
    width: 120px;
}#topbar input[type="text"]:focus{
    border: 1px solid #3498db;
    width: 150px;
}#topbar a{
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-weight: normal;
    font-size: 16px;
    margin-right: 15px;
    transition: all .15s;
}#topbar a:hover{
    text-decoration: underline;
}#topbar a:last-child{
    margin-right: 0;
}#topbar a:active{
    opacity: .5;
}#menu{
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'iconfont';
    font-weight: bold;
    font-size: 33px;
    color: #565656;
}#menu-child{
    display: none;
    opacity: 0;
    transition: all .24s;
    position: fixed;
    right: 10px;
    top: 65px;
    background-color: #fff;
    box-shadow: 0 0 4px #aeaeae;
    border-radius: 5px;
    padding: 10px;
    padding-left: 0;
    padding-right: 0;
    z-index: 114515;
}#menu-child span{
    display: block;
    margin-bottom: 3px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
}#menu-child span:last-child{
    margin-bottom: 0;
}#menu-child span:hover{
    background-color: #f1f1f1;
}

@media(max-width:500px){
    #topbar a{
        display: none;
    }#topbar input[type="text"]{
        right: 50px;
    }#menu{
        display: block;
    }
}