*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
}
html,body {
    font-family: Ali-DFDK;
    width: 100%;
    cursor: url(../img/mouse_normal.png), default;  /*默认*/
}
a, button, input[type="button"], input[type="submit"], input[type="reset"]{cursor:url('../img/mouse_link.png'), auto;}

/* Hides from IE-mac \*/
* html .clearfix {height: 0%;}
/* End hide from IE-mac */
* + html .clearfix {min-height: 0%;}
/* 针对IE7 */
* + html .clearfix {min-height: 0%;}

/*纵向居中*/
.v_m {vertical-align: middle;}
/*横向居中*/
.t_c {text-align: center;}
/*相对定位*/
.p_r {position: relative;}

/* 头部 */
.sw-header{
    display: flex;
    align-items: center;
    height: 60px;
    width: 100%;
    background: #000;
}
.sw-logo{
    z-index: 10001;
    padding: 5px 20px;
    font-size: 20px;
    color: #fff;
}
.sw-nav{
    margin-left: auto;
}
.sw-nav .layui-nav{
    background: #000;
}
.sw-theme{
    z-index: 10001;
    padding: 0px 20px;
    /* padding-right: 20px;
    margin-left: auto; */
}
.sw-theme .layui-form-switch{
    margin: 0px;
}
.sw-menu{
    z-index: 10001;
    display: none;
}
.layui-mobile-menu{    
    z-index: 10001;
    display: none;
}

/* 中部 */
.sw-center{

}
/* 底部 */
.sw-footer{
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: calc(100vh - 140px); */
}

.layui-side{
    width: 0;
}


.layui-list {
    display: flex;
    /* position: fixed; */
    padding: 10px;
    flex-flow: wrap;

}

.layui-item {
    text-align: center;
    display: block;
    margin: 5px 5px;
    transition: all .3s;
    width: 60px;
    height: 80px;
}

.layui-item:hover {
    transform: scale(1.25);
}

.layui-item .layui-item-icon {
    width: 46px;
    height: 46px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

.layui-item .layui-item-name {
    margin-top: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 
.layui-fixbar li{
    border-radius: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 25px;
} */

.layui-footer{
    /* display: block; */
    /* position: relative; */
    flex:0;
    padding: 20px;
    text-align: center; 
}


/* 767.98px */
@media screen and (max-width: 767.98px) {
    .sw-logo{
        padding-left: 45%;
    }
    .sw-logo i{
        display: none;
    }
    .sw-nav{
        display: none;
    }
    .layui-mobile-menu{
        display: block;
        color: #fff;
        padding: 15px;
        /* border: 1px #da3838 solid; */
        /* margin-left: auto; */
    }
    .layui-mobile-menu:hover{
        color: #5aec72;
    }
    .sw-theme{
        margin-left: auto;
    }
    .layui-side-show .sw-menu{
        display: block;
        /* justify-content: center; */
    }
    .layui-side-show .sw-menu .layui-nav{
        z-index: 10000;
    }
    .layui-side-show .layui-side{
        /* z-index: 2; */
        width: 100%;
        /* top: 120px; */
        background-color: #4e4e4eb3;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}



:root {
    --color2: #56d5fc;
    --color4: #def700;
    --color6: #fa3195;
}
.clock_box {
    position: relative;
    width: 450px;
    height: 80px;
    border-radius: 10px;
    background-image: linear-gradient(135deg, var(--color2), var(--color4), var(--color6));
    /* 居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: animate 4s linear infinite;
}

.clock_box::after, .clock_box::before {
    position: absolute;
    content: "";
    /* 集成父级样式 */
    background-image: inherit;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 10px;
    filter: blur(15px);
}

.clock_box::before {
    filter: blur(100px);
}

.clock {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    background-color: #2b2a2a;
    border-radius: 8px;
    /* 居中 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.clock p {
    font-size: 25px;
    font-weight: bold;
    color: transparent;
    letter-spacing: 2px;
    background-image: linear-gradient(135deg, var(--color2), var(--color4), var(--color6));
    /* text不是通用样式属性值 */
    background-clip: text;
    /* 这个是chrome */
    -webkit-background-clip: text;
}

@keyframes animate {
    100% {
        /* 色相变化 */
        filter: hue-rotate(360deg);
    }
}









