Changed around line 1
+ :root {
+ --primary-color: #4CAF50;
+ --secondary-color: #45a049;
+ --background-color: #f4f4f4;
+ --text-color: #333;
+ --border-color: #ddd;
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ main {
+ max-width: 800px;
+ margin: 2rem auto;
+ padding: 1rem;
+ background: white;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+ border-radius: 8px;
+ }
+
+ .ingredient {
+ display: flex;
+ gap: 1rem;
+ margin-bottom: 1rem;
+ }
+
+ .ingredient input {
+ flex: 1;
+ padding: 0.5rem;
+ border: 1px solid var(--border-color);
+ border-radius: 4px;
+ }
+
+ .remove-ingredient {
+ background-color: #ff4444;
+ color: white;
+ border: none;
+ border-radius: 50%;
+ width: 30px;
+ height: 30px;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .remove-ingredient:hover {
+ background-color: #cc0000;
+ }
+
+ #add-ingredient {
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.5rem 1rem;
+ border-radius: 4px;
+ cursor: pointer;
+ margin-bottom: 1rem;
+ }
+
+ #add-ingredient:hover {
+ background-color: var(--secondary-color);
+ }
+
+ button[type="submit"] {
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.75rem 1.5rem;
+ border-radius: 4px;
+ cursor: pointer;
+ width: 100%;
+ }
+
+ button[type="submit"]:hover {
+ background-color: var(--secondary-color);
+ }
+
+ #result {
+ text-align: center;
+ margin-top: 2rem;
+ padding: 1rem;
+ background-color: var(--background-color);
+ border-radius: 8px;
+ }
+
+ #total-cost {
+ color: var(--primary-color);
+ font-weight: bold;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 600px) {
+ .ingredient {
+ flex-direction: column;
+ }
+
+ .ingredient input {
+ width: 100%;
+ }
+ }