*,
::after,
::before,
legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
}

img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body,
h1,
h2,
h3,
h4,
h5,
li,
ul,
p {
    margin: 0;
    padding: 0;
}

:root {
    --text-color: #353557;
    --bg-color: #141421;
    --white-color: #ffffff;
    --5px: 0.1591rem;
    --10px: 0.318369rem;
    --14px: 0.4457rem;
    --15px: 0.477554rem;
    --16px: 0.5093rem;
    --18px: 0.574rem;
    --20px: 0.636739rem;
    --22px: 0.7004rem;
    --24px: 0.7655rem;
    --25px: 0.795924rem;
    --30px: 0.9551rem;
    --35px: 1.1142rem;
    --40px: 1.2734rem;
    --45px: 0.764rem;
    --50px: 1.5918rem;
    --60px: 1.9102rem;
    --80px: 2.5469rem;
    --100px: 3.1897rem;
    --120px: 3.8277rem;
}

html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    font-size: calc(16px + 1vw);
    text-rendering: optimizeSpeed;
}

body {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    font-family: "Inter Tight", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    overflow-y: scroll;
    color: var(--text-color);
    background: #F5F5F7;
}

input {
    overflow: visible;
}

a {
    background-color: transparent;
    text-decoration: none;
}

img {
    border-style: none;
    user-select: none;
}

select {
    text-transform: none;
}


textarea {
    overflow: auto;
}

[type="checkbox"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

blockquote {
    font-style: italic;
    font-size: var(--16px);
    line-height: 1.7;
}

.hide {
    display: none !important;
}

li,
ul {
    font-size: 0;
    list-style-type: none;
}

.nav {
    width: 100%;
    position: fixed;
    top: 0;
    background: #F5F5F7;
    z-index: 2;
    line-height: var(--80px);
}

.nav-wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;

}

.nav-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    width: 80%;
}


.logo {
    width: 4.1467rem;
}

.logo svg {
    fill: #0B0B1A;
    stroke: #0B0B1A;
}

.nav-links {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.nav-links li+li {
    padding-left: var(--20px);
}

.nav-links a {
    color: var(--text-color);
    font-size: var(--14px);
    font-weight: 600;
    height: 100%;
    display: block;
    position: relative;
}

.nav-links li .selected {
    color: var(--bg-color);
}

.main {
    display: flex;
    flex-wrap: nowrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    width: 80%;
    margin: 0 auto;
    min-height: 100%;
}

#intro {
    flex-direction: column;
    justify-content: center;
}

#intro h1 {
    font-size: 1.75438rem;
    font-weight: 700;
    width: 85%;
    color: var(--bg-color);
}

#intro p {
    font-size: var(--20px);
    line-height: 1.7;
    padding-top: var(--20px);
    font-weight: 400;
}

.footer {
    padding-top: var(--60px);
    padding-bottom: var(--20px);
}

