body,
html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow: hidden;
  /* Prevent horizontal scrollbar */
}

button {
  font-family: "Inter", serif;
}

button:hover {
  cursor: pointer;
}

.content_wrapper {
  display: flex;
  flex-grow: 1;
}

.logo-and-navbar-wrapper {
  display: flex;
  height: 50%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.content_left {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #2a3647;
  width: 232px;
  height: 100vh;
  flex-grow: 1;
  padding-top: 64px;
  padding-bottom: 64px;
  box-shadow: 0px 0px 4px 0px #0000001a;
}

span {
  font-size: 16px;
}

.nav_btn {
  height: 46px;
  background-color: #2a3647;
  width: 232px;
  color: #cdcdcd;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  span {
    padding-left: 60px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.active {
  pointer-events: none;
  background-color: rgb(26, 34, 46);
}

.active:hover {
  background-color: rgb(26, 34, 46) !important;
  cursor: default !important;

  span {
    transform: scale(1) !important;
  }
}

.nav_btn:hover {
  background: #2a3d59;
  cursor: pointer;
}

.nav_btn:hover span {
  transform: scale(1.05);
}

.navBar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.judicial-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
  justify-content: end;
}

.judicial-links-container {
  padding: 8px 60px;
  width: 100%;
}

.nav-link {
  align-self: flex-start;
  color: #cdcdcd;
}

.nav-link:hover {
  font-weight: bold;
  color: #29abe2;
  transform: scale(1.05);
}

.paddingleft {
  padding-left: 116px;
}

.content_right {
  background-color: rgb(246, 248, 250);
  width: calc(100% - 232px);
  height: 100vh;
  float: right;
}

.header {
  padding: 0 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(255, 255, 255);
  height: 96px;
  width: 100%;
  box-shadow: 0px 4px 4px 0px #0000001a;

  p {
    font-size: larger;
    font-weight: 400;
    margin: 0;
  }
}

.header-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: calc(1920px - 360px);
}

.question-mark {
  border: none;
  background-color: transparent;
}

.question-mark-img {
  width: 20px;
  height: 20px;
}

.question-mark:hover {
  cursor: pointer;
  scale: 1.1;
}

.header_btn_and_pic {
  display: flex;
  gap: 16px;
  align-items: center;
}

.user-icon {
  cursor: pointer;
  color: #29abe2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  border: 3px solid rgb(43, 54, 71);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.user-icon:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.profile_picture:hover {
  cursor: pointer;
}

.tasks_section {
  padding: 0 8px;
  background-color: rgb(246, 248, 250);
  height: calc(100vh - 140px);

  h1 {
    margin: 0;
    font-size: 64px;
  }
}

.mobile-nav-section {
  display: none;
}

.responsive-logo {
  display: none;
}

.menu {
  background-color: #2a3d59;
  display: none;
  position: absolute;
  top: 77px;
  right: -20px;
  z-index: 1000;
  border-radius: 20px 0 20px 20px;
  height: fit-content;
  width: 150px;
}

.menu-btns {
  padding: 10px;
  background-color: #2a3d59;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  width: 130px;
  height: 46px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 16px;
}

.help-link {
  display: none;
}

.menu-item:hover {
  color: #ffffff;
  background-color: #284572;
}

.logo-and-navbar-wrapper-datenschutz {
  display: flex;
  height: 50%;
  flex-direction: column;
  align-items: center;
  gap: 128px;
}

.mobileNavLogin {
  margin-right:10%;
}

@media (max-width: 1350px) {
  .content_left {
    display: none;
  }

  .help-link {
    display: flex;
  }

  .question-mark-img {
    display: none;
  }

  .content_right {
    width: 100%;
  }

  .mobile-nav-section {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #2a3647;
    box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .mobile-navBar {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .mobile_nav_btn {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 80px;
    color: #cdcdcd;
  }

  .mobile_nav_btn span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 400;
  }

  .mobile_nav_btn img {
    width: 24px;
    height: 24px;
  }

  .mobile_nav_btn:hover {
    background: #2a3d59;
    border-radius: 16px;
  }

  .mobile_nav_btn.active {
    background-color: rgb(26, 34, 46);
  }

  .mobile_nav_btn.active:hover {
    background-color: rgb(26, 34, 46) !important;
  }

  .active {
    border-radius: 16px;
    pointer-events: none;
    background-color: rgb(26, 34, 46);
  }

  .active:hover {
    background-color: rgb(26, 34, 46) !important;
    cursor: default !important;

    span {
      transform: scale(1) !important;
    }
  }
}

@media (max-width: 423px) {
  .header {
    padding: 0 22px 0 22px !important;
  }
}

@media(max-width:620px) {
  .header {
    /* justify-content: flex-end !important; */
    padding: 20px 16px 20px 16px;

    p {
      display: none;
    }
  }

  .responsive-logo {
    display: block;
  }

  .menu {
    right: 0px;
  }
}

@media (max-width: 367px) {
  .mobile-navBar {
    gap: 10px;
  }

  .mobile_nav_btn {
    height: 70px;
    width: 70px;
  }

  .mobile_nav_btn span {
    gap: 2px;
    font-size: 12px;
  }

  .mobile_nav_btn img {
    width: 20px;
    height: 20px;
  }
}