body {
    font-family: Arial, sans-serif;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

input, select, button {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Hide the up and down arrows on number input fields */
input[type=number] {
    -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

button {
    background: blue;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: darkblue;
}

/* Result display style */
#result {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: 1.5;
}

/* Fixed tax rate input field style */
#taxRate {
    background: #e0e0e0;
    border: 1px solid #ccc;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    cursor: not-allowed;
}

body {
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%; 
    max-width: 1000px;
    margin: 50px auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h2 {
    text-align: center;
    color: #333;
}

input, select, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

#result {
    text-align: center;
    font-size: 1.5rem;
    color: #333;
}

.emoji {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: 100px;
    height: 100px;
}

.credits {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    margin-top: 20px;
}

.credits a {
    color: #0066cc;
    text-decoration: none;
}
