.sidebar {
  position: fixed;
  top: 0;
  left: -75%; 
  width: 75%; 
  height: 100%;
  background-color: #000; 
  color: white;
  padding: 2rem 1rem;
  box-sizing: border-box;
  transition: left 0.3s ease;
  z-index: 2000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none; 
  scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
  display: none; 
}

@media (min-width: 768px) {
  .sidebar {
    width: 20%;    
    left: -20%;      
    max-width: 300px; 
  }
}

.sidebar.active {
  left: 0;
}

.sidebar .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 5rem;
}

.sidebar li {
  margin: 2.5rem 0;
}

.sidebar a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
}

.sidebar a img {
  width: 24px;
  margin-right: 12px;
}