.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  animation: fadeIn 0.3s ease;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 65%;
  max-width: 400px;
  background-color: #fff;
  z-index: 1050;
  overflow-y: auto;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

.leftDrawer {
  left: 0;
  transform: translateX(-100%);
}

.leftDrawer.open {
  transform: translateX(0);
}

.rightDrawer {
  right: 0;
  width: 69%;
  max-width: 450px;
  transform: translateX(100%);
}

.rightDrawer.open {
  transform: translateX(0);
}

.drawerContent {
  height: 100%;
  padding: 1rem;
}

.closeButton {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  z-index: 10;
  padding: 0.5rem;
  line-height: 1;
}

.closeButton:hover {
  color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .drawer {
    width: 80%;
  }

  .rightDrawer {
    width: 85%;
  }
}

