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

html {
    display: block;
}
body {
    background-color: rgb(234,234,234);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    overflow-x: hidden;
}

#navbar {
    background-color: white;
    width: 100%;
    border-bottom: 1px solid;
    resize: horizontal;
    overflow-x: scroll;
}

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

.nav-link {
    display: block;
    padding: 10px 30px;
    color: #4d4e53;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
    transition: text-indent .3s ease-in-out;
}

.nav-link:hover {
    font-weight: 500;
    text-indent: 5px;
}
section {
    margin-top: 40px;
}

p {
    margin: 10px;
}

.dot-points ul {
    margin-left: 30px;
    margin-top: 20px;
}

#main-doc {
    margin: 0 auto;
}

header {
    color: black;
    margin: 10px;
    text-align: center;
    font-size: 1.8em;
    font-weight: 500;
}

code {
    display: block;
    text-align: left;
    white-space: pre;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;
    background-color: white;
    padding: 0 15px;
    margin: 10px;
    border-radius: 5px;

}

footer {
    border-top: 1px solid #4d4e53;
    padding: 10px;
    text-align: center;
}

@media only screen and (min-width: 850px) {
    body {
    flex-direction: row;
    }
    #navbar {
    width: 300px;
    position: fixed;
    height: 100%;
    }
    #main-doc {
    margin: 0 20px;
    margin-left: 350px;
    }
}