
.sidebarnav {
  position: fixed;
  top: 25px;
  right: 10px;
  display: flex;
  align-items: center;
  z-index: 10000000;
}
.sidebarnav .logo {
  align-items: center;
  margin: 0 24px;
}
.logo .menu-icon {
  color: #333;
  font-size: 24px;
  margin-right: 14px;
  cursor: pointer;
}

.sidebarnav .sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: 260px;
  padding: 20px 0;
  background-color: #fff;
  box-shadow: 0 5px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  overflow-y: scroll;
}
.sidebarnav.open .sidebar {
  right: 0;
}
.sidebar .sidebar-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 16px;
}
.sidebar-content .sidebar-list {
  list-style: none;
}
.sidebar-list .sidebar-nav-link {
  display: flex;
  align-items: center;
  margin: 8px 0;
  padding: 14px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.sidebar-lists .sidebar-nav-link:hover {
  background-color: #4070f4;
}
.sidebar-nav-link .sidebar-icon {
  margin-left: 14px;
  font-size: 20px;
  color: #707070;
}
.sidebar-nav-link .sidebar-link {
  font-size: 16px;
  color: #707070;
  font-weight: 800;
}
.sidebar-lists .sidebar-nav-link:hover .sidebar-icon,
.sidebar-lists .sidebar-nav-link:hover .sidebar-link {
  color: #fff;
}
.overlay {
  position: fixed;
  top: 0;
  right: -100%;
  height: 1000vh;
  width: 200%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  background: rgba(0, 0, 0, 0.3);
}
.sidebarnav.open ~ .overlay {
  opacity: 1;
  right: 260px;
  pointer-events: auto;
  z-index: 999;
}

.sidebar-top-list {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.user-profile {
  border-radius: 50%;
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.user-name {
  color: #707070;
  font-size: 20px;
}

@media screen and (max-width:578px){
  .sidebar-nav-link .sidebar-icon {
    margin-left: 14px;
    font-size: 15px;
    color: #707070;
  }
}

.sidebar-lists {
  padding: 0;
}

.sidebar-toggle {
  position: relative;
  top: 5px;
  font-size: 25px;
  color: green;
  cursor: pointer;
}

.sidebar-toggle:hover{
  color: rgb(0, 179, 0);
  transform: scale(1.2);
}
