.topheader {
	box-shadow: 2px 4px 5px var(--navbar-shallow-color);
	position: fixed;
	background-color: green;
	top: 0%;
	width: 96.5%;
	left: 2%;
	right: 0%;
	z-index: 100;
	border-radius: 6px;
}

.topnav {
  display: flex;
  justify-content: space-between;
  max-width: 98%;
  margin: 4px 10px 7px;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: white;
}

.logo img {
  border-radius: 50%;
}

/* Menu */
.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 0 15px;
}

.menu a {
  color:white;
  font-size: 18px;
  font-weight: 500;
  line-height: 50px;
  text-transform: uppercase;
  position: relative;
}

.menu a::after {
  content: "";
  background-color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: 100%;
  height: 4px;

  opacity: 0;
  transition: opacity 0.3s;
}

.menu a.selected::after,
.menu a:hover::after {
  opacity: 0.8;
}

.menu a:hover {
  color: black;
}

.open-menu,
.close-menu {
  display: none;
}

.logotype {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  /* Menu */
  .topnav {
    margin: -11px 3px -17px;
    padding-bottom: 10px;
  }
  .menu {
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    align-items: center;
    background-color: var(--menu-mobile-background-color);
    height: 100%;
    overflow-y: auto;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .menu li {
    padding: 0;
  }

  .menu a {
    color: var(--text-color-inverse);
    line-height: 70px;
    font-size: 25px;
  }

  .open-menu, .close-menu {
    display: block;
    border: 1vh;
    background: #f7f7f7;
    cursor: pointer;
    padding: 14px 15px;
    margin-top: 14px;
    font-size: 18px;
  }

  .close-menu {
    align-self: flex-end;
    padding: 10px 12px;
    margin-right: 18px;
  }

  .menu_opened {
    opacity: 1;
    pointer-events: all;
  }

  .open-menu:focus:not(:focus-visible),
  .close-menu:focus:not(:focus-visible) {
    outline: none;
  }

  .menu a::after {
    content: none;
  }

  .menu a:hover,
  .menu a.selected {
    color: var(--secondary-color);
  }
}
