body {
    font-family: 'Merriweather', 'Playfair Display', serif;
    margin: 20px;
}

h1 {
    font-size: 35px;
    color: #0d7dd4;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0; /* Removes letter spacing */
}


h2 {
    color: #0d7dd4;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

input, select, button {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    max-width: 300px;
    padding: 12px;
    font-size: 16px;
    border-radius: 50px;
    border: 1px solid #0d7dd4;
    transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

input:focus, select:focus {
    outline: none;
    border-color: #0b6fbb;
    box-shadow: 0 0 10px rgba(13, 125, 212, 0.5);
}

button {
    cursor: pointer;
    background-color: #0d7dd4;
    color: white;
    padding: 10px;
    font-size: 16px;
    border-radius: 50px;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: #0b6fbb;
}

#results {
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    background-color: #e8f4fc; /* Light blue background */
    border: 2px solid #0d7dd4;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
}

#results.show {
    opacity: 1;
    transform: scale(1);
}

#results p {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
    background-color: #f0fdf9;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #0d7dd4;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group label {
    font-size: 18px;
    color: #0d7dd4;
    margin-bottom: 10px;
}

.calculator-container {
    max-width: 600px; /* Wider layout */
    min-height: 500px; /* Added height to make it taller */
    padding: 40px 20px; /* Increased vertical padding for more space inside */
    background-color: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-left: 0;
    margin-top: 20px;
}



button-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
}
