* {
    box-sizing: border-box;
    outline: none;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #000;
    background-color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}
   
::-webkit-scrollbar-track {
    background-color: #fff;
}
   
::-webkit-scrollbar-thumb {
    background-color: #f1f1f1;
}

svg{
    width: 100%;
    height: 100%;
}

a{
    text-decoration: none;
    color: #000;
}
a:hover{
    color: #936a3b;
}

.wrap{
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.wrap__header{
    flex-shrink: 0;
}
.wrap__body{
    flex-grow: 1;
    overflow: hidden;
}

.header{
    display: flex;
    align-items: center;
    padding: 25px 35px;
    color: #000;
    border-bottom: 1px solid #f1f1f1;
}
.header__logo{
    width: 35px;
    height: 35px;
    margin-right: 20px;
}
.header__title{
    font-size: 22px;
    font-weight: 100;
}
.header__title span{
    font-weight: 700;
}
.header__version{
    margin-left: auto;
    color: #929292;
}
.header__menu{
    margin-left: 20px;
    display: none;
}

.body{
    display: flex;
}
.body__sidebar{
    overflow: auto;
    width: 300px;
    flex-shrink: 0;
}
.body__container{
    flex-grow: 1;
    overflow: auto;
}
.body__menu-layer{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    display: none;
    z-index: 9;
}

.menu{
    margin-bottom: 40px;
}
.menu__title{
    text-transform: uppercase;
    color: #a9a9a9;
    margin-bottom: 15px;
}
.menu__list{
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu__list li + li{
    margin-top: 15px;
}
.menu__item a{
    display: flex;
    white-space: nowrap;
    align-items: center;
}
.menu__item a.active{
    padding-left: 10px;
    border-left: 3px solid #ad8921;
}
.menu__item b{
    flex-shrink: 0;
    background: #f6f7f9;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
}
.menu__item a span{
    text-overflow: ellipsis;
    overflow: hidden;
    padding-left: 5px;
}

.padding{
    padding: 35px;
}

.container{
    margin: 0 auto;
    max-width: 1600px;
}

.box{
    box-shadow: 0 3px 5px #0000000a;
    border: 1px solid #e9eaed;
    background: #fff;
    border-radius: 5px;
    padding: 5px;
    line-height: 1.6;
}

.function__category{
    color: #a9a9a9;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.function__name{
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.function__title{
    font-size: 15px;
    margin: 30px 0;
    text-transform: uppercase;
}
.function__desc{
    margin-bottom: 50px;
    line-height: 1.8;
}
.function__file{
    display: inline-block;
    background: #f7f9f9;
    padding: 7px;
    border-radius: 5px;
    box-shadow: 0 3px 7px #f1f1f1;
    font-size: 17px;
    border: 1px solid #e9eaed;
}
.function__method{
    display: inline-block;
    background-color: #dbefb4;
    padding: 7px;
    border-radius: 5px;
    font-size: 17px;
    margin-right: 5px;
    color: #006644;
}
.function__method.post{
    background-color: #FFF0B3;
    color: #172B4D;
}
.function__params-body{
    background: #fff;
    border-radius: 5px;
}
.function__params-head,
.function__params-body > div{
    display: flex;
    align-items: center;
}
.function__params-body > div:not(:first-child){
    border-top: 1px solid #f6f7f9;
}
.function__params-head > div,
.function__params-body > div > div{
    padding: 10px 15px;
}
.function__params-head > div:nth-child(1),
.function__params-body > div > div:nth-child(1){
    width: 130px;
    flex-shrink: 0;
    font-weight: 600;
}
.function__params-head > div:nth-child(2),
.function__params-body > div > div:nth-child(2){
    width: 150px;
    flex-shrink: 0;
}
.function__params-head > div:nth-child(3),
.function__params-body > div > div:nth-child(3){
    flex-grow: 1;
}
.function__params > .function__params-head{
    background: #F6F7F9;
    border-radius: 5px;
    padding: 0;
}
.function__params-body pre{
    overflow: auto;
    max-height: 200px;
}
.function__responce{
    margin-top: 10px;
}
.function__responce-body pre{
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}
.function__responce-body pre code{
    overflow: auto;
    max-height: 300px;
}
.function__responce-head{
    background: #F6F7F9;
    border-radius: 5px;
    padding: 10px;
}
.function__responce-text{
    text-align: center;
    padding: 40px 0;
}

.function__errors-body > div > div:nth-child(2){
    width: auto;
    flex-grow: 1;
}

.function__request,
.function__request > div{
    display: flex;
    align-items: center;
}
.function__request{
    gap: 15px;
}
.function__request > div > div{
    padding: 10px;
}
.function__request-token,
.function__request-token input{
    flex-grow: 1;
}
.function__request-button{
    padding-right: 5px;
}

.function__tip{
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgb(123, 121, 255);
    border-radius: 5px;
    color: rgb(74, 74, 106);
    background: rgb(123 121 255 / 9%);
}
.function__tip-title{
    font-weight: 600;
    margin-bottom: 13px;
    color: rgb(50, 50, 77);
}
.function__tip-text{
    line-height: 1.8;
}
.function__tip.style--warning{
    border-color:#fae7b9;
    background: #fdf4dc;
}
.function__tip.style--warning .function__tip-title{
    color: #d9822f;
}

.text{
    padding-top: 20px;
    line-height: 1.8;
}
.req{
    background-color: #FFEBE6;
    color: #BF2600;
    font-weight: 600;
    font-size: 12px;
    padding: 4px;
    border-radius: 5px;
    text-transform: uppercase;
}
code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}

pre{
    background: #f7f7f7;
    padding: 10px 20px;
    border-radius: 5px;
}
pre code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre-wrap;
    background-color: transparent;
    border-radius: 0;
}

.thl{
    background: #f6f7f9;
    display: inline-block;
    padding: 0px 7px;
    border-radius: 3px;
    color: #5E4DB2;
    border: 1px solid #5e4db2;
}

.code-status{
    background: #f6f7f9;
    display: inline-block;
    padding: 0px 7px;
    border-radius: 3px;
    color: #5E4DB2;
    border: 1px solid #5e4db2;
}
.code-status.s200{
    background: #dbefb4;
    color: #006644;
    border: 1px solid #dbefb4;
}
.code-status.s404{
    background-color: #FFF0B3;
    color: #172B4D;
    border: 1px solid #FFF0B3;
}
.code-status.s500{
    background-color: #FFEBE6;
    color: #BF2600;
    border: 1px solid #FFEBE6;
}

pre code.hljs {
    background: transparent;
}
code.hljs {
    padding: 3px 5px !important;
    font-size: 16px !important;
}
.param-value{
    background: #f9f9f9;
    border: 0;
    padding: 8px;
    border-radius: 5px;
    font-size: 16px;
    border: 1px solid #ddd;
    width: 150px;
}
.param-button{
    background: #000;
    border: 0;
    padding: 8px;
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
    border: 1px solid #000;
    cursor: pointer;
}
.param-button:hover{
    background: #7b79ff;
    border-color: #7b79ff;
}
.param-button[disabled]{
    background: #ccc;
    border-color: #ccc;
    cursor: progress;
}

.link{
    color: #ad8921;
    text-decoration: underline;
    cursor: pointer;
}

#home-mark a{
    color: #ad8921;
    text-decoration: underline;
    cursor: pointer;
}
#home-mark a:hover{
    color: #936a3b;
}

