:root{
    --n-size:56px;
    --s-size:260px;
}
body{
    color:rgb(10,10,10);
}
html,body{
    height: 100%;
    width: 100%;
    border:0px;
    margin:0px;
    padding:0px;
}
#main{
    min-height: 100%;
    display: flex;
}
dl,ol,ul,dt,dd,li{
    list-style-type: none;
    margin:0px;
    padding:0px;
}
article,p,code,pre,nav,aside,header{
    padding:0px;
    margin: 0px;
    margin-inline: 0px;
    margin-block: 0px;
    line-height: 1rem;
}

nav{
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 1rem;
}
a {
    color:rgb(10,10,10);
}
.nav-logo {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Fredoka-one-logo";
    font-weight: 400;
    font-size: 18px; 
    white-space:nowrap;
}
.nav-logo label{
    display:flex;
    justify-content: center;
    align-items: center;
    color:rgb(100,100,100);
    gap:10px;
}
.nav-logo label::before{
    content: '';
    height: 36%;
    width: 0.5px;
    background-color: rgb(200,200,200);
}
.nav-logo svg {
    width: 28px;
}

.docs-container {
    display: flex;
    width: 100%;  
    min-height: 100%;
}
.aisde-stack {
    width: var(--s-size);
    flex:0 0 var(--s-size);
    overflow: hidden;
}
aside {
    position: fixed;
    width: var(--s-size);
    min-width: var(--s-size);
    max-width: var(--s-size);
    flex:0 0 var(--s-size);
    height: calc(100% - var(--n-size));
    inset-block-start: var(--n-size);
    border-right:solid 0.5px #e6e7e9;
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.aside-menu {
    padding:1rem;
}

header{
    width: 100%;
    height: var(--n-size);
    min-height: var(--n-size);
    padding-block:0;
    padding-inline: 0;
    display: flex;
    align-items: center;
}
.header-fixed {
    position: fixed;
    flex:0 0 auto;
    border-bottom:solid 0.5px #e6e7e9;
    top:0px;
    left:0px;
    right:0px;
    background-color: rgb(255,255,255);
}
.mobile-menu-more-box {
    display: none;
}
.docs-body{
    height: 100%;
    flex:auto;
    position: relative;
    display: flex;
    flex-flow: column;
}

.prd-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;  
    background-color: #fff;
    border: 0.5px solid #ccc;
    border-radius: 5px;
    padding: 5px 20px 5px 8px;
    font-size: 1rem;
    color: rgb(10,10,10);
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23666' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px;
}

.prd-select:hover {
    border-color: #888;
}

.prd-select:focus {
    border-color: rgb(50,50,50);
    box-shadow: 0 0 0 3px rgba(10,10,10,0.1);
    outline: none;
}

.prd-select option {
    background-color: transparent;
    color: #333;
}

.prd-select option:hover {
    background-color: var(--primary-color);
}

.prd-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/** left menu */
.aside-menu-box {
    padding:1rem 0px;
}
.aside-menu-box .menu-label {
    display: block;
    font-size: var(--fs-sm);
    color:rgb(80,80,80);
    padding: 0.5rem 0px;
}
.aside-menu-box li a {
    display: block;
    white-space: nowrap;
    padding:0.5rem 0.75rem;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
}
.aside-menu-box li a:hover,.aside-menu-box li a.selected {
    background-color: #eaeaea;
}
.aside-menu-box li a:active,.aside-menu-box li a.active {
    background-color: #dbdbdb;
}
.aside-menu-box li ul {
    border-left:0.5px solid #dbdbdb;
    margin-left: 0.75rem;
    padding-left:0.75rem;
}

/** docs content */
.docs-content {
    padding:1rem;
}
.docs-content h1{
    font-size: 2rem;
}
.docs-content h2{
    font-size: 1.8rem;
}
.docs-content h3 {
    font-size: 1.6rem;
}
.docs-content h4 {
    font-size: 1.4rem;
    margin:0.8rem 0px;
}
.docs-content h5 {
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
}
.docs-content h6 {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.docs-content pre {
    white-space: pre-wrap !important;
    word-break: break-word;

}
.docs-content code {
    font-family: "Consolas", "Courier New", "monospace";
    background-color: rgb(10,10,10);
    color:rgb(250,250,250);
    padding: 1rem;
    border-radius: 5px;
    display: block;
    white-space: inherit;
    word-break: inherit;
}

.docs-content blockquote {
    background-color: whitesmoke;
    border-left: 5px solid #dbdbdb;
    padding: 1rem;
    border-radius: 5px;
    line-height: 1.6rem;
}

.docs-content hr {
    background-color: whitesmoke;
    border: none;
    display: block;
    height: 2px;
    margin: 1rem 0;
}

.docs-content article {
    line-height: 1.6rem;
}
.docs-content ul {
    list-style: circle outside;
    margin-left: 1.6rem;
    margin-top: 0.8rem;
    font-size: var(--fs-sm);
}
.docs-content ul li{
    list-style-type: inherit;
}

.docs-content ul li + li,.docs-content dl dd + dd {
    margin-top: 0.5rem;
}

.docs-content dl {
    display: block;
    list-style-type: circle;
    margin-left: 1.6rem;
    margin-top: 0.8rem;
    font-size: var(--fs-sm);
}
.docs-content dl dt {
    display: list-item;
    list-style-type: disc;
    margin: 0.5rem 0px;
}
.docs-content dl dd {
    display: list-item;
    list-style-type: circle;
}

.docs-content blockquote:not(:last-child),
.docs-content article:not(:last-child),
.docs-content ul:not(:last-child),
.docs-content dl:not(:last-child),
.docs-content code:not(:last-child),
.docs-content pre:not(:last-child)
{
    margin-bottom: 1rem;
}

.docs-content .tb-5{
    font-weight: 500;
}
.docs-content .tb-7{
    font-weight: 700;
}


.docs-content a{
    color:var(--primary-color);
}
.docs-content a:hover{
    text-decoration: underline;
}
.docs-content a:active{
    opacity: 0.7;
}

aside.animating{
    display: flex;
    opacity: 0;    
    transform: translateX(200px);
}
aside.open {
    opacity: 1; 
    transform: translateX(0px);
}

.box-403 {
    height: 100%;
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.box-403 .button {
    cursor: pointer;
    text-decoration: none;
    display: flex;
    padding: 6px 16px;
    font-size: 1rem;
    transition: all 0.3s ease-out;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    color:white;
    background-color: rgb(10,10,10);
    border-radius: 999px;
}
.box-403 img {
    width: clamp(120px, 30vw, 200px);
    margin-bottom: 1rem;
}
.box-403 .button:hover{
    opacity: 0.7;
    text-decoration: none;
}
.box-403 .button:active {
    opacity: 0.6;
}

@media screen and (max-width: 790px) {
    .docs-container{
        flex-direction: row-reverse;        
    }
    .mobile-menu-more-box {
        display: flex;
    }
    .aisde-stack {
        display: none;
    }
    aside {
        display: none;
        border-right:none;
        border-left:solid 0.5px #e6e7e9;
        z-index: 50;
    }
}