/*顶部导航栏*/
.sidebar {
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 50px;
    background: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

/*顶部导航栏搜索↓*/
/*搜索图标↓*/
.sidebar>.icon-search {
    position: absolute;
    top: 8px;
    right: 20px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    border-radius: 100%;
    border: 5px solid currentcolor;
}

.sidebar>.icon-search:after {
    position: absolute;
    content: "";
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 20px;
    height: 5px;
    top: 18px;
    left: 10px;
    cursor: pointer;
    background: currentcolor;
}

/*搜索图标↑*/

/*创建搜索框并隐藏*/
.sidebar>#search {
    position: absolute;
    top: -50px;
    width: 100%;
    height: 50px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #c0c0c0;
}

/*搜索输入框*/
.sidebar>#search>#search_frame {
    width: 300px;
    height: 30px;
    border: none;
    font-size: 18px;
    border: 2px solid #00ccff;
}

/*搜索按钮*/
.sidebar>#search>.search_button {
    width: 50px;
    height: 30px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    background: linear-gradient(90deg, #00ccff, #0099ff, #0066ff);
}

/*顶部导航栏搜索↑*/

/*顶部导航栏三条杠↓*/
.sidebar>.icon-stg {
    position: absolute;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.sidebar>.icon-stg:after {
    content: "";
    position: absolute;
    width: 25px;
    box-shadow: 10px 14px 0 3px, 10px 25px 0 3px, 10px 36px 0 3px;
}

/*顶部导航栏三条杠↑*/

/*顶部导航栏图标*/
.sidebar>img {
    position: absolute;
    width: auto;
    height: 50px;
    max-width: 200px;
    left: 50%;
    transform: translate(-50%, 0);
}

/*房子图标↓*/
.icon-home {
    position: absolute;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.icon-home:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    top: 7px;
    left: 7.5px;
    border: 18px solid transparent;
    border-bottom-color: #000;
    border-top: 0;
}

.icon-home:after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    top: 25px;
    left: 13.5px;
    border: 8px solid #000;
    border-bottom: 0;
    border-top-width: 7px;
}

/*房子图标↑*/

/*侧边栏模板↓*/
.sidebar>.box {
    position: fixed;
    width: 300px;
    height: 100%;
    background: white;
    display: none;
}

@keyframes sidebar_box_on {
    0% {
        transform: translate(-300px, 0);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes sidebar_box_off {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-300px, 0);
    }
}

/*侧边栏模板↑*/

/*侧边栏右侧屏关闭按钮↓*/
.sidebar>.screen_shut {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

@keyframes sidebar_screen_shut_on {
    0% {
        background: rgba(0, 0, 0, 0);
    }

    100% {
        background: rgba(0, 0, 0, 0.5);
    }
}

@keyframes sidebar_screen_shut_off {
    0% {
        background: rgba(0, 0, 0, 0.5);
    }

    100% {
        background: rgba(0, 0, 0, 0);
    }
}

/*侧边栏右侧屏关闭按钮↑*/

/*侧边栏右上角叉↓*/
.sidebar>.box>.icon-fork {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 2.5px;
    width: 25px;
    height: 5px;
    cursor: pointer;
    background: black;
    transform: rotate(45deg);
}

.sidebar>.box>.icon-fork:after {
    content: "";
    position: absolute;
    width: 25px;
    height: 5px;
    background: black;
    transform: rotate(90deg);
}

/*侧边栏右上角叉↑*/

/*侧边栏滚动条*/
.sidebar>.box>.gdt {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/*隐藏侧边栏滚动条*/
.sidebar>.box>.gdt::-webkit-scrollbar {
    width: 0;
}

/*侧边栏图片点击特效↓*/
.sidebar>.box>.gdt>.card {
    position: relative;
    width: 100%;
    height: 200px;
    cursor: pointer;
    background-color: rgb(243, 243, 243);
    overflow: hidden;
}

.sidebar>.box>.gdt>.card span {
    position: absolute;
    transform: translate(-50%, -50%);
    background-color: rgb(255, 254, 254);
    border-radius: 50%;
    animation: sidebar_img_special_effect 1s;
}

@keyframes sidebar_img_special_effect {
    0% {
        width: 0px;
        height: 0px;
        opacity: 1;
    }

    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

/*侧边栏图片点击特效↑*/

/*侧边栏按钮↓*/
.sidebar>.box>.gdt>ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.sidebar>.box>.gdt>ul>li>a {
    line-height: 30px;
    font-size: 30px;
    padding: 8px 15px;
    color: black;
    text-decoration: none;
    display: block;
}

.sidebar>.box>.gdt>ul>li>a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

/*侧边栏按钮↑*/

/*侧边栏标题*/
.sidebar>.box>.gdt>ul>.title {
    font-size: 30px;
    font-weight: bolder;
    text-align: center;
    background: linear-gradient(90deg, #00ccff, #0099ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}