body {
   font-family: 'Patrick Hand', cursive;
   margin: 0;
   padding: 0;
   background-color: #222;
   color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
}

h1 {
width: 100%;
text-align: center;
}

#cropIcon {
position: fixed;
top: 20px;
left: 20px;
color: #009e2d;
font-size: 24px;
}

#cropIcon:hover {
color: #01601c;
}
.container {
  background: #000000; /* Pure black background */
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin: 20px auto;
  width: 90%;
  max-width: 500px;
  border: none;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.3); /* Greenish box shadow */
}

.container > * {
  margin-bottom: 20px;
}

.container > *:last-child {
  margin-bottom: 0;
}

.container label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.container input[type="number"],
.container select {
  background-color: #1a1a1a; /* Darker background for inputs */
  color: white;
  border: 1px solid #333;
  border-radius: 5px;
  height: 40px;
  padding: 5px 10px;
  margin: 5px 0;
  width: 100%;
  font-size: 16px;
  box-sizing: border-box; /* Add this line */
}

.container .input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.container .input-group input {
  width: calc(50% - 5px); /* Adjust for the space between inputs */
}

.container button {
  background-color: #009e2d;
  color: white;
  border-radius: 5px;
  border: none;
  padding: 12px 0;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s, transform 0.1s;
  width: 100%; /* Ensuring full width */
}

.container button:hover {
  background-color: #015117;
  transform: translateY(-2px);
  box-shadow: 0 0px 10px rgb(234, 235, 234, 0.7);
}

.container button:active {
  transform: translateY(0);
}

.dropzone {
  border: 2px dashed #888;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ddd;
}

.dropzone:hover {
  border-color: #4CAF50;
  background-color: rgba(76, 175, 80, 0.2);
}

#file-input {
  display: none;
}

#resized-images {
  margin-top: 20px;
}

#resized-images img {
  margin: 10px;
  max-width: 100%;
}

#chrome-icons-button {
  margin-top: 10px;
}

#multiple-folders-button {
  margin-top: 10px;
}

#set-dpi,
#format-select {
  margin-bottom: 15px;
}

#original-dimensions,
#custom-image-size,
#custom-image-dpi {
  font-size: 16px;
  margin: 10px 0;
}

#original-dimensions {
  color: #4CAF50;
}

#custom-image-size {
  color: #FFC107;
}

.loading-indicator {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-radius: 50%;
  border-top-color: #4CAF50;
  animation: spin 1s infinite linear;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1000;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

footer {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

footer p {
  font-size: 14px;
  color: #888;
}

#set-dpi {
  width: 100%;
  max-width: none;
}