:root {
    --theme-color: #8A0BD8;
}

@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
}

html,
body {
    font-family: 'Graphik', Helvetica, Arial, sans-serif;
    font-size: 16px;
}

a {
    text-decoration: none !important;
    transition: color 200ms !important;
}

.markdown-section a {
    color: #8A0BD8 !important;
    font-weight: 500 !important;
}

a:link,
a:visited {
    color: #4C0677;
}

a:hover,
.markdown-section a:hover,
.sidebar a:hover {
    color: #610F9B !important;
    font-weight: 500;
}

a:active {
    color: #4C0677;
}

thead {
    color: #4C0677;
}

code::-webkit-scrollbar {
    width: 0.5em;
}

code::-webkit-scrollbar-track {
    background-color: transparent;
    box-shadow: none;
}

code::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid darkgrey;
    border-radius: 4px;
}

.anchor {
    color: #4C0677;
}

.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section strong {
    font-weight: 500 !important;
}

.markdown-section h1 {
    font-size: 2.25rem;
    line-height: 110%;
    letter-spacing: -0.0675rem;
}

.markdown-section h2 {
    font-size: 1.75rem;
    line-height: 120%;
    letter-spacing: -0.0525rem;
}

.markdown-section h3 {
    font-size: 1.25rem;
    line-height: 120%;
    letter-spacing: -0.025rem;
}

.markdown-section h4 {
    font-size: 1.125rem;
    line-height: 150%;
    letter-spacing: -0.01rem;
}

.cover.show {
    background: #F0F1F5 !important;
}

.sidebar {
    background: #F0F1F5 !important;
}

.sidebar .sidebar-nav {
    margin-top: 3rem;
}

.sidebar ul li a {
    font-size: 1rem;
}

.sidebar .sidebar-nav>ul>li {
    margin-bottom: 16px;
}

.sidebar .sidebar-nav ul p.active,
.sidebar .sidebar-nav ul li.active a {
    color: #820AD1;
    font-weight: 500;
    border-right: none;
}

.sidebar .app-name img {
    width: 72px;
    display: block;
    margin-left: 1rem;
}

.markdown-section blockquote {
    border-left: none;
    color: rgba(0, 0, 0, .96);
    margin: 2em 0;
    font-size: 16px;
    background-color: #F6ECFF;
    padding: 8px 24px;
    line-height: 150%;
    border-radius: 8px;
}

.markdown-section pre {
    background-color: #212121;
    border-radius: 8px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.markdown-section pre>code {
    background-color: #212121;
    color: rgba(255, 255, 255, 0.805);
    max-height: 560px;
    overflow-y: scroll;
}

.markdown-section td,
.markdown-section th {
    border: none;
    border-bottom: 1px solid #ddd;
    min-width: 140px;
}

.markdown-section table>thead th {
    font-weight: 500;
    color: #111;
}

.markdown-section table td,
.markdown-section table th {
    padding: 12px 8px;
    vertical-align: middle;
}
