
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    height: 100%;
    margin: 0;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    font-family: ui-sans-serif, system-ui, sans-serif;
    color: #202020;
    background-color: #FFFFFF;
}

.container {
    display: flex;
    height: 100%;
    line-height: 1.8;
}

nav {
    flex: 0 0 280px; /* flex-grow, flex-shrink, flex-basis */
    padding: 60px 20px 20px 100px; /* Adjusted padding */
    position: fixed;
    height: 100%;
    overflow-y: auto; /* Enables scrolling on small screens */
}

nav img {
    width: 100%; /* Makes the image responsive */
    height: auto;
    max-width: 200px; /* Optionally, limit the maximum size */
}

main {
    flex-grow: 1; /* Takes the remaining space */
    padding: 60px;
    margin-left: 280px; /* Equal to the width of the nav */
    margin-right: 20%;
    overflow-y: auto; /* Scroll main content independently */
}

main li{
    margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    nav {
        position: relative;
        width: 100%;
        padding: 20px;
        padding-left: 60px;
        padding-right: 60px;
        flex: 0 0 120px; /* Smaller fixed height when in mobile view */
        line-height: 1.2;
   }

    nav img {
        float: right;
        height: 100px;
        width: auto; /* Makes the image responsive */
    }

    nav ul {
        list-style-type: none;
        font-size: normal;
    }

    main {
        margin-left: 0;
        margin-right: 0;
        line-height: 1.3;
    }
}

nav ul {
    list-style-type: none;
    font-size: 1.5rem;
}

nav li a,
nav li a:visited {
    text-decoration: none;
}

blockquote {
    text-align: right;
    font-style: italic;
    font-size: 90%;
    line-height: 1.2;
}

code {
    line-height: 1.5;
    font-family: Courier;
}

pre {
    color: #090974;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: normal;
    color: #000000;
    padding-top: 1.4rem;
}

h1 {
    font-size: 1.5em;
    text-transform: uppercase;
}

h2 {
    font-size: 1.3em;
}

h3 {
    font-size: 1.1em;
}

p  {
    padding-top: 1.2em
}

a, a:visited {
    text-decoration: underline;
    color: #AA2428;
}

a:hover, a:active, a:visited:hover {
    text-decoration:none;
    font-weight: bold;
    color: #;
}