.footer-intro {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer p {
    text-align: center;
    font-size: var(--14px);
    font-weight: 400;
    line-height: 1.4;
}

.footer a {
    color: var(--bg-color);
    font-weight: 600;
}

.list {
    width: 100%;
    display: block;
    margin-top: var(--50px);
}

.list li {
    margin-top: var(--10px);
    display: inline-block;
}

.list li+li {
    margin-left: var(--10px);
}

.list li span {
    font-size: var(--14px);
    font-weight: 600;
    line-height: 1.7;
    padding: 0.2546rem var(--15px);
    display: inline-block;
    line-height: 1.8;
    background: #f2f2f5;
    border-radius: var(--40px);
}

.btn {
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    padding-top: var(--60px);
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

.btn a {
    font-size: var(--14px);
    font-weight: 600;
    border-radius: 0.764rem;
    padding: 0.509rem var(--30px);
    color: var(--white-color);
    background: var(--bg-color);
}

.btn .start {
    margin-right: var(--20px);
}



.left {
    width: 20%;
    position: fixed;
    height: 100%;
    top: 0;
    padding-top: var(--80px);
}

.right {
    margin-left: 25%;
    padding: 4.4657rem 0 0 var(--80px);
    width: 75%;
}

.right .separator+.separator {
    padding-top: var(--10px);
}


.right a {
    color: var(--bg-color);
    font-weight: 600;
    display: inline-block;
}

.right h1 {
    font-size: 1.0207rem;
    font-weight: 600;
    color: var(--bg-color);
}

.right h2,
.right h3 {
    font-size: var(--22px);
    font-weight: 500;
    color: var(--bg-color);
    margin-top: var(--40px);
}

.right h3 {
    font-size: var(--18px);
}

.right h2+h2 {
    margin-top: var(--60px);
}

.right p {
    margin-top: var(--40px);
    font-size: var(--16px);
    line-height: 1.7;
}

.right .small-in {
    margin-top: var(--20px);
}

.right .small p {
    margin-top: var(--10px);
}

.full {
    width: 100%;
    margin-left: 0;
}

.left-menu {
    padding: var(--60px) var(--15px) 120px 0;
    overflow-y: scroll;
    height: 100%;
    scrollbar-color: #dfdfe2 transparent;
}

.left-menu li {
    font-size: 0.4465rem;
}

.left-menu>li+li {
    margin-top: var(--40px);
}

.left-menu>li {
    font-weight: 600;
    color: var(--bg-color);
}

.left-menu ul>li {
    margin-top: var(--20px);
}

.left-menu li a {
    font-weight: 400;
    color: var(--text-color);
}

.left-menu li .selected {
    color: var(--bg-color);
    font-weight: 600;
}


.code-block {
    position: relative;
}

.copied {
    position: absolute;
    top: var(--15px);
    right: var(--40px);
    font-size: 0.4457rem;
    opacity: 0;
    color: var(--white-color);
}

.animate {
    animation: disappear 2s linear;
}

@keyframes disappear {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

pre {
    overflow-x: auto;
    font-size: var(--14px);
    width: 100%;
    max-height: 11.4613rem;
    margin-top: var(--15px);
    box-shadow: 0px 0px 10px 0px rgba(20, 20, 33, 0.3);
    border-radius: var(--5px)
}

.code-snippet {
    background-color: var(--bg-color) !important;
}

code {
    display: block;
}

.copy-button {
    position: absolute;
    top: var(--10px);
    right: var(--10px);
    background-color: transparent;
    width: var(--30px);
    height: var(--25px);
    border: 0;
    cursor: pointer;

}

.copy-button svg {
    fill: #eaeaea !important;
}

.copy-button:hover svg {
    fill: var(--white-color);
}

.hljs-comment {
    color: #C9C9D1;
}




.doc {
    width: 100%;
    font-size: var(--16px);
    padding: 0;
    margin: 0;
    padding-top: var(--40px);
}

.doc dd,
.doc dt {
    display: inline;
}

.doc dt {
    font-weight: 700;
}


.doc dd {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.doc .code {
    line-height: 1.3;
}


.doc dd>span {
    background: var(--bg-color);
    padding: var(--5px) var(--10px);
    border-radius: var(--5px);
    color: var(--white-color);
    box-shadow: 0px 0px 10px 0px rgba(20, 20, 33, 0.3);
    display: inline-block;
}

.doc dd::after {
    content: "";
    display: block;
    margin-bottom: var(--5px);
}



.canvas-wrapper {
    position: relative;
    margin-top: var(--40px);
}

#canvas {
    display: block;
    background: #F5F5F7;
    top: 0;
    z-index: -1;
}

.box-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.break-down li {
    font-size: var(--16px);
    color: var(--text-color);
    line-height: 1.6;
    display: block;
}

.break-down li+li {
    margin-top: var(--20px)
}

.break-down li span {
    background: var(--bg-color);
    padding: var(--5px) var(--10px);
    border-radius: var(--5px);
    color: var(--white-color);
    box-shadow: 0px 0px 10px 0px rgba(20, 20, 33, 0.3);
    display: inline-block;
}