html, body {
    margin: 0;
    padding: 0;
    background: url(../res/images/background.png);
    background-attachment: fixed;
    background-size: cover;
}

::-webkit-scrollbar {
    width: 2px;
    height: 3px;
}


::-webkit-scrollbar-track-piece {
    background-color: transparent;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    cursor: pointer;
    background-color:rgb(255, 255, 255, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(207, 255, 245, 0.7);
}

::-webkit-scrollbar-corner {
    display: block;
}

.secretcode {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    position: fixed;
    top: 30%;
    left: 40%;
    background: rgba(255,255,255,0.6);
    width: 300px;
    height: 300px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.secretcode > button {
    position: fixed;
    width: 60%;
    height: 30%;
    border: none;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    backdrop-filter: blur(100px);
    z-index: 6;
}

.mainbox {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    width: 50%;
    height: auto;
    margin-top: 150px;
    margin-left: 10%;
    margin-bottom: 10px;
    z-index: 4;
}

.content-box {
    width: 100%;
    height: auto; /*DEBUG*/
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.content-box > img {
    width: 100%;
    height: auto;
}

.page {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-top: 30px;
    color: rgb(83, 85, 86);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 3px solid rgba(29, 202, 255, 0.5);
}

.page > h2 {
    align-self: center;
}

.page > p {
    padding-left: 10%;
    padding-right: 10%;
}

.namecard {
    width: 100%;
    height: 200px; /*DEBUG*/
    color: rgb(88, 90, 92);
    font-family: 等线 Light;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 30px;
    display: flex;
    flex-direction: row;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
}

.namecard > div {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: hidden;
    line-height: 10%;
    padding-left: 30px;
}

.side-box-input {
    position: fixed;
    top: 130px;
    right: 10%;
    width: 25%;
    height: 150px;
    color: rgb(88, 90, 92);
    font-family: 等线 Light;
    box-sizing: border-box;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

.side-box-input > form {
    box-sizing: border-box;
    padding-top: 4%;
    width: 90%;
    height: 70%;
}

.side-box-input > form > textarea {
    box-sizing: border-box;
    resize: none;
    width: 100%;
    height: 100%;
    background: rgba(207, 255, 245, 0.2);
    color: rgb(255, 255, 255, 0.5);
    border: none;
    outline-style: none;
    border-radius: 5px;
    font-size: 18px;
    font-family: 'Courier New', Courier, monospace;
}

.side-box {
    position: fixed;
    top: 130px;
    right: 10%;
    width: 25%;
    height: 75%;
    color: rgb(88, 90, 92);
    font-family: 等线 Light;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
}

.nav {
    position: fixed;
    box-sizing: border-box;
    top: 10px;
    left: 2.5%;
    display: flex;
    flex-direction: row;
    width: 95%;
    height: 90px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.2s ease-in-out 0.2s;
    transform: translateZ(0);
    z-index: 7;
}

.nav-title {
    position: absolute;
    top: 5%;
    width: auto;
    height: 100%;
    line-height: 50%;
    padding-left: 10%;
}

.nav-title > h2 {
    font-size: xx-large;
    color: rgb(203, 251, 255);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.nav-title > h2:hover {
    color: rgb(253, 255, 203);
}

.nav-title > p {
    color: rgb(81, 87, 88);
    font-family: 等线 Light;
}

.nav-items {
    width: 60%;
    height: 100%;
    padding-top: 20px;
    padding-right: 30px;
    position: absolute;
    right: 0%;
}

ul {
    list-style-type: none;
    margin: 0;
    padding-left: 30%;
    overflow: hidden;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 30px;
    text-decoration: none;
}

li a:hover {
    color: aqua;
}

pre {
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
    border-radius: 7px;
    font-family: Arial, Helvetica, sans-serif;
    color: rgba(255,255,255,0.9);
    box-sizing: border-box;
    line-height: 100%;
    white-space: pre;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background: rgba(0,0,0,0.4);
    overflow-x: scroll;
    overflow-y: scroll;
    counter-reset: line;
    font-family: 'Courier New', Courier, monospace;
}

pre > code {
    width: 100%;
    height: auto;
    border-radius: 7px;
    color: rgba(255,255,255,0.9);
    box-sizing: border-box;
    line-height: 150%;
    overflow-x: scroll;
    overflow-y: scroll;
    counter-increment: line;
}

pre > code:before {
    content: counter(line);
    font-family: "SimHei", "黑体", sans-serif;
    display: inline-block;
    width: 1em;
    border-right: 1px solid rgba(255,255,255,0.9);
    line-height: 200%;
    padding-right: 0.5em;
    margin-right: 0.5em;
    color: rgba(153, 153, 153, 1);
    text-align: right;
}