/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Apply a simple, modern design with a dark theme */
body {
  font-family: 'Arial', sans-serif;
  background-color: #000000; /* Now dark */
  color: #f4f4f4; /* Light text for dark backgrounds */


  align-items: center;
  height: 100vh;

  min-height: 100vh; /* New property to make sure body at least fills the viewport height */
  display: flex;
  flex-direction: column; /* Stacks children vertically */
  justify-content: space-between; /* Places the footer at the end */
}

form {
  background-color: #222; /* Darker than body for contrast */
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Stronger shadow for dark theme */
  width: 100%;
  max-width: 400px;
}

label {
  font-size: 18px;
  color: #f4f4f4; /* Light text for visibility on dark background */
  display: block;
  margin-bottom: 10px;
}

input[type="number"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #555; /* Lighter border for input */
  background-color: #444; /* Dark input field */
  font-size: 16px;
  color: #f4f4f4; /* Light text for dark backgrounds */
}

button {
  cursor: pointer;
  font-size: 16px;
  padding: 10px 20px;
  background-color: #5cb85c; /* Keeping the button color */
  border: none;
  border-radius: 5px;
  color: white;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #449d44; /* Adjusting for hover state as well */
}

.title-container {
  text-align: center;
}
/* Ensure the form retains its own width independent of the title */
#numberForm {
  background-color: #222;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 400px; /* Form width is controlled here */
  margin: auto; /* Centers the form in the middle of the page */
}

#notice {
  padding-left: 0px;
  padding-right: 0px;
}

p {
  padding-left: 20px;
  padding-right: 20px;
}
h1 {
  font-size: 3rem; /* Adjust the size as needed */
  font-family: "Playfair Display", sans-serif;
  color: #ffffff; /* This is assuming you want the title white based on your dark theme */
  margin-top: 150px;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

.footer {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: #222;
  color: #fff;
}

