
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  height:100%;
}



.header {
    padding: 1px; /* some padding */
    text-align: center; /* center the text */
    background: #04AA6D; /* green background */
    color: white; /* white text color */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    height: 100px;

}
/* Increase the font size of the <h1> element */
.header h1 {
  font-size: 40px;
}

.nav-bar{
    top:40%;
    z-index: 99999;
    left: 20px;
    margin: 0;
    padding: 0;
    width: 150px;
    
    position: fixed;
    height: 400px;
    overflow: auto;    
}

.nav-bar a{
    display: block;
    color: black;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    font-size: 17px;
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: #f1f1f1;
}

.nav-bar a.active{
    background-color: #007a4b;
    color: white;
}

.nav-bar a:hover:not(.active) {
    background-color: #555;
    color: white;
  }

.nav-bar a:hover{
    background-color: #ddd;
    color: black;
}


.footer {
  padding: 20px; /*Some padding */
  text-align: center; /* Center text*/
  background: #ddd; /* Grey background */
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.content {
    margin-left: 220px;
    padding: 1px 16px;
    height: 1000px;
    height: 100%;
}

@media screen and (max-height: 400px) {
    .nav-bar {
        top:100px;
    }
}
  
/* On screens that are less than 700px wide, make the sidebar into a topbar */
/*TODO: MAKE THIS STICKY*/
@media screen and (max-width: 700px) {
    .nav-bar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 85px;
         /* margin: auto; */
         /* margin-left: 15%; */
    }
    .nav-bar a {
        float: left;
         margin: auto;
        margin-left: 1%;
        width: 15%;
    }
    div.content {margin-left: 0;}
    .header{height: 150px;}
}

/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
/* @media screen and (max-width: 400px) {
    .nav-bar a {
        text-align: center;
        float: none;
    }
} */



