body { font-family: Arial, sans-serif; background-color: #f4f4f4; margin: 0; padding: 0; } .container { max-width: 800px; margin: 0 auto; padding: 20px; background-color: #fff; border-radius: 10px; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); } h1 { text-align: center; color: #333; } .calculator { margin-top: 20px; text-align: center; /* Center-align the calculator content */ } .input-group { margin-bottom: 20px; } label { display: block; margin-bottom: 5px; font-weight: bold; color: #555; } input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; } button { background-color: #3498db; color: #fff; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #258cd1; } #result { font-size: 24px; font-weight: bold; text-align: center; margin-top: 20px; color: #333; }