header button {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  background-color: #f44336;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

header button:hover {
  background-color: #c41b18;
}

body {
  background-color: #121212;
  color: #fff;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.container {
  /* Existing styles */
  display: flex;

}

.image-cropper-title {
  margin-bottom: 20px;
  position: fixed;
  top: 17vh;
  left: 45%;
}

.container {
  height: 65vh;
  max-width: 90vw;
  margin: 0 auto;
  padding: 20px;
  margin-top: 10vh;
  margin-bottom: 10vh;
  background-color: #2c2c2c;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  display: flex;
}

.left-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.center-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* Added */
  justify-content: center;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.padded-container {
  padding: 20px;
}

.input-section {
  margin-bottom: 20px;
}

#imagePreview {
  max-width: 50vw;
  max-height: 25vh;
  margin-top: 10px;
  position: relative;
  border: 2px solid #000;
  border-radius: 5px;
}

.coords-overlay {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px;
  color: #fff;
  font-size: 14px;
}

.crop-controls {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Added */
  justify-content: center;
}

.crop-inputs {
  display: flex;
  flex-direction: column;
  align-items: center; /* Added */
  justify-content: center;
  margin-bottom: 10px;
}

.crop-inputs .input-group {
  margin-right: 10px;
  margin-bottom: 10px;
}

.image-overlay {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.crop-inputs label {
  display: inline-block;
  width: 30px;
}

.crop-inputs input[type="number"] {
  width: 60px;
  margin-right: 10px;
}

.cropped-image {
  margin-top: 20px;
  text-align: center;
}

#croppedImage {
  max-width: 50vh;
  max-height: 25vh;
  margin-top: 10px;
  border: 2px solid #000;
  border-radius: 5px;
}

#downloadLink {
  display: block;
  margin-top: 10px;
}