@charset "utf-8";
/*@import url(//fonts.loli.net/earlyaccess/notosansscsliced.css);*/
* {
    padding: 0;
    margin: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
html, body {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
html {
    font-family: 'Noto Sans SC Sliced', PingFangSC-Light, Microsoft YaHei UI, Microsoft YaHei, helvetica, sans-serif;
    font-weight: 500;
    color: #000;
}
body {
    background-color: black;
    margin: 0;
    transition: filter 0.5s ease;
    height: 100vh;
    --color-light: #CECBC8;
    --color-dark: #313437;
}
form, input, button {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background: none;
}
input::-webkit-input-placeholder {
    color: #ccc;
    letter-spacing: 2px;
    font-size: 16px;
}
ul, li {
    display: block;
    list-style: none;
}
a {
    text-decoration: none;
    color: #000;
}

/* Costum scroll bar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track { /* scroll bar 背景 */
    /* background: #222d46; */
    background: #f1f1f1; 
    border-radius: 0px;
}
::-webkit-scrollbar-thumb { /* scroll bar 滑块 */
    /* background: #293550; */
    background: #888;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { /* scroll bar 滑块 hover */
    /* background: #293550; */
    background: #555;
}
/* ::-webkit-scrollbar-corner {
    background: #222d46;
} */
@media (max-width: 299px) {
    body {
        background-color: var(--color-light);
    }
    #main, .bg {
        display: none;
    }
    .screenWidthAlert {
        color: #000;
        text-align: center;
        padding-top: 40vh;
        font-weight: bold;
        font-size: larger;
    }
    .screenWidthAlert p {
        padding: 10px;
    }
    .screenWidthAlert .footer, .screenWidthAlert .divider {
        color: #000;
    }
    body.night {
        background-color: var(--color-dark) !important;
    }
    .night .screenWidthAlert, .night .screenWidthAlert a {
        color: var(--color-light);
    }
    .night .screenWidthAlert .footer, .night .screenWidthAlert .divider {
        color: var(--color-light);
    }
}
@media (min-width: 299px) {
    .screenWidthAlert {
        display: none;
    }
}
@media (max-width: 426px) {
    .timeContainer {
        top: 50px !important;
        transition: 0.3s all linear;
    }
    #search {
        top: 150px !important;
        transition: 0.3s all linear;
    }
    #menuBtn.on {
        right: 235px !important;
    }
    .home, #menuBtn {
        top: 5px;
    }
    .page-container.focus .page.active .note {
        margin-top: 200px !important;
        padding: 15px !important;
    }
}
.bg {
    background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed; 
    height: 100%;
    width: 100%;
    background-size: cover; 
    background-position: center; 
    z-index: -999; 
    top: 0;
    margin: -5px -10px -10px -5px;
    transform: scale(1.05);
    animation: fadeOut .25s;
    transition: .25s;
    pointer-events: none;
}
.bg.focus {
    transform: scale(1.3);
    filter: blur(10px); 
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    transition: .25s;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.timeContainer {
    position: fixed;
    top: 115px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    text-align: center;
    cursor: default;
    z-index: 1;
    user-select: none;
    transition: 0.3s all linear;
}
.timeClock {
    font-size: 42px;
    color: rgba(255, 255, 255, 0.77);
    transition: .25s;
    text-shadow: 0 0 20px rgb(0 0 0 / 45%);
    transform: translateX(-50%);
    position: fixed;
    max-width: 300px;
    font-family: -apple-system, BlinkMacSystemFont;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.timeClock:hover {
    transform: translate(-50%) scale(1.2);
}
.timeClock:hover:active {
    transform: translate(-50%) scale(0.9);
}
.footer {
    position: fixed;
    top: calc(100% - 5%);
    text-align: center;
    width: 100%;
    color: #999;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    user-select: none;
}
.divider {
    color: rgba(255, 255, 255, .3)
}
.divider::after {
    content: " 丨 "
}
.customNav {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 25px;
    margin-top: 10px;
    margin-bottom: 40px;
    border-radius: 15px;
    text-align: center;
    background-color: var(--w-alpha-20);
    cursor: pointer;
    transition: background-color .35s;
}