nav .logo {
  display: flex;
  align-items: center;
  margin: 0 24px;
}
.logo .menu-icon {
  color: #333;
  font-size: 24px;
  margin-right: 14px;
  cursor: pointer;
}
.logo .logo-name {
  color: #333;
  font-size: 22px;
  font-weight: 500;
}
nav .sidebar {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  width: 260px;
  padding: 20px 0;
  background: linear-gradient(to bottom, #690909, #3d0b0b, #000000);
  /* background-color: #882626; */
  box-shadow: 0 5px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  z-index: 1001;
}
nav.open .sidebar {
  left: 0;
}
.sidebar .sidebar-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 16px;
}
.sidebar-content .list {
  list-style: none;
}
.list .nav-link {
  display: flex;
  align-items: center;
  margin: 8px 0;
  padding: 14px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.lists{
  padding-inline-start: 0;
}
.lists .nav-link:hover {
  background-color: #a86b67;
}
.nav-link .icon {
  margin-right: 14px;
  font-size: 22px;
  color: #ffffff;
  transition:  color 0.4s ease-in-out, font-size 0.3s ease;
}
.icon-x {
  font-size:37px;
  color: #ffffff;
  padding: 14px 16px;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  left: 6px;
  transition: color  0.3s ease-in-out;
}
.icon-x:hover {
  color: #ff0000;
}
.nav-link .link {
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
  transition: color 0.4s ease-in-out, font-size 0.3s ease;
}
.lists .nav-link:hover .icon,
.lists .nav-link:hover .link {
  font-size: 19px;
  color: black;
}
.lists .nav-link:hover .icon{
  font-size: 23px;
}
.nav-link.active {
  background-color: #a86b67; /* same as hover */
}

.nav-link.active .icon,
.nav-link.active .link {
  color: black;
  font-size: 19px;
}
.nav-link.active .icon {
  font-size: 23px;
}
