html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.2px;
    color: #333;
    margin: 0;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  background: #f7f7f7;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.9em;
  line-height: 1.4em;
}


h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 39px;
    line-height: 42px;
    margin-bottom: 50px;

}

h2 {
    font-family: 'Open Sans', sans-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;
}

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

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.navbar {
    overflow: hidden;
    background-color: #FFC200;
    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 {
    color: #333;
}

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

.right a {
    float: right;
}

.container {
    width: 100%;
}

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

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

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

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

.content {
    padding: 22px;
}

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

.sidepanel {
    width: 200px;
    background-color: #fff;
    overflow-x: hidden;
    position: fixed;
    height: 80%;

}

.sidepanel a.title {
    font-family: 'Open Sans', sans-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: 180px;
    text-align: left;
    width: 100%;
    margin-left: 220px;
}

.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;
    margin-bottom: 8px;
}

code {
  background-color: #ffc40068;
  color: #0e1c2a;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95em;
  border-radius: 4px;
}

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

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

.logo {
    display: block;
    margin: 0 auto 18px auto; /* top, right, bottom, left */
    width: 80px;              /* Or adjust to fit your sidebar visually */
    max-width: 90%;
    height: auto;
    float: none;
}


.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: #FFC200;
    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;
}

/* Add this to your CSS! */
h1, h2, h3, h4, h5, h6, [id] {
  scroll-margin-top: 180px; /* Adjust value to your navbar's height */
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #FFC200;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  height: 150px;
  display: flex;
  align-items: center;
}

.navbar-row {
  width: 100%;
  max-width: 63rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #333;
  margin: 0;
  line-height: 1;
}

.logo {
  width: 52px;
  height: auto;
  margin: 0;
  float: none;
  display: block;
}

.navbar .right {
  color: #333;
  font-size: 1rem;
  text-decoration: none;
  margin-left: auto;
}

.navbar .right i {
  color: #333;
}







/* Break Points */


/* Extra small-small devices (phones, 420px and down) */
@media only screen and (max-width: 420px) {

    .logo {
        width: 100px;
    }

    .navbar {
        height: auto;
        height: 200px;
    }

    h2 {
        font-size: 24px;
    }

    .links {
        float: none;
    }

}



/* Extra small devices (phones, 650px and down) */
@media only screen and (max-width: 650px) {

    .logo {
        width: 90px; /* Or any size that fits, 80-100px */
        display: block;
        margin: 0 auto 14px auto; /* Center logo with margin below */
        float: none;
    }

    .navbar a {
        padding-bottom: 5px;
        margin-left: 40px;
        margin-right: 0;
    }

    .resp-break {
        display: block;
        margin: 17px;
    }

    .main-col {
        width: 100%;
    }


    .wrapper {
        display: block;
    }

    pre {
    font-size: 0.85em;
    padding: 10px;
  }

.sidepanel {
        width: 100%;
        padding-top: 320px; /* slightly more than your navbar's height (70px + a bit for spacing) */
        text-align: center;
        position: relative;
        height: auto;
        box-sizing: border-box; /* So padding doesn't increase total width */
    }

    .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;

    }

    .navbar .right {
        float: none !important;
        display: block;
        text-align: center;
        margin: 0 auto 8px auto;
    }
    .navbar .right a, .navbar a.right {
        float: none !important;
        display: inline-block;
        text-align: center;
        margin: 0;
    }

    .navbar-row {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.brand {
  justify-content: center;
  gap: 10px;
}
.brand-title {
  font-size: 1.3rem;
  margin-top: 3px;
  margin-bottom: 2px;
}
.navbar .right, .navbar a.right {
  float: none !important;
  display: block;
  text-align: center;
  margin: 0 auto 6px auto;
}

    .navbar {
        height: auto;
        height: 300px;
    }

}

/* Small devices (portrait tablets and large phones, 650px and up) */
@media only screen and (min-width: 650px) {

    .sidepanel {
        margin-top: 200px;
        position: fixed;
        height: 80%;
    }

    .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;
}
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}


/* End Break Points */
