/* Apply the Merriweather Black font */
.merriweather-black {
  font-family: "Merriweather", system-ui;
  font-weight: 900;
  font-style: normal;
}

.merriweather-black-italic {
  font-family: "Merriweather", system-ui;
  font-weight: 900;
  font-style: italic;
}

/* General Body Styling */
body {
    font-family: 'Merriweather', system-ui;
    margin: 20px;
    background-color: #f4f9fc;
}

h1, h2 {
    font-family: "Merriweather", system-ui;
    font-weight: 900;
    letter-spacing: 2px;
}

h1 {
    font-size: 35px;
    color: #0d7dd4;
    margin-bottom: 20px;
}

h2 {
    font-size: 25px;
    color: #0d7dd4;
    margin-bottom: 20px;
}

input, button {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    max-width: 300px;
    padding: 10px;
    font-size: 16px;
}

input {
    border: 1px solid #0d7dd4;
    border-radius: 10px;
}

button {
    cursor: pointer;
    background-color: #0d7dd4;
    color: white;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0b6fbb;
}

.calculator-container {
    background-color: #e6f2fa;
    border: 2px solid #0d7dd4;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto; /* Center the container */
}

.input-group {
    margin-bottom: 20px;
}

.results-container {
    background-color: #e6f2fa;
    border: 2px solid #0d7dd4;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
}

#results p {
    padding: 10px;
    background-color: #f4f9fc;
    border: 1px solid #0d7dd4;
    border-radius: 10px;
    margin-bottom: 10px;
}

#loanSection .input-group {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #0d7dd4;
    border-radius: 10px;
}

#loanSection .input-group input {
    margin-bottom: 15px;
}

.button-group {
    margin-top: 20px;
}
