body {
    margin: 0;
    color: #25336b;
    padding: 0;
    display: flex;
    display: flex;
    flex-direction: column;
    list-style-type: none;
    font-family: 'Avenir', 'Century Gothic', sans-serif;
}


.sidenav {
    position: fixed;
    top: 390px;
    left: 6px;
    height: auto;
    width: 210px;
    padding: 10px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    list-style-type: none;
}

.sidenav ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.sidenav .sublist {
    list-style-type: circle;
    padding-left: 30px;
    width: 180px;
}

.sidenav li {
    margin-bottom: 10px;
}

.sidenav a {
    text-decoration: none;
    font-size: 15px;
     color: #25336b;
    display: block;
    font-weight: normal; /* Default to normal weight */
    transition: font-weight 0.3s, color 0.3s ease-in-out;
}

.sidenav a:hover {
    font-weight: bold;
}

.sidenav a.active {
    font-weight: bold;
}

.main-content {
    flex-grow: 1;
    margin-left: 165px;
    padding: 10px;
    box-sizing: border-box;
    transition: margin-left 0.3s ease; /* Smooth transition for margin changes */
}

.references-container {
    padding: 10px;
}

h1::before {
    content: '';
    display: block;
    height: 0px;
    margin-top: 0px;
    visibility: hidden;
}

p { /* normal text style */
    font-weight: normal;
    font-size: medium;
    font-family: 'Avenir', 'Century Gothic', sans-serif;
}

p2 { /* style for figure text */
    font-weight: normal;
    font-size: 14px;
    font-family: 'Avenir', 'Century Gothic', sans-serif;
}

a { /* hyperlink style */
    font-weight: normal;
    font-size: medium;
    font-family: 'Avenir', 'Century Gothic', sans-serif;
}

h1 {
    font-weight: bold;
    font-size: 30px;
    font-family: 'Avenir', 'Century Gothic', sans-serif;
}

ol{ /* ordered list font*/
    font-weight: normal;
    font-size: medium;
    font-family: 'Avenir', 'Century Gothic', sans-serif;
}

li{ /* unordered list font*/
    font-weight: normal;
    font-size: medium;
    font-family: 'Avenir', 'Century Gothic', sans-serif;
}

.content-wrapper {
    display: flex;
    width: 100%;
}

.footer {
    margin-top: auto;
    padding: 10px;
    background-color: #fad8d8;
    text-align: center;
}



/* Show toggle button on smaller screens */
@media screen and (max-width: 1024px) {
    .sidenav-toggle {
        display: block; /* Show the toggle button */
        top: 340px; /* Adjust vertical position */
        width: 80px; /* Set a consistent width */
        height: 80px; /* Set a consistent height */
    }
}

@media screen and (max-width: 768px) {
    .sidenav-toggle {
        width: 60px; /* Slightly smaller for smaller screens */
        height: 60px; /* Smaller height */
        top: 320px; /* Adjusted vertical position */
    }
}

/* Landscape orientation adjustments */
@media screen and (orientation: landscape) {
    .sidenav-toggle {
        width: 80px; /* Adjust width for landscape */
        height: 80px; /* Adjust height for landscape */
        top: 290px; /* Adjust position */
    }
}

.sidenav-hidden {
    margin-left: 20px; /* Remove left margin when sidenav is hidden */
}

.scroll-offset {
    padding-top: 100px; /* Adjust this value based on the height of your sidenav */
    margin-top: -100px; /* The negative margin moves the section back up */
}

