
body {
  background: #222;
  color: #fff;
  font-family: monospace;
  margin: 0;
}

#navbar {
  position: sticky; /* sticks the navbar to the top of the page on scroll */
  top: 0;
  background-color: #555;
  display: flex; /* turns navbar into a flexbox */
  align-items: center;
  justify-content: space-between; /* spaces out the items on the navbar opposite to eachother*/
  padding: 0 10px;
  height: 40px;
  border-left: 2px solid #000; /* solid black lines between items */
  box-shadow: 2px 0 0 #000; /* adds solid black line to the right side of the box without doubling */
  z-index: 999; /* makes sure navbar is above everything else */
}

#navbar a { /*specifically for the links within the navbar */
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  border-left: 2px solid #000;
  box-shadow: 2px 0 0 #000;
}

.logo {
  height: 100%;
  border-left: 2px solid #000;
  box-shadow: 2px 0 0 #000;
}

.nav-links {
  display: flex;
  align-items: stretch;
  height: 100%;
}

#navbar a:hover {
  color: #fff;
  background-color: #222;
}

/* Dropdown for projects link */
.projects {
  position: relative;
  display: inline-block;
}

.projects-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #555;
  min-width: 15em;
  z-index: 1;
}

.projects-content a {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 0.5em 1em;
  line-height: 1.5;
}

.projects-content a:hover {
  background-color: #333;
  color: #fff;
}

.projects:hover .projects-content {
  display: block;
}

.banner {
  width: 40%;
}

header {
  text-align: center;
}

aside
{
    float: left;
    width: 25vw;
    height: auto;
    border: 2px solid #000;
    padding: 0px 10px;
    color: #000;
    background-color: #555;
    z-index: 1;
    margin: 15px 30px 0px 0px;
}

aside a {
  text-decoration: none;
  color: #000;
  display: flex;
  border: 2px solid #000;
  padding: 4px 4px;
  margin: 0px 0px 15px 0px;
}

aside a:hover {
  color: #fff;
  background-color: #222;
}

main {
  padding: 0px 15px;
  margin: 0px 15px 0px 15px;
  border: 2px solid #000;
  background-color: #111;
}

#favs {
  display: flex;
  justify-content: space-between;
  height: auto;
  color: #000;
}

#favs div {
  flex: 1;
  padding: 0px 10px 0px 10px;
  margin: 10px 4px 10px 4px;
  border: 2px solid #000;
  background-color: #555;
}

#socials {
  display: flex;
  justify-content: space-evenly;
}

#socials a {
  text-decoration: none;
  color: #000;
  background: #555;
  padding: 20px 10px;
  border: 2px solid #000;
}

#socials a:hover {
  background-color: #222;
  color: #fff;
}