/*.topnav {
  display: flex;
  justify-content: center;
}*/
.topnav > ul {
  display: flex;
  flex-wrap: wrap; /* Allow the items to wrap when necessary */
  justify-content: center; /* Center items on each line */
  gap: 1em;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 1em 0;
}
.topnav a {
  position: relative;
  display: inline-block;
  color: #333;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.2em;
  font-weight: 700;
  margin: 0;
  padding: .75em 0 .25em 0;
}
.topnav .nav > li > a::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background: #000;
}
.topnav .nav > li.current > a::before {
  height: 2px;
}
.topnav .nav > li > a:hover::before,
.topnav .nav > li > a:focus::before {
  height: 5px;
  transition: height .2s;
}

#hamburger {
  display: block;
  margin: 0 .5em;
  font-size: 1.8em;
  cursor: pointer;
}

@media (max-width: 799px) {
  .topnav {
    flex-flow: column;
  }
  .topnav .nav {
    display: none;
    gap: 0;
  }
  .topnav .nav.responsive {
    display: flex;
    flex-flow: column;
    align-items: center;
  }

  .main {
    flex-flow: column;
  }
}
@media (min-width: 800px) {
  #hamburger {
    display: none;
  }
}
