body {
  display: flex;
}

.headerBody {
  max-width: 1500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 232px;
}

.sidebar {
  background-color: rgb(42, 54, 71);
  width: 232px;
  height: 100vh;
  top: 0;
  left: 0;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  position: sticky;
}

.headerlogo {
  display: none;
}

.sidebar ul {
  list-style: none;
  padding-top: 100px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left:0px;
 
}

.sidebar li {
  gap: 16px;
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 50px;
  
}

.sidebarNavBtn {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
}

.sidebarNavBtn:hover {
  text-decoration: none;
  color: #ffffff;
}

.sidebar li:hover {
  background-color: rgba(9, 25, 49, 1);
  cursor: pointer;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 96px;
  width: 100%;
  background-color: white;
  box-shadow: 0px 2px 8px -2px rgb(188, 192, 197);
  z-index: 10; 
  position: relative;
}

.headline {
  margin-left: 100px;
  margin-bottom: 0px;
  width: 350px;
}

.userTag {
  user-select: none;  
  border: 3px solid black;
  border-radius: 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  display: flex;
  color: rgb(41, 171, 226);
  margin-top: unset;
  margin-bottom: unset;
  float: left;
}

.help {
  display: flex;
  justify-content: end;
  align-items: center;
  padding-right: 50px;
  column-gap: 20px;
}

.helpImg {
  scale: 1.2;
}

.sidebarLogo {
  width: 100px;
  padding-top: 64px;
}

.navBar {
  padding-top: 200px;
}

.legalNotice {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 200px;
}

.legalNoticeBtn {
  color: #a8a8a8;
  padding: 6px;
}

.legalNoticeBtn:hover {
  color: rgba(41, 171, 226, 1);
  padding: 6px;
}

.helpBtn {
  padding-left: 650px;
  padding-right: 50px;
}

.user {
  color: #29abe2;
  border: solid black;
  border-radius: 100%;
  padding: 16px;
  font-size: 20px;
  font-weight: 800;
  margin: 0px;
}

button {
  background-color: rgb(42, 54, 71);
  color: white;
  border-radius: 10px;
}

a {
  text-decoration: none;
}

.logoutButton {
  cursor: pointer;
  color: white;
  width: auto;
  transition: width 0.35s;
  -webkit-transition: width 0.35s;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.display-none {
  display: none;
}

.logout {
  font-size: 0.8em;
  position: relative;
  right: -18px;
  overflow: hidden;
  letter-spacing: 3px;
  opacity: 0;
  transition: opacity 0.45s;
  -webkit-transition: opacity 0.35s;
  color: black;
  cursor: pointer;
}

#dropdownMenu {
  user-select: none;  
  display: none;
  position: absolute;
  top: 97px;
  background-color: #2a3647;
  padding: 10px;
  border: none;
  border-radius: 20px 0 20px 20px;
  z-index: 1;
  text-decoration: none;
}

#dropdownMenu.active {
  display: block;
}

#dropdownMenu span {
  display: flex;
  align-items: center;
  color: white;
  width: 112px;
  height: 41px;
  gap: 1px;
  padding: 8px;
  cursor: pointer;
  white-space: nowrap;
}

#dropdownMenu span:hover {
  color: white;
  font-weight: bold;
}


@media (max-width: 950px) {
.sidebarNavBtn {
    font-size: 14px;
  }
  .sidebar {
    width: 180px;
  }

  .display-none {
    display: none !important;
  }
  footer{
  width: 180px;
  }

  .sidebar li {
    padding-left: 35px;
}

}
@media (max-width: 580px) {
  .logoutButton {
    float: none !important;
    right: 10px;
    width: auto;
    padding: 10px;
    justify-content: flex-end;
    transition: none !important;
  }

  #dropdownMenu {
  right: 0;
  }

  .logout {
    display: none !important;
    opacity: 0 !important;
    right: 0 !important;
    transition: none !important;
  }

  .logoutButton:hover {
    width: auto !important;
    transition: none !important;
  }

  .logoutButton:hover .logout {
    opacity: 0 !important;
    display: none !important;
  }

  .headline {
    display: none;
  }

  .help {
    padding-right: 10px;
  }

  .headerlogo {
    display: block !important;
    height: 50px;
    width: 40px;
    margin-left: 20px !important;
  }

  footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 80px;
    background-color: #2a3647 !important;
    color: white !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 80px;
  }

  .sidebar {
    z-index: 2;
    height: auto !important;
  }

  .sidebardesktop {
    display: none;
  }

  .sidebar ul {
    display: flex !important;
    flex-direction: row !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    list-style: none !important;
    justify-content: space-evenly !important;
  }

  .sidebar li {
    gap: 5px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    padding: 4px 10px !important;
    text-align: center !important;

    border-radius: 8px !important;
  }

  .sidebarNavBtn {
    font-size: 16px;
    display: contents;
  }

  .sidebar ul :hover {
    background-color: #091931;
  }

  .sidebarLogo,
  .legalNotice {
    display: none;
  }

  body {
    display: flex;
    flex-direction: column;
  }

  .content {
    flex: 1;
  }
}
