html {
    scroll-behavior: smooth;
}
h2,
h3,
h4,
h5 {
    scroll-margin-top: 120px;
}
body {
    font-family: "Open Sans", sans-serif;
    letter-spacing: 0.2px;
    color: #333;
    margin: 0;
}

h1 {
    font-family: "Noto Serif", serif;
    font-size: 39px;
    line-height: 42px;
    margin-bottom: 50px;
}

h2 {
    font-family: "Noto Serif", serif;
    font-size: 28px;
    line-height: 30px;
    text-align: center;
    color: #333;
    margin-block-start: 40px;
    margin-block-end: 30px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 24px 12px;
    border-radius: 6px;
    border-left: 5px solid #0098f1;
}

p {
    font-size: 20px;
    line-height: 26px;
}

a {
    text-decoration: none;
}

ul,
ol {
    list-style-type: disc;
}

li {
    margin-bottom: 10px;
}

a:hover {
    text-decoration: underline;
}

.navbar {
    overflow: hidden;
    background-color: #0098f1;
    color: #333;
    top: 0;
    width: 100%;
    height: 70px;
    font-size: 15px;
    text-align: right;
    padding: 12px 0 0 0;
    position: fixed;
    z-index: 1;
}

.navbar a {
    margin-right: 40px;
    color: #333;
}

.navbar a:active {
    text-decoration: underline;
}

.right a {
    float: right;
}

.container {
    width: 100%;
}

.top {
    background-color: #0098f1;
    height: 650px;
}

.clear {
    background-color: #fff;
    height: auto;
}

.nav-top {
    border-top: 8px solid #0098f1;
}

.row {
    max-width: 63rem;
    margin: auto;
    display: block;
}

.content {
    padding: 22px;
}

.wrapper {
    display: flex;
    padding: 22px;
}

.sidepanel {
    width: 260px;
    margin-top: 120px;
    background-color: #fff;
    overflow-x: hidden;
    position: fixed;
    height: 80%;
}

.sidepanel a.title {
    font-family: "Noto Serif", serif;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    color: #333;
    display: block;
    padding-bottom: 12px;
}

.sidepanel a.section {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    text-align: left;
    line-height: 30px;
    display: block;
    text-decoration: none;
    color: #333;
}

.sidepanel a.sub-section {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    text-align: left;
    line-height: 25px;
    display: block;
    text-decoration: none;
    color: #333;
    padding-left: 20px;
}

.sidepanel a.title:hover,
.sidepanel a.section:hover,
.sidepanel a.sub-section:hover {
    text-decoration: underline;
}

.main-col {
    width: 70%;
    margin: auto;
    text-align: center;
}

.main-col p {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 36px;
}

.right-col {
    margin-top: 100px;
    text-align: left;
    width: 100%;
    margin-left: 280px;
}

.right-col h1 {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 24px;
}

.right-col h2 {
    font-size: 21px;
    line-height: 24px;
    margin-bottom: 30px;
    text-align: left;
    margin-block-start: 20px;
    margin-block-end: 10px;
}

.right-col p {
    font-size: 16px;
    line-height: 22px;
}

.right-col a {
    color: #0098f1;
    text-decoration: underline;
}

.right-col ol {
    margin-block-start: 10px;
}

.logo {
    width: 150px;
    float: left;
    margin: -10px 30px;
}

.col {
    width: 50%;
    float: left;
}

.top-info {
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    text-align: center;
}

.divider {
    width: 40px;
    height: 4px;
    background: #0098f1;
    border-radius: 30px;
    margin: auto;
    margin-top: 8px;
    margin-bottom: 8px;
}

.left {
    margin: 20px 0;
}

.footer {
    float: left;
    width: 100%;
    padding: 90px 0 20px;
    font-size: 15px;
    text-align: center;
    background-color: #fff;
}

.footer a {
    color: #333;
}

.resp-break {
    display: none;
}

.break {
    display: block;
}

.space {
    height: 30px;
    width: 100%;
    float: left;
}

.double {
    height: 60px;
}

.links {
    float: left;
    padding-bottom: 8px;
}

/* Break Points */

/* Extra small-small devices (phones, 420px and down) */

@media only screen and (max-width: 420px) {
    .logo {
        width: 100px;
    }
    .navbar {
        height: auto;
    }
    h2 {
        font-size: 24px;
    }
    .links {
        float: none;
    }
}

/* Extra small devices (phones, 650px and down) */

@media only screen and (max-width: 650px) {
    .logo {
        width: 115px;
        margin: -10px 0px;
    }
    .navbar a {
        padding-bottom: 5px;
        margin-left: 40px;
        margin-right: 0;
    }
    .resp-break {
        display: block;
        margin: 17px;
    }
    .main-col {
        width: 100%;
    }
    .wrapper {
        display: block;
    }
    .sidepanel {
        width: 100%;
        text-align: center;
        position: relative;
        height: auto;
    }
    .sidepanel a.title,
    .sidepanel a.section,
    .sidepanel a.sub-section {
        text-align: center;
    }
    .left {
        margin: 20px auto;
    }
    .right-col {
        position: relative;
        margin-top: 20px;
        margin-left: 0px;
    }
}

/* Small devices (portrait tablets and large phones, 650px and up) */

@media only screen and (min-width: 650px) {
    .logo {
        margin: -10px 0px;
    }
    .right a {
        float: right;
        padding-bottom: 5px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px) {
    .logo {
        margin: -10px 0px;
    }
}

/* End Break Points */

/* Code Block Styling */

pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 16px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: "Courier New", Courier, "Monaco", "Menlo", "Ubuntu Mono",
        monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

pre code {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre;
    word-wrap: normal;
    display: block;
}

/* Inline code styling */

code {
    background-color: #f1f3f5;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 2px 6px;
    font-family: "Courier New", Courier, "Monaco", "Menlo", "Ubuntu Mono",
        monospace;
    font-size: 0.9em;
    color: #d63384;
    white-space: nowrap;
}

/* Code block inside pre should not have background */

pre code {
    background-color: transparent;
    border: none;
    padding: 0;
    color: #333;
}

/* Syntax highlighting colors (optional enhancement) */

pre code .keyword {
    color: #0066cc;
    font-weight: 600;
}

pre code .string {
    color: #008000;
}

pre code .comment {
    color: #6a737d;
    font-style: italic;
}

pre code .function {
    color: #6f42c1;
}

pre code .number {
    color: #e83e8c;
}

/* Dark mode support (optional) */

@media (prefers-color-scheme: dark) {
    pre {
        background-color: #1e1e1e;
        border-color: #3e3e3e;
        color: #d4d4d4;
    }
    code {
        background-color: #2d2d2d;
        border-color: #3e3e3e;
        color: #ce9178;
    }
    pre code {
        color: #d4d4d4;
    }
}

/* Responsive code blocks */

@media only screen and (max-width: 650px) {
    pre {
        font-size: 12px;
        padding: 12px;
        margin: 15px 0;
    }
    code {
        font-size: 0.85em;
        padding: 1px 4px;
    }
}
