@font-face {
    font-family: 'JetBrains Mono';
    src: url("/?public=font/JetBrainsMono-Bold.ttf");
}

/** lay ui 图标字体 **/
@font-face {
    font-family: 'layui-icon';
    src: url('/?public=font/iconfont.eot');
    src: url('/?public=font/iconfont.eot') format('embedded-opentype'),
        url('/?public=font/iconfont.woff2') format('woff2'),
        url('/?public=font/iconfont.woff') format('woff'),
        url('/?public=font/iconfont.ttf') format('truetype'),
        url('/?public=font/iconfont.svg') format('svg');
}

* {
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Mono', monospace !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

a {
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

body {
    background: #000;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -100;
    opacity: 0.7;
    pointer-events: none;
    background-image: url(/root/body.webp);
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #2f363c;
}

::-webkit-scrollbar-thumb {
    background: #fff;
}

#current-path::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}


#current-path::-webkit-scrollbar-track {
    background: #bbbbbb;
}

/* 一些公共类 */
.layui-layer-msg {
    pointer-events: none;
}

.none-event {
    pointer-events: none;
}

.opacity {
    background-color: transparent !important;
}

.ellipsis-scroll-x {
    overflow-x: auto;
}

.ellipsis-scroll-y {
    overflow-y: auto;
}

.box-shadow {
    box-shadow: 1px 3px 1px 3px rgba(0, 0, 0, 0.1);
}

.center {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
}

.center-nowrap {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

.center-left {
    display: flex !important;
    align-items: center !important;
    justify-content: left !important;
}

.center-right {
    display: flex !important;
    align-items: center !important;
    justify-content: right !important;
}

.center-space-between {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}


.padding-right-4 {
    padding-right: 4px;
}

.padding-left-4 {
    padding-left: 4px;
}

.pointer,
.click {
    cursor: pointer;
}

.pointer:hover,
.click:hover {
    color: #0654d3;
}

.not-allowed {
    cursor: not-allowed;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 媒体查询 */
@media (max-width: 450px) {
    .mobile {
        display: none;
    }
}