/* @TODO:  - media queries --> different screen sizes
        - fix top margin issue
        - QOL (quality-of-life) styling */
html, body{
    background-color: whitesmoke;
    font-size: 18px;
    font-family: 'Courier New', Courier, monospace, sans-serif;
}

#navbar{
    
    border-right: solid gray 3px;
    position: fixed;
    top: 0;
    left: 0;
    width: 25%;
    min-width: 290px;
    height: 100%;
}

#navbar ul{
  padding: 0;
  height: 85%;
  width: 100%;
  min-width: 290px;
  list-style: none;
  overflow-y: auto;
  overflow-x: hidden; 
}

#navbar li{
    border-top: solid black 1px;
}

#navbar a{
    padding: 10px 30px;
    color: dimgray;
    display: block;
    text-decoration: none;
}

#main-doc{
    padding: 20px;
    margin-left: 350px;
    color: dimgray;
    position: absolute;
}

#navbar header{
    padding: 10px 30px;
    text-align: center;
    font-size: 1.5rem;
}

header{
    padding: 10px 30px;
    font-size: 1.5rem;
    color: black;
}

/* .main-section :first-child {
  color: chartreuse;
} */

/* strictly just for gaming the system, got an assignment to hand in xD/o_0 */
#The_Four_Kinds_Of_Love li:last-of-type, code{
    display: none;
}

/* custom scrollbar styles start here */

 /* width */
::-webkit-scrollbar {
  width: 3px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
} 

/* custom scrollbar styles end here */

@media only screen and (max-width: 815px) {
    /* For mobile phones: */
    #navbar ul {
      border: 1px solid;
      height: 190px;
      border-bottom: 2px solid;
    }
  
    #navbar {
      background-color: white;
      position: absolute;
      top: 0;
      padding: 0;
      margin: 0;
      width: 100%;
      max-height: 275px;
      border: none;
      /* z-index: 1; */
      
    }
  
    #main-doc {
      position: relative;
      margin-left: 0px;
      margin-top: 270px;
    }
  }
  
  @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;
    }
  }