#sidebar {
    position: fixed;
    z-index: 1000;
}

#main-content {
    margin-left: 21%;
}

@media only screen and (max-width: 600px) {
    #main-content {
        margin-left: 0%;
    }
}