html {
    background-color: #eeeeee;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 100%;
    text-align: center;
}

body {
    background-color: white;
    margin: auto;
    width: 600px;
    height: auto; /* Allow body to expand as needed */
    border: 6px solid #B22222;
    text-align: center;
    padding: 20px;
    box-sizing: border-box; /* Ensure padding is inside the border */
}

h1, h2 {
    color: #B22222;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 200%;
    margin: 0px;
    text-align: center;
    padding-bottom: 10px; /* Adds spacing below h1 */
}

h2 {
    margin: 20px 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="number"], button {
    font-size: 16px;
    padding: 10px;
    margin: 5px; /* Reduce margin for better spacing */
    width: 80px; /* Set fixed width for uniform size */
    max-width: 80px;
    border: 2px solid #B22222;
    border-radius: 5px;
    background-color: #fff8f0; /* Light background */
    color: black; /* Standard text color */
    transition: all 0.3s ease;
}

    input[type="number"]:focus, button:hover {
       /* background-color: #B22222;*/
       color:black;
        border-color: white;
    }

#results {
    margin-top: 20px;
    font-size: 1.2em;
    color: #333;
}

/* Flexbox for input alignment */
.input-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between input fields */
    flex-wrap: wrap; /* Allow inputs to wrap if screen size is small */
    margin-bottom: 20px;
}
