body {
    font-family: Dana, IRANSansX, Roboto, sans-serif !important;
    overflow-y: hidden;
    display: grid;
    direction: rtl;
    background: #F2F7FF;
}


.website-header {
    width: 100%;
    background: rgba(38, 40, 55, 1);
    font-family: Dana, IRANSansX, Roboto, sans-serif !important;
    direction: rtl;
    float: right;
    float-wrap: none;
    height:fit-content;
}


.info {
    color: white;
    font-family: Dana, IRANSansX, Roboto, sans-serif !important;
    padding: 10px 20px 0 0;
    margin: 0 30px 0 0;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    text-decoration: none;
    font-size: 16px;
    float: right;
}

.content-infos {
    float: left;
    padding-left: 15px;
}

/* Container for layout */
.container {
    display: flex;
    flex-direction: row-reverse;
    height: 100vh;
    direction: rtl;
    position: relative;
}

/* Navigation and Content column shared styles */
.column-nav, .column-content {
    overflow-y: scroll;
    position: relative;
    padding-bottom: 75px;
}

/* Navigation column styling */
.column-nav {
    width: 20%;
    background: rgba(38, 40, 55, 1);
}

/* Navigation link styles */
.nav-tab, .nav-subtab {
    border-radius: 10px;
    padding: 15px 20px;
    margin: 10px 30px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* Main navigation tab */
.nav-tab {
    background: rgba(48, 50, 69, 1);
}

.nav-tab > a {
    color: #f3f7fc;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    text-decoration: none;
    font-size: 16px;
}

/* Sub-navigation tab */
.nav-subtab {
    color: #b0b8cf;
}

.nav-subtab > a {
    color: #f3f7fc;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    text-decoration: none;
    font-size: 16px;
}

/* Highlight the active tab */
.active, .scrolled {
    background: linear-gradient(91.19deg, #FF5252 -4.29%, #FF9270 100%);
    color: #fff;
}

/* Content column styling */
.column-content {
    width: 80%;
    background: #F2F7FF;
}

/* Section header in the content */
.section-header {
    color: white;
    width: 80%;
    padding-right: 20px;
}

/* Main content section inside content column */
.content-main {
    width: 60%;
    background-color: #ffffff;
    flex: 3;
    padding: 20px 15px 10px;
    margin: 20px 20px;
    border-radius: 10px;
    box-shadow: 0 1px 10px hsl(90deg 0% 0% / 0.3);
}

/* Individual markdown sections */
.markdown-section {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 10px 0;
    margin: 50px 15px 20px 5px;
    border-radius: 10px;
}

/* Code content block */
.content-code {
    width: 38%;
    background: rgba(38, 40, 55, 1);
    z-index: 2;
}

/* Code block styling */
pre {
    background-color: #424a5d;
    direction: ltr;
    color: white;
    border-radius: 5px;
    margin: 60px 15px 15px;
}

/* Inline code styling */
/*code {*/
/*    display: block;*/
/*    direction: ltr;*/
/*    background: #ffeeed !important;*/
/*    color: #ff3e3e !important;*/
/*    margin: 10px;*/
/*    font-weight: 300;*/
/*    white-space: pre-wrap;*/
/*    font-family: Dana, Roboto, sans-serif;*/
/*}*/

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th {
    background: #33364A;
    color: #FFF;
    font-size: 12px;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
}

td {
    text-align: center;
    color: #424A5D;
    background: #FFFFFF;
    border-bottom: 1px solid #33364A;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
}

/* Headings styling */
h2, h3 {
    margin-top: 0;
    scroll-margin-top: 20px;
}

h2 {
    color: #333;
}

h3 {
    color: #555;
}

/* Markdown content layout */
.markdown-content {
    display: flex;
    background: white;
}

/* Paragraph styling */
p {
    display: block;
    float: right;
    font-family: Dana;
}

.simple-paragraph {
    width: 100%;
}

.code-paragraph {
    padding: 15px;
    width: 100%;
    margin: 10px -15px;
    display: block;
    direction: ltr;
    background: #cbd5dd !important;
    color: #424a5d !important;
    font-weight: 300;
    white-space: pre-wrap;
    font-family: Dana, Roboto, sans-serif;
}

.code-paragraph code {
    font-family: Dana, Roboto, sans-serif;
}

ul {
    float: right;
}

/* Syntax highlighting for code */
.hljs {
    display: block;
    overflow-x: auto;
    font-weight: 300 !important;
    padding: 0.1em;
    background-color: #424a5d !important;
    color: white !important;
    text-align: left;
    margin-left: 5px;
    direction: ltr;
}

/* Box element overlapping both navigation and content */
.box {
    position: absolute;
    width: 31%;
    height: 100vh;
    background: rgba(38, 40, 55, 1);
    z-index: 1;
}

/* Keep the active or scrolled link highlighted */
.active,
.scrolled {
    background: linear-gradient(91.19deg, #FF5252 -4.29%, #FF9270 100%);
    color: #fff;
}

.code-list {
    float: left;
    color: white;
    direction: ltr;
    overflow-x: auto;
    margin: 5px;
    font-weight: 300;
}

.hljs {
    display:block;
    overflow-x:auto;
    font-weight:300 !important;
    padding:0.1em;
    background-color: #424a5d  !important;
    color: white  !important;
    text-align: left;
    margin-left: 5px;
    direction: ltr;
}
.hljs-title {
    color: white !important;
    font-weight:300 !important;
}
.hljs-strong,.hljs-emphasis {
    color:#a8a8a2 !important
}
.hljs-bullet,.hljs-quote,.hljs-link,.hljs-number,.hljs-regexp,.hljs-literal {
    color: #6baee0 !important
}
.hljs-code,.hljs-selector-class {
    color:#a6e22e !important;
    font-weight:300 !important;
}
.hljs-emphasis {
    font-style:italic
}
.hljs-keyword,.hljs-selector-tag,.hljs-section,.hljs-attribute,.hljs-name,.hljs-variable {
    color: #ffb435 !important;
    font-weight:300 !important;
}
.hljs-params {
    color:#b9b9b9 !important;
    font-weight:300 !important;
}
.hljs-string {
    color: #6eab4a !important;
    font-weight:300 !important;
}
.hljs-subst,.hljs-type,.hljs-built_in,.hljs-builtin-name,.hljs-symbol,.hljs-selector-id,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-template-tag,.hljs-template-variable,.hljs-addition {
    color:#e0c46c !important;
    font-weight:300 !important;
}
.hljs-comment,.hljs-deletion,.hljs-meta {
    color:#7f7f7f !important;
    font-weight:300 !important;
}
