@import url('https://fonts.googleapis.com/css2?family=Nunito:ital@0;1&display=swap');

html,
body {
  font-family: 'Nunito', sans-serif;
  color: white;
  background-color: black;
  line-height: 1.5;
}

#courses {
  line-height: 2;
}

#nav_title {
  text-align: center;
  font-size: 1.8em;
}

#navbar {
  position: fixed;
  height: 100%;
  width: 300px;
  min-width: 290px;
  top: 0px;
  left: 0px;

  line-height: 1.6;
  color: black;
  background-color: white;
  z-index: 3;
}

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

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

#navbar a {
  display: block;
  padding: 20px 10px;
  font-weight: thin;
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#main-doc {
  position: absolute;
  top: -280px;
  margin: 310px;
  padding: 20px;
}
.p_headers {
  font-size: 1.8em;
}

.pictures {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  
  height: 50%;
  width: auto;
}

#center_text {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media only screen and (max-width: 815px) {
  #navbar ul {
    border: 1px solid;
    height: 207px;
  }

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

  #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;
  }
}


/* #header-background-img {
  position: relative;
  left: 300px;
  top: 0px;
  
  display: flex;
  width: 100%;
  min-width: 300px;
  
  z-index: -2;
  opacity: 0.75;
}

#right-background-img {
  position: relative;
  left: 300px;
  top: 500px;
  
  z-index: -1;
  opacity: .75;
} */

