Changed around line 1
+ :root {
+ --primary: #4CAF50;
+ --primary-dark: #388E3C;
+ --secondary: #FF9800;
+ --light: #FAFAFA;
+ --dark: #212121;
+ --gray: #757575;
+ --light-gray: #E0E0E0;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
+ }
+
+ body {
+ background-color: var(--light);
+ color: var(--dark);
+ line-height: 1.6;
+ }
+
+ header.hero {
+ background: linear-gradient(135deg, var(--primary), var(--primary-dark));
+ color: white;
+ padding: 2rem 1rem;
+ text-align: center;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 1rem;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ transition: opacity 0.3s;
+ }
+
+ .nav-links a:hover {
+ opacity: 0.8;
+ }
+
+ .hero-content {
+ max-width: 800px;
+ margin: 3rem auto;
+ }
+
+ .hero-content h1 {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .hero-content p {
+ font-size: 1.2rem;
+ margin-bottom: 2rem;
+ opacity: 0.9;
+ }
+
+ .primary-button {
+ background-color: white;
+ color: var(--primary);
+ padding: 0.8rem 1.5rem;
+ border-radius: 50px;
+ text-decoration: none;
+ font-weight: bold;
+ display: inline-block;
+ transition: all 0.3s;
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ }
+
+ section {
+ margin-bottom: 3rem;
+ }
+
+ h2 {
+ font-size: 1.8rem;
+ margin-bottom: 1.5rem;
+ color: var(--dark);
+ }
+
+ .stats-container {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
+ gap: 1rem;
+ margin-bottom: 2rem;
+ }
+
+ .stat-card {
+ background: white;
+ border-radius: 8px;
+ padding: 1.5rem;
+ text-align: center;
+ box-shadow: 0 2px 4px rgba(0,0,0,0.05);
+ }
+
+ .stat-card h3 {
+ font-size: 2rem;
+ color: var(--primary);
+ }
+
+ .stat-card p {
+ color: var(--gray);
+ }
+
+ .intake-form {
+ background: white;
+ border-radius: 8px;
+ padding: 1.5rem;
+ margin-bottom: 2rem;
+ box-shadow: 0 2px 4px rgba(0,0,0,0.05);
+ }
+
+ .form-group {
+ margin-bottom: 1rem;
+ }
+
+ label {
+ display: block;
+ margin-bottom: 0.5rem;
+ color: var(--gray);
+ }
+
+ input {
+ width: 100%;
+ padding: 0.8rem;
+ border: 1px solid var(--light-gray);
+ border-radius: 4px;
+ font-size: 1rem;
+ }
+
+ .food-list {
+ background: white;
+ border-radius: 8px;
+ padding: 1.5rem;
+ box-shadow: 0 2px 4px rgba(0,0,0,0.05);
+ }
+
+ .food-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem 0;
+ border-bottom: 1px solid var(--light-gray);
+ }
+
+ .food-item:last-child {
+ border-bottom: none;
+ }
+
+ .delete-btn {
+ background: none;
+ border: none;
+ color: var(--gray);
+ font-size: 1.2rem;
+ cursor: pointer;
+ transition: color 0.3s;
+ }
+
+ .delete-btn:hover {
+ color: var(--primary);
+ }
+
+ .food-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
+ gap: 1rem;
+ }
+
+ .food-card {
+ background: white;
+ border-radius: 8px;
+ padding: 1.5rem;
+ text-align: center;
+ box-shadow: 0 2px 4px rgba(0,0,0,0.05);
+ transition: transform 0.3s;
+ cursor: pointer;
+ }
+
+ .food-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .food-card h3 {
+ margin-bottom: 0.5rem;
+ }
+
+ .chart-container {
+ background: white;
+ border-radius: 8px;
+ padding: 1.5rem;
+ box-shadow: 0 2px 4px rgba(0,0,0,0.05);
+ }
+
+ footer {
+ background: var(--dark);
+ color: white;
+ padding: 2rem 1rem;
+ text-align: center;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .footer-links {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ margin-bottom: 1.5rem;
+ }
+
+ .footer-links a {
+ color: white;
+ text-decoration: none;
+ }
+
+ .footer-links a:hover {
+ text-decoration: underline;
+ }
+
+ @media (max-width: 768px) {
+ nav {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .nav-links {
+ flex-wrap: wrap;
+ justify-content: center;
+ }
+
+ .hero-content h1 {
+ font-size: 2rem;
+ }
+
+ .stats-container {
+ grid-template-columns: 1fr 1fr;
+ }
+
+ .food-grid {
+ grid-template-columns: 1fr 1fr;
+ }
+ }
+
+ @media (max-width: 480px) {
+ .stats-container {
+ grid-template-columns: 1fr;
+ }
+
+ .food-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .footer-links {
+ flex-direction: column;
+ gap: 0.5rem;
+ }
+ }