body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #1e3c72, #2a5298);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(to right, #ff6b6b, #ff9f43);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 2s ease-in-out;
    margin-bottom: 20px;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.main {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

.calculator-container {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

label {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 10px;
}

input {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

.submit-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #5d13d4;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, transform 0.3s;
}

.submit-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.results {
    margin-top: 20px;
    text-align: left;
    width: 100%;
}

.results h2 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #333333;
}

.results p {
    margin: 8px 0;
    font-size: 1em;
    color: #555555;
}