body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden; /* Prevent scrolling */
}

.background {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #f0f0f0; /* Color for the top half of the page */
  z-index: -1; /* Place the background behind other elements */
}

.drag-here {
  position: fixed;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #000; /* Text color */
  font-size: 18px;
  font-weight: bold;
  z-index: 1; /* Place the text above the background */
}

.draggable {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  margin: 10px;
  cursor: grab;
  user-select: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2; /* Place the draggable element above the background and text */
}

#area1 {
  left: 20%; /* Adjust the position to the left */
  background: linear-gradient(to right, #ff5858, #f857a6);
}

#area2 {
  left: 60%; /* Adjust the position to the right */
  background: linear-gradient(to right, red, green, blue);
}

.box-title {
  color: #fff;
  text-align: center;
  font-size: 20px;
}

#supportDiv {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #f1f1f1;
  padding: 10px;
  cursor: pointer;
  transition: width 0.3s, border-radius 0.3s; /* Add border-radius to the transition */
  font-size: 14px; /* Adjust the font size as needed */
  border-top-right-radius: 10px; /* Add rounded corners */
  border-bottom-right-radius: 10px; /* Add rounded corners */
}

.supportContent {
  display: none;
  font-family: 'Arial', sans-serif; /* Change the font family to one you prefer */
}

#supportDiv.open {
  width: 200px; /* Adjust the width as needed */
  border-top-right-radius: 0; /* Remove rounded corners when open */
  border-bottom-right-radius: 0; /* Remove rounded corners when open */
}

#supportDiv.open .supportContent {
  display: block;
  animation: fadein 0.5s; /* Add fadein animation */
}

#supportDiv:not(.open) .supportContent {
  animation: fadeout 0.5s; /* Add fadeout animation when closing */
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeout {
  from { opacity: 1; }
  to { opacity: 0; }
}
