:root {
    --docs-offcanvas-width: 360px;
    --docs-header-height: 60px;
    --scroll-bar-size: 10px;
    --scroll-bar-thumb-background-color: rgb(255 255 255 / 20%);
    --scroll-bar-thumb-background-color-active: rgb(255 255 255 / 40%);

    --document-body: #141414;
    --element-body: #0e0e0e;
}

::-webkit-scrollbar {
    width: var(--scroll-bar-size);
    height: var(--scroll-bar-size);
    background: transparent;
    cursor: pointer;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar-thumb-background-color);
    border-radius: var(--scroll-bar-size);
    border-color: transparent;
    border-style: solid;
    border-width: calc(var(--scroll-bar-size)/3);
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--scroll-bar-thumb-background-color-active);
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    border-width: 1px;
    background-color: var(--scroll-bar-thumb-background-color-active);
    cursor: pointer;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--element-body);
    color: white;
    overflow: hidden;
}

a {
    text-decoration: none;
}

.fw-bold {
    font-weight: 500!important;
}

.badge {
    border-radius: 5px;
    font-size: 10px;
    padding: 4px 5px;
    font-weight: 400;
}

.badge.bg-primary {
    background-color: rgb(13 110 253 / 24%) !important;
    color: rgb(13 110 253);
}

.badge.bg-success {
    background-color: rgb(25 135 84 / 24%) !important;
    color: rgb(25 135 84);
}

.badge.bg-danger {
    background-color: rgb(220 53 69 / 24%) !important;
    color: rgb(220 53 69);
}

.badge.bg-warning {
    background-color: rgb(255 193 7 / 24%) !important;
    color: rgb(255 193 7);
}

.text-bg-dark {
    background: var(--element-body) !important;
}

.btn-outline-light {
    background: #ffffff14;
    --bs-btn-border-color: none;
}

header {
    z-index: 999;
    position: fixed;
    width: 100%;
    padding: 10px 33px;
    height: var(--docs-header-height);
}

pre code.hljs {
    font-family: "Cascadia Mono", sans-serif !important;
    background: #101010 !important;
}

.offcanvas,
.offcanvas-lg,
.offcanvas-md,
.offcanvas-sm,
.offcanvas-xl,
.offcanvas-xxl {
    --bs-offcanvas-color: none;
    background: var(--element-body);
    --bs-offcanvas-border-width: 0px;
    --bs-offcanvas-width: var(--docs-offcanvas-width);
    --bs-offcanvas-zindex: 950;
    border: 0px;
    padding: 0 20px;
    margin-top: 20px;
}

.offcanvas-header {
    margin-top: var(--docs-header-height);
}

.offcanvas-body {
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */
}

.offcanvas-body::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.no-transition {
    transition: none !important;
    visibility: visible;
}

.nav-link:hover {
    opacity: .5;
}

.doc-content {
    background: var(--document-body);
    width: -webkit-fill-available;
    border-radius: 20px 0px 0px 0px;
    margin-top: 60px;
    padding-top: 70px !important;
    overflow: scroll;
    height: 100%;
    padding-bottom: 100px !important;
    position: absolute;
    left: 360px;
}

.doc-content .fw-bold:first-child {
    position: absolute;
    top: 0;
    left: 0;
    font-size: small;
    background: #000000a3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
    padding-left: 15px;
    padding-top: 2px;
}

.doc-content .badge {
    font-size: 12px;
    padding: 5px 10px;
    vertical-align: middle;
    font-family: 'Inter';
    margin-right: 5px;
    margin-left: -5px;
    margin-top: -2px;
    border-radius: 100px;
    padding-top: 6px;
}

.note {
    font-size: 15px;
    background: #e7aa351a;
    color: #e7aa35;
    padding: 10px 15px;
    border-radius: 10px;
}

.note-icon {
    font-size: 20px;
    vertical-align: bottom;
    margin: 2px 0px;
}

.hl {
    background: #ff3a3a42;
    color: #ff6565;
    font-size: 15px;
}

.header-blurred {
    position: absolute;
    background: #cc42ff17;
    width: 150px;
    left: 25px;
    height: 50px;
    bottom: -30px;
    filter: blur(10px);
    border-radius: 100%;
}

#offcanvas-toggle {
    position: fixed;
    top: calc(var(--docs-header-height) + 5px);
    left: 10px;
    z-index: 900;
    padding: 5px 15px;
}

.offcanvas-link:hover {
    opacity: .5;
}

@media screen and (max-width: 991px) {
    :root {
        --docs-header-height: 100px;
    }

    .doc-content {
        margin: 0;
        position: relative;
        max-width: 100%;
    }

    .header-blurred {
        position: absolute;
        left: 115px;
        height: 50px;
        top: -20px;
        filter: blur(10px);
        border-radius: 100%;
    }

    header {
        padding-left: 10px;
    }
}

img {
    max-width: 650px;
}

divider {
    font-size: 15px;
    opacity: .5;
    margin: 10px 0px;
    position: relative;
}

divider::after {
    content: "";
    width: 100%;
    height: 1px;
    background: white;
    opacity: .5;
    position: absolute;
    top: 10px;
    margin-left: 8px;
    border-radius: 100px;
}

.doc-content ul {
    background: #101010;
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    list-style: none;
}

.doc-content ul li {
    position: relative;
    padding-left: 15px;
}

.doc-content ul li::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #323232;
    border-radius: 100%;
    top: 7px;
    left: 0;
}