.navbar {
    position: sticky;
    top: 0;
}

ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333333;
    align-items: center;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 16px;
    text-decoration: none;
}

li a:hover {
    background-color: #111111;
    letter-spacing: 3px;
}

.menu {
    display: none;
}

/* W3 schools helped me remember how to center and organize my nav bar better */

@media screen and (max-width: 850px) {
  .navbar ul {
    display: block;
    position: relative;
  }

  .navbar li {
    float: none;
  }

  .menu {
    display: block;
    color: white;
    font-size: 18px;
    cursor: pointer;
  }

  .navbar li:not(.menu) {
    display: none;
  }

  .navbar.show li {
    display: block;
  }

  .navbar a {
    background: #333333;
    color: white;
    text-align: left;
    padding: 12px 16px;
    display: block;
  }

  .navbar a:hover {
    background-color: #111111;
  }
}

/* W3 schools REALLY helped me with media screen code since I was not really familiar with it */