html, body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

header {
    font-size: 1.8em;
}

#navbar {
    position: fixed;
    min-width: 290px;
    margin-top: 0px;
    margin-left: 0px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    border-right: solid;
    overflow: scroll;
}

#navbar ul {
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 0px;
    margin-top: 0px;
}

#navbar header{
    text-align: center;
    background-color: #d8d8d1;
    color: rgb(87, 81, 81);
}

#navbar a {
    display: block;
    padding: 10px 30px;
    text-decoration: none;
    color:#4d4e53;
}

#navbar li {
    list-style: none;
    color: #4d4e53;
    border-top: 1px solid;
}

#main-doc {
    position: absolute;
    margin-left: 310px;
    padding: 20px;
    margin-bottom: 110px;
 }

 code {
    display: block;
    word-break: normal;
    white-space: pre;
    background-color: #f7f7f7;
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
     
 }

@media (max-width: 815px){
    #navbar{
        position: absolute;
        top: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        max-height: 275px;
        border: none;
        z-index: 1;
    }

    #navbar ul {
        height: 207px;
    }

    #main-doc {
        position: relative;
        margin-left: 0px;
        margin-top: 275px;  
     }
}

footer {
    font-size: 10pt;
}
