#navigation {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--navigation-width);
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding-top: 34px;
  transition: 0.5s;
  z-index: 100;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
}

#navigation .route {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 18px;
  justify-content: space-between;
  margin: 10px 0 10px 10px;
  border-radius: 10px 2px 2px 10px;
  padding: 15px 15px 15px 10px;
  white-space: nowrap;
  color: var(--action-color);
  text-decoration: none;
  transition: all .5s ease;
  background-color: var(--primary-color);
  background-image: linear-gradient(90deg, rgba(153, 204, 255, 1) 0%, rgba(153, 204, 255, 1) 100% );
}

#navigation .route .route-icon {
  font-size: 1.4em;
  overflow-x: visible;
}

#navigation .route * {
  pointer-events: none;
  overflow-x: hidden;
}

#navigation .route.selected, #navigation .route:hover {
  box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.5);
  background-color: var(--background-color);
  background-image: linear-gradient(90deg, rgba(245, 245, 245, 1) 0%, rgba(245, 245, 245, 1) 100% );
}

#navigation .route:hover {
  /* filter: brightness(85%); */
  background-color: var(--background-color);
  background-image: linear-gradient(90deg, rgba(245, 245, 245, 0) 0%, rgba(245, 245, 245, 1) 100% );
}

#navigation .route.selected::after, #navigation .route:hover::after {
  content: "";
  position: absolute;
  background: radial-gradient(ellipse at center, var(--background-color) 50%, transparent 90%);
  top: 1;
  right: -9px;
  bottom: 1;
  width: 18px;
  /*box-shadow: 0px 0px 4px 0px black var(--background-color)*/;
}

/*
#navigation .route.selected::before, #navigation .route:hover::before {
  content: "";
  position: absolute;
  background-color: transparent;
  top: 100%;
  right: 0;
  height: 35px;
  width: 35px;
  border-top-right-radius: 18px;
  box-shadow: 0 -20px 0 0 var(--background-color);
}

#navigation .route.selected::after, #navigation .route:hover::after {
  content: "";
  position: absolute;
  background-color: transparent;
  bottom: 100%;
  right: 0;
  height: 35px;
  width: 35px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 20px 0 0 var(--background-color);
}
*/