@media screen and (max-width: 1280px){
    .function__params-head > div:nth-child(1),
    .function__params-body > div > div:nth-child(1){
        width: 60px;
    }
    .function__params-head > div:nth-child(2),
    .function__params-body > div > div:nth-child(2){
        width: 55px;
    }
}
@media screen and (max-width: 996px){
    .header__menu{
        display: block;
    }
    .wrap{
        height: auto !important;
        display: block !important;
        padding-bottom: 50px;
    }
    .body{
        flex-direction: column;
    }
    .body__sidebar{
        display: none;
    }
    .body__container{
        width: 100%;
    }
    body.open--menu .body__menu-layer{
        display: block;
    }
    body.open--menu .body__sidebar{
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        background: #fff;
        box-shadow: 10px 0 50px #00000069;
        height: 100vh;
        z-index: 10;
    }
}
@media screen and (max-width: 720px){
    .function__params-body > div{
        flex-wrap: wrap;
    }
    .function__params-head > div:nth-child(3){
        display: none;
    }
    .function__request{
        flex-wrap: wrap;
    }
    .function__request-token:not(.full){
        width: 100%;
    }
    .function__request-token.full{
        width: 60%;
    }
    .function__request-profile{
        flex-grow: 1;
    }
}
@media screen and (max-width: 480px){
    .header{
        height: 66px;
    }
    .padding,
    .header {
        padding: 15px;
    }
    .function__request-token > div,
    .function__request-profile > div{
        width: 65px;
    }
    .function__request-profile,
    .function__request-button,
    .function__request-button button,
    .function__request-token.full,
    .function__request-token.full > div{
        width: 100%;
    }
    .function__request-profile > input{
        flex-grow: 1;
    }
    .function__name{
        font-size: 23px;
    }
    code.hljs {
        font-size: 14px !important;
    }
}