.nav-bar {
  height: 100%;
  width: var(--navBarWidth);
  overflow: auto;
  border-right: 2px solid #e5e5e5;
  transition: 0.2s ease-in;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 800px) {
  .nav-bar {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.671);
    backdrop-filter: blur(8px);
    border-right: none;
    box-shadow: 2px 0px 20px 3px rgba(100, 100, 100, 0.15);
    z-index: 2;
  }
}

.nav-bar .nav-bar-header {
  padding: 20px 10px;
  font-size: 1.4rem;
  font-weight: bolder;
}

.nav-bar .nav-bar-header img {
  width: 60px;
  margin-right: 20px;
}

.nav-bar .profile-card {
  border-radius: 16px;
  background-color: var(--colorPrimary);
  color: white;
  margin: 20px 15px;
  min-height: 100px;
  padding: 8px 16px;
  font-size: 0.8rem;
  box-shadow: 0px 10px 20px 1px rgba(114, 159, 204, 0.637);
}

.nav-bar .profile-card i {
  font-size: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-bar .profile-card i:hover {
  color: #b1b1b1;
  cursor: pointer;
}

.nav-bar .profile-card i:hover > span {
  display: block;
}

.nav-bar .profile-card i span {
  display: none;
  position: absolute;
}

.nav-bar .profile-card #welcome-txt {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.nav-bar .nav-items-list {
  padding: 0px 15px;
  margin-top: 50px;
}

.nav-bar .nav-item {
  display: flex;
  align-items: center;
  padding: 16px 16px;
  border-radius: 16px;
  font-size: 1.2rem;
  color: var(--colorText);
  font-size: 0.8rem;
  margin: 10px 0px;
}

.nav-bar .nav-item:hover > i {
  color: var(--colorSecondary);
}

.nav-bar .nav-item:hover {
  color: var(--colorSecondary);
}

.nav-bar .active-nav-item {
  background-color: var(--colorSecondary);
  color: white;
}

.nav-bar .active-nav-item > i {
  color: white !important;
}

.nav-bar .active-nav-item:hover {
  color: white;
}

.nav-bar .active-nav-item:hover > i {
  color: white;
}

.nav-bar .nav-item i {
  margin-right: 10px;
  color: var(--colorTextMuted);
}

#nav-bar-icon-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--colorText);
  transition: all 0.3s ease-in;
  font-size: 1.2rem;
  display: none;
}

@media only screen and (max-width: 800px) {
  #nav-bar-icon-close {
    display: block;
  }
}

#nav-bar-icon-close :hover {
  color: var(--colorSecondary);
  cursor: pointer;
}
