html,
body {
  scroll-behavior: smooth;
  min-width: 20%;
  color: white;
  text-color: white;
  background: rgb(2, 0, 36);
  background: -moz-radial-gradient(
    circle,
    rgba(2, 0, 36, 1) 0%,
    rgba(107, 9, 121, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
  background: -webkit-radial-gradient(
    circle,
    rgba(2, 0, 36, 1) 0%,
    rgba(107, 9, 121, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
  background: radial-gradient(
    circle,
    rgba(2, 0, 36, 1) 0%,
    rgba(107, 9, 121, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024",endColorstr="#00d4ff",GradientType=1);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.5;
}

#navbar {
  position: fixed;
  min-width: 290px;
  top: 0px;
  left: 0px;
  width: 20%;
  height: 99%;
  border-right: solid;
  border-radius: 25px;
  border-color: rgba(0, 0, 0, 0.4);
}

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

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

#navbar a {
  display: block;
  padding: 5%;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

header {
  color: Yellow;
  margin: 3%;
  text-align: center;
  font-size: 1.8em;
  font-weight: thin;
}

#main-doc {
  position: absolute;
  margin-left: 20%;
  padding: 1%;
  margin-bottom: 10%;
}

section article {
  color: #e3d8d6;
  margin: 2%;
  font-size: 0.96em;
}

section li {
  margin: 1% 0 0 2%;
}

code {
  display: block;
  text-align: left;
  white-space: pre-line;
  position: relative;
  word-break: normal;
  word-wrap: normal;
  line-height: 2;
  background-color: black;
  padding: 2%;
  margin: 1%;
  border-radius: 25px;
}

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

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

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

footer {
  font-weight: 300;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  align-self: center;
  padding: 2rem;
  background: black;
  border-top: 4px solid darkblue;
}

footer > p {
  margin: 2rem;
}

footer i {
  vertical-align: middle;
}

@media (max-width: 28.75em) {
  footer {
    flex-direction: column;
    text-align: center;
  }
}

.codepen {
  text-decoration: underline;
}
