/* Allgemeine Stile */
body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0;
}

nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.legal-sites {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-sites a {
  color: rgba(66, 82, 110, 1) !important;
}

ul {
  margin-block-start: 0;
  margin-block-end: 0;
}

#container {
  display: flex;
  flex-grow: 1;
  width: 100%;
  overflow: hidden;
}

header {
  background-color: #4589ff;
  padding: 20px 39px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.header-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.header-info img, #userInitials {
  cursor: pointer;
}

#userInitials {
  background-color: white;
  color: #4589ff;
  padding: 8px;
  clip-path: circle(50%);
  margin: 3px;
  font-weight: 600;
  font-size: 20px;
  user-select: none;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outerContainer {
  display: inline-block;
  margin: 16px;
  border: 3px solid white;  /* Feine weiße Linie */
  border-radius: 50%;  /* Rundet die Ecken ab, damit es ein Kreis wird */
}

#sidebar {
  background-color: white;
  padding: 20px;
  height: 100%;
  width: 300px;
  box-sizing: border-box;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.16);
}

main {
  flex-grow: 1;
  padding: 32px;
  box-sizing: border-box;
  overflow-y: auto;
}

.menu-item {
  padding: 8px 30px;
  border-radius: 8px;
  gap: 8px;
}

.menu-item:hover {
  background-color: #d2e3ff;
}

.active{
  background-color: #d2e3ff !important;
}

.legal-sites a {
  padding: 8px 30px;
  border-radius: 8px;
  gap: 8px;
}

.legal-sites a:hover {
  background-color: #d2e3ff;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  #container {
    flex-direction: column;
  }

  .legal-sites {
    display: none;
  }

  #sidebar {
    width: 100%;
    height: auto;
    order: 2;
    padding: 5px;
    position: fixed;
    bottom: 0px;
    background-color: white;
    z-index: 100;
  }

  nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #header-tool-info {
    display: none;
  }

  #header-help-icon {
    display: none;
  }

  .menu-item {
    flex-direction: column;
    font-size: 15px;
    align-items: center;
    justify-content: center;
  }

  main {
    order: 1;
  }

  #sidebar li {
    margin-bottom: 0px !important;
  }
}

#sidebar ul {
  list-style: none;
  padding: 0;
}

#sidebar li {
  margin-bottom: 20px;
}

#sidebar a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 10px;
}

@media (max-width: 500px) {
  .menu-item img {
    height: 20px;
  }

  .menu-desc {
    font-size: 10px;
  }

  nav {
    height: 65px;
  }
}


#header-navigation{
  position: absolute;
  top: 100px;
  right: 10px;
  padding: 10px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 20px 0px 20px 20px;
  background: var(--white, #FFF);

  /* stronger */
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.20);
  z-index: 99;
}

#header-navigation a{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 10px;
}

.d-none{
  display: none;
}

