/* Ensure the form is centered on the page */
.container {
  margin: 0 auto;
  max-width: 100%;
}

/* Adjust the width of the input fields to fit the container */
input[type="number"] {
  width: 30%;
  box-sizing: border-box; /* Ensure padding and border are included in the width */
}

/* Increase padding on smaller screens */
@media only screen and (max-width: 600px) {
  .container {
    padding: 10px;
  }

  input[type="number"] {
    padding: 6px;
  }

  button {
    padding: 8px 16px;
  }
}

/* Adjust font size for smaller screens */
@media only screen and (max-width: 400px) {
  input[type="number"] {
    font-size: 14px;
  }

  button {
    font-size: 14px;
  }

  .result {
    font-size: 16px;
  }
}
