body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
    background: linear-gradient(135deg, #153677, #4e085f);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#calculator {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

#heading h1 {
    margin: 0;
    font-size: 2em;
}

.animated-heading {
    display: inline-block;
    animation: bounce 3s;
}

.animated-heading:hover {
    animation: bounce 3s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.outer-content {
    margin-top: 20px;
}

.content {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.content:hover {
    transform: translateY(-10px);
}

input[type="number"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
    font-size: 1em;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

#button {
    background-color: #153677;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#button:hover {
    background-color: #092660;
}

#result {
    margin-top: 20px;
}

#resultb {
    font-size: 1.5em;
    color: #ffcc00;
}
