body {
   color: #4d4e53;
   line-height: 1.5;
   font-family: 'Open Sans', sans-serif, sans-serif;
}
.nav-link {
  display: flex;
  justify-content: left;
  color: #4d4e56;
  font-size: 17px;
  border-top: 1px solid;
  border-color: rgba(0, 22, 22, 0.4);
  text-decoration: none;
  padding: 10px 20px;
  cursor: pointer;
}

#navbar {
  position: fixed;
  min-width: 350px;
  top: 0px;
  left: 0px;
  width: 300px;
  height: 100%;
  border-right: 1.5px solid;
  border-color: rgba(0, 22, 22, 0.4);
  overflow-y: scroll;
}

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

#main-doc header {
  text-align: left;
  margin: 0px;
}

#main-doc {
  position: absolute;
  margin-left: 370px;
  margin-bottom: 110px;
}

code {
  display: block;
  text-align: left;
  white-space: pre-line;
  position: relative;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.75;
  background-color: #f7f7f7;
  padding: 15px;
  margin: 10px;
  border-radius: 5px;
}
.reflink {
  text-decoration: none;
  color: #4d4e53; 
}

section article {
  color: #4d4e53;
  margin: 10px 0px;
  font-size: 0.96em;
}

@media (max-width: 500px) {
  navbar{
    min-width: 100%}
}

@media only screen and (max-width: 815px) {
  /* For mobile phones: */
 

  #navbar {
    background-color: white;
    position: absolute;
    top: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    max-height: 275px;
    border: none;
    z-index: 1;
    border-bottom: 1px solid;
    border-color: rgba(0, 22, 22, 0.4);
  }

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

@media only screen and (max-width: 400px) {
  #main-doc {
    margin-left: -10px;
  }

  code {
    margin-left: -20px;
    width: 100%;
    padding: 15px;
    padding-left: 10px;
    padding-right: 45px;
    min-width: 233px;
  }
}
