body, div, input, li, p, span, td, textarea {
    font-family: arial, helvetica, sans-serif;
    font-size: 16px;
}

.calculator-container {
    background-color: white;
    width: 80%; /* Set the width to 80% */
    max-width: 400px; /* and maximum width to 400px */
    margin: 20px auto;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 5px #ccc;
}

.input-container {
    display: flex;
    justify-content: center; /* Align items in the center horizontally */
    align-items: center;
    margin-bottom: 10px;
}

.input-container label {
    width: 40%; /* Unchanged */
    text-align: right;
    margin-right: 4%; /* Decrease margin to separate label from input */
}

.input-container input, .input-container select {
    width: 46%; /* Increase the width of the input field */
    padding: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    border: 1px solid #cfd1d8;
    border-radius: 3px;
    outline: none;
    margin-right: 10%;
}

.input-container input::placeholder, .input-container select::placeholder {
    font-size: 0.8em; /* Reduce the size of the placeholder text */
}

#button-container {
    display: flex;
    justify-content: center; /* Align buttons to the center */
    margin-top: 20px;
}

#button-container button {
    padding: 10px;
    border: 0;
    color:#fff;
    font-size:16px;
    background:#084288;
    border-radius: 3px;
    margin: 0 10px; /* Add horizontal margin to the buttons */
}

#button-container button:hover {
    background-color: #434c6d;
}

#result {
    text-align: center;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 10px;
}


table {
    table-layout:auto;
    width: 100%;
  }
  .results-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.results-col {
    flex: 1;
    text-align: center;
}