.nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 232px;
  height: 100vh;
  position: fixed;
  background-color: #2a3647;
  padding: 64px 0px;
  top: 0;
  left: 0;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  width: 100%;
  justify-content: center;
}

.ofice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: center;

  a {
    padding: 8px;
    border: none;
    font-size: 16px;
    font-weight: 400;
    background-color: #2a3647;
    color: #cdcdcd;
  }
}

.ofice > a:hover {
  color: #29b2ea;
  font-weight: bold;
  cursor: pointer;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;

  button {
    border: none;
    font-size: 16px;
    font-weight: 400;
    background-color: #2a3647;
    color: #cdcdcd;
  }
}

.menu > div:hover {
  background-color: #293d59;
  cursor: pointer;
}

.menu > div:hover button {
  background-color: #293d59;
  cursor: pointer;
}

.menu > div:hover img {
  filter: brightness(0.8); /* Slightly darken the image" */
}

.summary,
.addTask,
.board,
.contacts,
.log-in {
  display: flex;
  gap: 20px;
}

.summaryMenu,
.addTaskMenu,
.boardMenu,
.contactsMenu,
.log-inMenu {
  display: flex;
  padding: 8px 56px;
}

.bottom-menu-link a {
  text-decoration: none;
  color: #a8a8a8;
}

.summary.active,
.addTask.active,
.board.active,
.contacts.active {
  background-color: #091931 !important; /* Blaue Hervorhebung */
  color: white !important;
  border-radius: 5px;
  transition: 0.3s ease;
}

.summary.active *,
.addTask.active *,
.board.active *,
.contacts.active * {
  background-color: #091931 !important;
  color: white !important;
}

.summary.active img,
.addTask.active img,
.board.active img,
.contacts.active img {
  filter: brightness(1) !important;
}

@media (max-width: 1250px) {
  .nav {
    flex-direction: row;
    height: 80px;
    width: 100vw;
    bottom: 0;
    top: auto;
    padding: 0 16px;
    z-index: 99;
  }

  .logo {
    display: none;
  }

  .menu {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu > button {
    font-size: 14px;
    line-height: 16.8px;
  }

  .summary,
  .addTask,
  .board,
  .contacts,
  .log-in {
    flex-direction: column;
    width: 80px;
    height: 76px;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    border-radius: 8px;
  }

  .summaryMenu,
  .addTaskMenu,
  .boardMenu,
  .contactsMenu,
  .log-inMenu {
    flex-direction: column;
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  .addTaskMenu > img,
  .summaryMenu > img,
  .boardMenu > img,
  .contactsMenu > img,
  .log-inMenu > img {
    width: 24px;
    height: 24px;
  }

  .ofice {
    display: none;
  }

  .kanban-board {
    display: flex;
    flex-direction: column;
    margin-left: 34px;
  }
}

@media (max-width: 450px) {
  .menu {
    gap: 0;
  }
}

@media (max-width: 350px) {
  .menu {
    button {
      font-size: small;
    }
  }
}
