html {
    font-family:Arial, Helvetica, sans-serif;
}

header {
    font-size: x-large;
    font-weight: 800;
}

.nav-header{
    padding:10px;
    text-align: center;
}

nav {
    position:fixed;
    top:0;
    left:0;
    max-width: 250px;
    height:100%;
    overflow: auto;
    margin: 2px;
    padding: 0;
    border-right: solid;
    border-width: 1px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

main {
    position: relative;
    margin-left: 280px;
    margin-right: 20px;
    text-align: justify;
}

code {
    background-color:lightblue;
    display: block;
    padding: 5px;
    margin: 5px;
    text-align: left;
}

a:link {
    text-decoration: none;
    color: darkblue;
    padding:5px;
}

a:hover {
    background-color: lightblue;
}

 li {
    padding-bottom: 1rem;
 }

@media (max-width: 600px) {
    
    nav {
        position: relative;
        max-width: 100%;
        border-right: 0;
        border-bottom:solid;
        padding-bottom: 0;
        height:fit-content;    
    }
    
    .nav-links {
        display: flexbox;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
        background-color: white
    }
    
    main {
        overflow-y: hidden;
        margin-left:10px;
        margin-right:10px;
    }
}
