body {
    font-family: Arial, sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://picsum.photos/500/?random");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.calculator {
    width: 350px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #fff;
    margin-top: 0;
    text-align: center;
}

.input-group {
    margin-bottom: 15px;
}

.label-group {
    display: flex;
    justify-content: space-between;
}

label {
    width: 40%;
    color: #fff;
}

input {
    width: calc(60% - 10px);
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.button-group {
    display: flex;
    justify-content: space-between;
}

button {
    width: calc(50% - 5px);
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

#result {
    color: #fff;
    margin-top: 10px;
    text-align: center;
}

.footer {
    color: #fff;
    padding: 10px 0;
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.footer p {
    margin: 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}