#main-menu {
  display: block;
  height: 80px;
  width: 100%;
  background: #333;
  margin: 0px;
  position: fixed;
  top: 0px;
  left: 0px;
}

#main-menu ul {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

#main-menu li {
  list-style-type: none;
  flex-grow: 1;
  text-align: center;
}

#main-menu a {
  color: #ffffff;
  font-size: 1rem;
  text-decoration: none;
  display: block;
  height: 100%;
}

#main-menu a:hover {
  background-color: #eeeeee;
  color: #000;
  padding-top: 26px;
  padding-bottom: 26px;
  text-decoration: underline;
}

#main-menu a.active {
  background-color: #eeeeee;
  color: #000;
  padding-top: 26px;
  padding-bottom: 26px;
}

#logo {
  display: flex;
  margin-right: 20px;
}

#logo img {
  height: 60px;
}

#hamburger-menu {
  width: 40px;
  height: 40px;
  display: none;
  border: none;
  background: linear-gradient(to bottom,
      #333, #333 20%,
      transparent 20%, transparent 40%,
      #333 40%, #333 60%,
      transparent 60%, transparent 80%,
      #333 80%, #333 100%);
  cursor: pointer;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 3;
}

#hamburger-menu #sidebar-menu {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: -250px;
  width: 200px;
  height: 100%;
  background: #333;
  color: white;
  transition: 0.3s;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}

#hamburger-input {
  display: none;
}

#hamburger-input:checked+#hamburger-menu #sidebar-menu {
  visibility: visible;
  left: 0;
  z-index: 3;
}

#hamburger-input:checked~.overlay {
  visibility: visible;
  opacity: 0.4;
  pointer-events: all;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
  pointer-events: none;
}

#sidebar-menu ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  width: 100%;
}

#sidebar-menu li {
  width: 100%;
  text-align: center;
}

#sidebar-menu a {
  display: block;
  width: 100%;
  padding: 10px 0;
  color: white;
  text-decoration: none;
}

#sidebar-menu a:hover {
  background-color: #eeeeee;
  color: #000;
  text-decoration: underline;
}

@media screen and (max-width: 960px) {
  #main-menu {
    display: none;
  }

  #hamburger-menu {
    display: inline;
  }
}
