/* Global Styles */
body {
  background-color: rgba(165, 123, 70, 0.913);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* Main Container */
.container {
  margin: 2rem;
  text-align: center;
  font-weight: bold;
  width: 90%;
  max-width: 350px; /* Limits width on larger screens */
  border-radius: 25px 0px 25px 0px;
  padding: 30px;
  background-color: rgb(92, 188, 143);
  border: 2px solid rgb(109, 93, 93);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Input Fields */
input {
  width: 80%;
  padding: 12px;
  margin: 8px;
  border: 1px solid #555;
  border-radius: 5px;
  font-size: 16px;
}

/* Button Styling */
.button {
  width: 70%;
  padding: 10px;
  background-color: rgb(0, 136, 255);
  border: none;
  border-radius: 0px 25px 0px 25px;
  cursor: pointer;
  font-size: 16px;
  color: white;
  transition: 0.4s ease-in-out;
}

.button:hover {
  background-color: rgba(34, 255, 0, 0.596);
  transition: 0.4s ease-in-out;
}

/* Labels */
label {
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: 400;
}

/* Image Result */
#image_result {
  margin-top: 1rem;
  box-shadow: 0px 0px 15px crimson;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 500px) {
  .container {
    padding: 20px;
    margin: 1rem;
  }

  label {
    font-size: 18px;
  }

  .button {
    font-size: 14px;
    width: 50%;
  }
  input {
    width: 70%;
  }
}
