body {
  font-family: Arial, sans-serif;
}
#drop-area {
  width: 100%;
  max-width: 250px;
  border: 2px dashed #ccc;
  border-radius: 5px;
  padding: 15px;
  text-align: center;
  margin: 0 auto;
  margin-top: 250px;
  cursor: pointer;
}
#drop-area.dragover {
  border-color: #007bff;
}
#preview {
  margin-top: 20px;
  display: flex; /* Added display: flex */
  align-items: center; /* Added align-items: center */
  justify-content: center; /* Added justify-content: center */
}
#preview img {
  max-width: 100%;
  max-height: 100%; /* Added max-height: 100% */
  height: auto;
}