a {
    text-decoration: none;
}

body {
    min-width: 290px;
    font-family: "Open Sans", sans-serif;
    line-height: 1.5;
}

#navbar {
    position: fixed;
    min-width: 290px;
    z-index: 1;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    border-right: solid;
    border-color: black;
}

#navbar ul {
    height: 90%;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

#navbar li {
    color: #111;
    border-top: 1px solid;
    list-style: none;
    position: relative;
    width: 100%;
}

#navbar a {
    display: block;
    cursor: pointer;
    padding: 10px 25px;
}

header {
    color: black;
    margin: 10px auto;
    padding: 2px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: lighter;
}

#main-doc {
    position: absolute;
    margin-left: 315px;
    padding: 20px;
    margin-bottom: 100px;
}

#main-doc header {
    text-align: left;
    margin: 0px;
    padding: 2px;
}
section header{
    font-size: 2rem;
}

section article {
    color: #111;
    margin: 15px;
    text-align: justify;
    margin: 15px;
}
  
section li, p {
    margin: 10px 0px 0px 15px;
}

code {
    display: block;
    text-align: left;
    position: relative;
    line-height: 2;
    background-color: #f7f0f0;
    margin: 10px;
    padding: 15px;
    border-radius: 5px;
  }
  
  @media only screen and (max-width: 815px) {
     
    #navbar {
      background-color: white;
      position: absolute;
      top: 0;
      padding: 0;
      margin: 0;
      width: 100%;
      max-height: 50px;
      border: none;
      z-index: 1;
    }

    #navbar ul {
        visibility: hidden;
    }

    #navbar header {
        text-align: center;
        text-decoration: underline;
    }
  
    #main-doc {
      position: relative;
      margin-left: 0px;
      margin-top: 60px;
    }

    #main-doc header {
        font-size: 1.5rem;
      }
    
    section article {
        margin: 10px;
        font-size: 1rem;
        text-align: justify;
    }

  }
  
  @media only screen and (max-width: 400px) {
    #navbar {
        background-color: white;
        position: absolute;
        top: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        max-height: 50px;
        border: none;
        z-index: 1;
      }
  
    #navbar ul {
          visibility: hidden;
      }
  
    #navbar header {
          text-align: center;
          text-decoration: underline;
          font-size: 1.5rem;
      }
    
    #main-doc {
        position: relative;
        margin-left: -10px;
      }
  
    #main-doc header {
          font-size: 1.2rem;
    }

    section article {
        font-size: 0.9rem;
        text-align: justify;
        margin: 5px;
    }
        
    code {
        margin-left: -20px;
        width: 100%;
        padding: 15px auto;
        min-width: 233px;
    }
    
  }
  