@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;600;700;800;900&display=swap');

:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --dark: #212529;
    --light: #f8f9fa;
    --border-color: #e9ecef;
    --gray-2: #dee2e6;


    --font-family: "Nunito Sans", sans-serif;
    --font-size: 1rem;
    --line-height: 1.45;
    --left-sidebar-width: 300px;
    --right-sidebar-width: 180px;
    --container-max-width: 1320px;
    --body-bg: #ffffff;
    --header-height: 72px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-family);
	font-size: var(--font-size);
	font-weight: 400;
	line-height: var(--line-height);
	color: var(--secondary);
	text-align: left;
	background-color: var(--body-bg);
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

hr {
	margin: 1.5rem 0;
	color: inherit;
	background-color: currentColor;
	border: 0;
	opacity: 0.25;
}

hr:not([size]) {
	height: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-family: var(--font-family);
	font-weight: 600;
	line-height: 1.25;
	color: var(--dark);
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.5rem;
}

h3 {
	font-size: 2rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-top: 0;
	margin-bottom: 0;
}

p:not(:last-child) {
	margin-bottom: 1rem;
}

abbr[title],
abbr[data-bs-original-title] {
	-webkit-text-decoration: underline dotted;
	text-decoration: underline dotted;
	cursor: help;
	-webkit-text-decoration-skip-ink: none;
	text-decoration-skip-ink: none;
}

address {
	margin-bottom: 1rem;
	font-style: normal;
	line-height: inherit;
}

ol,
ul {
	padding-left: 2rem;
}

ol,
ul,
dl {
	margin-top: 0;
	margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
	margin-bottom: 0;
}

ul li:not(:first-of-type),
ol li:not(:first-of-type) {
    margin-top: 6px;
}

dt {
	font-weight: 700;
}

dd {
	margin-bottom: .5rem;
	margin-left: 0;
}

blockquote {
	margin: 0 0 1rem;
}

b,
strong {
	font-weight: 700;
    color: var(--dark);
}

small {
	font-size: 0.875em;
}

mark {
	padding: 0.2em;
	background-color: #fcf8e3;
}

sub,
sup {
	position: relative;
	font-size: 0.75em;
	line-height: 0;
	vertical-align: baseline;
}

sub {
	bottom: -.25em;
}

sup {
	top: -.5em;
}

a {
	color: var(--secondary);
	text-decoration: none;
}

a:hover {
	color: var(--primary);
	text-decoration: none;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
	color: inherit;
	text-decoration: none;
}

pre,
code,
kbd,
samp {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 1em;
	direction: ltr;
	unicode-bidi: bidi-override;
}

pre {
	display: block;
	margin-top: 0;
	margin-bottom: 1rem;
	overflow: auto;
	font-size: 0.875em;
}

pre code {
	font-size: inherit;
	color: inherit;
	word-break: normal;
    font-weight: normal;
}

code {
	font-size: 0.875em;
	color: #d63384;
	word-wrap: break-word;
    font-weight: 500;
}

a > code {
	color: inherit;
}

kbd {
	padding: 0.2rem 0.4rem;
	font-size: 0.875em;
	color: #FFFFFF;
	background-color: #141823;
	border-radius: .2rem;
}

kbd kbd {
	padding: 0;
	font-size: 1em;
	font-weight: 700;
}

figure {
	margin: 0 0 1rem;
}

img,
svg {
	vertical-align: middle;
	max-width: 100%;
}

table {
	caption-side: bottom;
	border-collapse: collapse;
}

caption {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	color: #7D8087;
	text-align: left;
}

th {
	font-weight: 600;
	text-align: inherit;
	text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
	border-color: inherit;
	border-style: solid;
	border-width: 0;
}

label {
	display: inline-block;
}

button {
	border-radius: 0;
}

button:focus:not(:focus-visible) {
	outline: 0;
}

input,
button,
select,
optgroup,
textarea {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

input:hover,
input:focus,
input:active,
button:hover,
button:focus,
button:active,
select:hover,
select:focus,
select:active,
optgroup:hover,
optgroup:focus,
optgroup:active,
textarea:hover,
textarea:focus,
textarea:active {
	outline: none;
}

button,
select {
	text-transform: none;
}

[role="button"] {
	cursor: pointer;
}

select {
	word-wrap: normal;
}

select:disabled {
	opacity: 1;
}

[list]::-webkit-calendar-picker-indicator {
	display: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

::-moz-focus-inner {
	padding: 0;
	border-style: none;
}

textarea {
	resize: vertical;
}

fieldset {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

legend {
	float: left;
	width: 100%;
	padding: 0;
	margin-bottom: 0.5rem;
	font-size: 1.5rem;
	line-height: inherit;
}

legend + * {
	clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
	padding: 0;
}

::-webkit-inner-spin-button {
	height: auto;
}

[type="search"] {
	outline-offset: -2px;
	-webkit-appearance: textfield;
}

::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
	padding: 0;
}

::file-selector-button {
	font: inherit;
}

::-webkit-file-upload-button {
	font: inherit;
	-webkit-appearance: button;
}

output {
    display: inline-block;
}

iframe {
	border: 0;
}

summary {
	display: list-item;
	cursor: pointer;
}

progress {
	vertical-align: baseline;
}

[hidden] {
	display: none !important;
}

#wrapper {
    overflow: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1320px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

#header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 16px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    z-index: 2000;
    background-color: #fff;
    height: var(--header-height);
}

.quick-link a,
#header .container {
    display: flex;
    align-items: center;
}

