:root {
    --code-lua-string: #A5D6FF;
    --code-lua-function: #FF6877;
    --code-lua-comment: #434E60;
    --code-toml-header: #7FC5FF;
    --code-toml-header-bracket: #4B7496;
    --code-toml-string: #A5D6FF;
    --code-bash-arg: #FF6877;
    --member-offset-scale: 200px
}

html {
    background-color: #0D1117;
    color: #F0F6FC;
    scroll-behavior: smooth;
}

h2 {
    font-size: 22px;
    font-weight: 500;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    padding-bottom: 0.5rem;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #3D444D;
}

a.topmost {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

a.bottommost {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border: 0px;
}

a.middle {
    border-radius: 0px;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
}

span.code {
    font-family: monospace;
    font-weight: 400;
    font-size: 14px;
    background-color: #151B23;
    border-radius: 7.5px;
    padding: 16px;
    line-height: 1.45;
    display: flex;
}

a.linkup {
    color: #07A8FF;
    text-decoration: none;
}

span.code.header {
    padding-top: 10px;
    padding-bottom: 5px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #3D444D;
    color: #808080;
}
span.topmost {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

span.bottommost {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

div.lang-toml > #header-bracket {
    color: var(--code-toml-header-bracket);
}

div.lang-toml > #header {
    color: var(--code-toml-header);
}

div.lang-toml > #string {
    color: var(--code-toml-string);
}

div.lang-bash > #arg {
    color: var(--code-bash-arg);
}

div.lang-lua > #string {
    color: var(--code-lua-string);
}

div.lang-lua > #comment {
    color: var(--code-lua-comment);
    font-style: italic;
}

div.lang-lua > #function {
    color: var(--code-lua-function);
}

span.code > .reference {
    display: flex;
    background-color: #181F28;
}

div.warning {
    padding-right: 5rem;
    padding-left: 16px;
    display: flex;
    margin: 0 auto;
    z-index: 1;
    background: transparent;
    border-left-width: 3px;
    border-left-style: solid;
    border-left-color: #FFB200;
}

div.warning > p {
    z-index: 10;
    display: flex;
    margin-left: 0.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

span.warning-title {
    font-size: 16px;
    font-weight: 500;
    color: #FFB200;
}

.warning-svg {
    z-index: 10;
    max-width: fit-content;
    width: fit-content;
    vertical-align: middle;
    align-content: center;
}

.umake {
    display: inline;
}

.markdown-body {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
}

.top {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
    margin-top: 0.75rem;
}

.title-minimize {
    font-weight: 500;
    font-size: 17px;
}

.title-top {
    font-weight: 400;
    font-size: 35px;
}

.gap-top {
    margin-top: 6px;
    margin-bottom: 6px;
}

.button {
    font-size: 0.875rem;
    background-color: #212830;
    border-radius: 5px;
    border-color: #3D444D;
    border-width: 1px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: fit-content;
    line-height: 1.4;
    white-space: nowrap;
    grid-area: text;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    border-style: solid;
    min-width: max-content;
    display: inline;
    margin-left: 5px;
    margin-right: 5px;
}

.important-button {
    background-color: #1A1F26;
}

.button.sidebar-nav {
    width: auto;
    display: flex;
}

.menu > a {
    margin-right: 2rem;
    border: 0px;
    color: #F0F6FC;
    text-decoration: none;
}

@keyframes menu-hover {
    to {
        background-color: #262E38;
    }
}

.menu a:hover {
    animation-name: menu-hover;
    animation-duration: 0.1s;
    animation-fill-mode: both;
}

.menu.tight {
    margin: 0px;
}

.leftmost {
    margin-left: 0px;
}

.not-interactable {
    border-radius: 20px;
}

.svg {
    margin-left: 2px;
    margin-right: 2px;
    margin-bottom: 2px;
}

.balt {
    display: inline-block;
    vertical-align: text-bottom;
    overflow: visible !important;
}

.no-width-border {
    border-width: 0px;
}

.Status_success_button {
    background-color: #238636;
    border-color: #39924A;
}

.Status_transparent {
    background-color: transparent;
    border-color: #2F353D;
}

.inline-content-wrapper {
    margin-left: 10rem;
    margin-right: 10rem;
}

.title {
    font-family: 'Mrs Saint Delafield', cursive;
    font-weight: 600;
    font-style: normal;
    font-size: 65px;
    margin-top: 0.5rem;
    margin-bottom: 0.1rem;
}

.content {
    margin-top: 1rem;
    margin-bottom: 5rem;
    width: 120vh;
    flex-grow: 1;
    margin-left: 2rem;
    margin-right: 1vh;
    max-width: 1500px;
    z-index: 10;
}

.content-no-width {
    margin-top: 1rem;
    margin-bottom: 5rem;
    width: 120vh;
    flex-grow: 1;
    margin-left: 10rem;
    margin-right: 1vh;
}

.content-box-top {
    background-color: #151B23;
    padding: 4px 4px 4px 16px;
    border-bottom-width: 1px;
    border-bottom-color: #3D444D;
    border-bottom-style: solid;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.box-content-topic {
    align-items: center;
    min-width: 0px;
    flex-wrap: wrap;
    column-gap: 0.45ch;
    flex-shrink: 1;
    flex-basis: auto;
    padding-top: 4px;
    padding-bottom: 4px;
}

.params {
    align-items: center;
    text-align: center;
    background-color: #211B14;
    border-radius: 10px;
    padding: 4px;
    padding-right: 8px;
}

h3.apititle {
    padding-bottom: 4px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #3D444D;
}

h3.under-the-trunk 

.returns {
    align-items: center;
    text-align: center;
    background-color: #1E0F10;
    border-radius: 10px;
    padding: 4px;
    padding-right: 8px;
}

.topic-text-author {
    font-weight: 500;
    margin-bottom: 1px;
    display: inline;
}

.topic-text-description {
    font-weight: 400;
    font-size: smaller;
    color: #9198A1;
    margin-top: 1px;
    display: inline;
}

.text-secondary {
    color: #9198A1;
}

.content-topic {
    padding: 16px;
}

.small {
    width: 1px;
}

.button-label {
    white-space: nowrap;
    grid-area: text;
    line-height: 1;
}

.avatar {
    background-color: transparent;
    box-shadow: 0 0 0 1px;
    display: inline-block;
    line-height: 1;
    overflow: hidden;
    vertical-align: middle;
}

.circle {
    border-radius: 50% !important;
}

.side-title {
    color: #9198A1;
    font-weight: 300;
}

.minimize {
    font-size: 10px;
}

.menu {
    z-index: 10;
    margin-top: 1rem;
    margin-bottom: 5rem;
    width: 40vh;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-grow: 1;
    height: fit-content;
    vertical-align: top;
    margin-right: 10rem;
    display: inline;
    max-width: 500px;
    overflow-y: auto;
}

.avatar-style {
    display: inline-block;
    max-width: 10px;
}

.border-box {
    border-color: #3D444D;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
}

#wrap-display {
    display: flex;
    margin: 0 auto;
    z-index: 1;
}

.content-page {
    margin-left: 5rem;
}

.lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: auto;
    width: 90vw;
    display: flex;
    justify-content: space-between;
    /* Distribute lines evenly */
}

