/* styles.css */
body {
  font-family: Arial, sans-serif;
  background-color: #ffffff; /* White background */
  color: #000000; /* Black text */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.container {
  background-color: #f9f9f9; /* Light gray container */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  text-align: center;
  width: 100%;
  max-width: 600px;
}

h1 {
  margin-bottom: 20px;
  color: #000000; /* Black text */
}

input, button {
  margin: 10px 0;
  padding: 10px;
  border: 2px solid #FFD700; /* Yellow border */
  border-radius: 5px;
  background-color: #ffffff; /* White background */
  color: #000000; /* Black text */
  font-size: 16px;
  width: 100%;
  max-width: 200px;
}

button {
  cursor: pointer;
  background-color: #FFD700; /* Yellow background */
  color: #000000; /* Black text */
  font-weight: bold;
}

button:hover {
  background-color: #e6b800; /* Darker yellow on hover */
}

.crop-container {
  margin: 20px 0;
  width: 100%;
  max-width: 500px;
  height: 300px;
  overflow: hidden;
}

#image {
  max-width: 100%;
  height: auto;
}

.output {
  margin-top: 20px;
}

#download {
  color: #000000; /* Black text */
  text-decoration: none;
  font-weight: bold;
}

#download:hover {
  text-decoration: underline;
  color: #FFD700; /* Yellow on hover */
}

/* Responsive Design */
@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }

  input, button {
    max-width: 100%;
  }

  .crop-container {
    height: 200px;
  }
}