#header .brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.quick-link {
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.quick-link li + li {
    margin-left: 32px;
}

.quick-link a {
    color: var(--dark);
    line-height: 1.25;
}

.quick-link a svg {
    width: 32px;
    height: 32px;
    fill: var(--dark);
}

.quick-link a:hover {
    color: var(--primary);
}

.quick-link a:hover svg {
    fill: var(--primary);
}

.quick-link a span {
    display: block;
}

.quick-link .quick-link__content {
    padding-left: 16px;
}

.quick-link .quick-link__subtitle {
    margin-bottom: 4px;
    font-weight: 600;
    opacity: 0.75;
}

.quick-link .quick-link__title {
    text-transform: uppercase;
    font-weight: 800;
}

#main {
    margin-top: var(--header-height);
}

#main .container {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.sidebar {
    height: calc(100vh - var(--header-height));
    padding-top: 48px;
}

.sidebar--left {
    position: fixed;
    width: var(--left-sidebar-width);
    border-right: 1px solid var(--border-color);
}

.sidebar--right {
    width: var(--right-sidebar-width);
    position: absolute;
    right: 0;
    border-left: 1px solid var(--light-color);
}

.navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar ul li + li {
    margin-top: 8px;
}

.navbar .navbar__link {
    color: var(--dark);
}

.navbar--main .navbar__link {
    font-size: 18px;
    display: block;
    padding: 12px 24px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-right: 2px solid transparent;
}

.navbar--main .navbar__link:hover,
.navbar--main .navbar__link.active {
    background-color: var(--light);
    position: relative;
    color: var(--dark);
}

.navbar--main .navbar__link.active {
    font-weight: 600;
    border-color: currentColor;
}

/* .navbar--main .navbar__link.active:after {
    content: '';
    position: absolute;
    top: 18px;
    right: 24px;
    padding: 6px;
    border-right: 1px solid var(--dark);
    border-top: 1px solid var(--dark);
    transform: rotate(45deg);
} */

.navbar--sub {
    position: fixed;
}

.navbar--sub .navbar__link {
    padding-left: 24px;
    font-weight: 600;
    font-size: 14px;
}

.navbar--sub .navbar__link:hover,
.navbar--sub .navbar__link.active {
    color: var(--primary);
}

.container__main {
    width: calc(100% - (var(--left-sidebar-width) + var(--right-sidebar-width)));
    height: 100%;
    margin-left: var(--left-sidebar-width);
    margin-right: var(--right-sidebar-width);
    padding: 48px 32px 64px;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin-top: 24px;
    margin-bottom: 24px;
}

.snippet {
    margin-bottom: 32px;
    position: relative;
    padding: 24px 40px 8px 24px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: auto;
    max-height: 680px;
}

.snippet::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: var(--gray-2);
}

.snippet::-webkit-scrollbar-thumb {
    background: var(--dark);
    border-radius: 2px;
}

.snippet pre {
    margin: 0;
    padding: 0 0 16px 0;
    background-color: #f8f9fa;
    max-width: 100%;
    font-size: 14px;
    overflow: visible;
}

.snippet pre code {
    color: var(--secondary);
}

.snippet .code-copy {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    line-height: 1.35;
    padding: 0.25rem 0.5rem;
    background-color: var(--primary);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .15s ease-in;
    transition: all .15s ease-in;
}

.snippet:hover .code-copy {
    opacity: 1;
    visibility: visible;
}

.footer {
    display: flex;
    align-items: center;
    margin-top: 32px;
}

.footer .footer__link {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--dark);
    flex: 0 0 45%;
    max-width: 45%;
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

/* .footer .footer__link:hover {
    color: var(--primary);
} */

.footer .footer__link--next {
    margin-left: auto;
    text-align: right;
    justify-content: flex-end;
}

.footer .footer__link--next .footer__desc {
    padding-right: 16px;
}

.footer .footer__link--prev .footer__desc {
    padding-left: 16px;
}

.footer .footer__desc span {
    display: block;
}

.footer .footer__title {
    color: var(--secondary);
}

.footer .footer__sub-title {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

.footer .footer__icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.table {
    width: 100%;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.table th,
.table td {
    padding: 12px 16px;
    vertical-align: top;    
}

.table tr:nth-child(even) td,
.table tr:nth-child(even) th {
    background-color: var(--light);
}

.preview {
    border: 2px solid var(--border-color);
    padding: 10px 16px;
    margin-bottom: 16px;
}

.font-normal {
    font-weight: 400 !important;
}

.fs-sm {
    font-size: 14px;
}

.link-primary {
    color: var(--primary);
    font-weight: 600;
}

.link-primary:hover {
    text-decoration: underline;
}