body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: center;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    color: #000000;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

label {
    color: #dcdbdd;
    font-weight: bold;
    text-align: left;
    display: block;
    margin-bottom: 5px;
}

.calculator {
    background-color: rgba(40, 151, 95, 0.9);
    border-radius: 10px;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
    box-shadow: 0 4px 6px rgba(64, 84, 110, 0.1);
    transition: box-shadow 0.3s ease-in-out;
    width: 400px;
    text-align: center;
}

.calculator:hover {
    box-shadow: 0 8px 12px rgba(48, 105, 185, 0.2);
}

input,
select {
    margin-bottom: 10px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 3px solid #cccccc;
    border-radius: 8px;
    transition: border-color 0.3s ease-in-out;
}

input:focus,
select:focus {
    border-color: #332b91;
    outline: none;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

button {
    padding: 12px;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(90deg, #1ad236, #2e9fb3);
    color: rgb(14, 6, 6);
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 100%;
    font-weight: bold;
}

button:hover {
    background: linear-gradient(90deg, #bc2941, #5e3eb7);
    transform: scale(1.05);
}

.result-container {
    margin-top: 10px;
    font-weight: bold;
    color: #000000;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .calculator {
        width: 90%;
    }

    input {
        width: 100%;
    }

    button {
        width: 100%;
    }
}