.line {
    position: relative;
    width: 1px;
    height: 100%;
    /*background: #ffffff;  /* Line color */
    overflow: hidden;
}

.line::after {
    content: '';
    display: block;
    position: absolute;
    height: 15vh;
    width: 100%;
    top: -50%;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
    animation: drop 7s 0s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

/* Different colors for each line's pseudo-element */
.line:nth-child(1)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FF4500 75%, #FF4500 100%);
    animation-delay: 0.5s;
}

.line:nth-child(2)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #32CD32 75%, #32CD32 100%);
    animation-delay: 1s;
}

.line:nth-child(3)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #1E90FF 75%, #1E90FF 100%);
    animation-delay: 1.5s;
}

.line:nth-child(4)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FFD700 75%, #FFD700 100%);
    animation-delay: 2s;
}

.line:nth-child(5)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #8A2BE2 75%, #8A2BE2 100%);
    animation-delay: 2.5s;
}

.line:nth-child(6)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #20B2AA 75%, #20B2AA 100%);
    animation-delay: 3s;
}

.line:nth-child(7)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #DC143C 75%, #DC143C 100%);
    animation-delay: 3.5s;
}

.line:nth-child(8)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #00FA9A 75%, #00FA9A 100%);
    animation-delay: 4s;
}

.line:nth-child(9)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FF1493 75%, #FF1493 100%);
    animation-delay: 4.5s;
}

.line:nth-child(10)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #00BFFF 75%, #00BFFF 100%);
    animation-delay: 5s;
}

@keyframes drop {
    0% {
        top: -50%;
    }

    100% {
        top: 110%;
    }
}

@keyframes make-content-large {
    from {
        width: auto;
        margin-right: 1vh;
    }
    to {
        width: auto;
        margin-right: 2rem;
    }
}

@keyframes make-content-large-no-width {
    from {
        margin-left: 10rem;
        margin-right: 1vh;
    }

    to {
        margin-left: 1vh;
        margin-right: 1vh;
    }
}

@keyframes adjust-inline {
    from {
        margin-left: 10rem;
        margin-right: 10rem;
    }
    to {
        margin-left: 1vh;
        margin-right: 2rem;
    }
}

@media only screen and (max-width: 1226px) {
    .menu {
        display: none;
    }
    /*
    .content {
        width: auto;
        margin-left: 30px;
        margin-right: 30px;
    }
    */
    .content {
        animation: make-content-large;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }
    .inline-content-wrapper {
        animation: adjust-inline;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }
    .content-no-width {
        animation: make-content-large-no-width;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }
}

@media only screen and (max-width: 1500px) {
    .topic-text-author {
        display: flex;
    }
    .topic-text-description {
        display: flex;
    }
}