body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.gallery-container {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  text-align: center;
}

.button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  margin: 10px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none; /* Removes underline from anchor tags */
  display: inline-block; /* Aligns buttons properly */
}

#upload-btn {
  /* Additional styling for upload button if needed */
}

#gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.image-item {
  position: relative;
  cursor: pointer;
}

.image-item img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
}

.image-item .button-group {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.delete-btn {
  background-color: #f44336; /* Red color for delete button */
padding: 10px 20px;
  margin: 10px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none; /* Removes underline from anchor tags */
}

.download-btn {
  background-color: #4CAF50; /* Green color for download button */
padding: 10px 20px;
  margin: 10px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none; /* Removes underline from anchor tags */
}

/* Responsive adjustments */
@media (max-width: 800px) {
  #gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  #gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
