/* Reset */ * { box-sizing: border-box; margin: 0; padding: 0; } /* Base styles */ body { font-family: 'Andalus', serif; color: #000000; line-height: 1.6; background-color: #FFFFFF; transition: background-color 0.3s ease, color 0.3s ease; } /* Centered Logo */ .logo-container { display: flex; justify-content: center; align-items: center; margin: 1rem 0; } .logo-container img { height: 100px; } /* Navigation Bar */ nav { display: flex; justify-content: space-between; /* links left, button right */ align-items: center; flex-wrap: wrap; background: #90EE90; /* light green */ padding: 1rem 2rem; border-bottom: 1px solid #e2e8f0; /* Sticky */ position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); } /* Navigation Links Group */ .nav-links { display: flex; gap: 1rem; } /* Individual Links */ nav a { text-decoration: none; color: #000000; /* black text */ font-weight: 500; } nav a:hover { text-decoration: underline; } /* Dark Mode Button */ #dark-mode-toggle { background-color: #2563eb; color: white; border: none; padding: 0.5rem 1rem; border-radius: 5px; cursor: pointer; font-weight: 500; } #dark-mode-toggle:hover { background-color: #1e40af; } /* Gallery */ .galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 1rem 0; } .galerie img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform 0.2s; } .galerie img:hover { transform: scale(1.03); } /* Progress Bar */ #balken-container { width: 100%; height: 20px; background-color: #e5e7eb; margin-top: 10px; } #balken { height: 100%; width: 0; background-color: green; border-radius: 5px; transition: width 0.3s ease; } /* Dark Mode */ body.dark { background-color: #121212; color: #e0e0e0; } body.dark header, body.dark nav { background-color: #1e1e1e; } body.dark input, body.dark button { background-color: #333; color: white; border: 1px solid #555; } body.dark #balken-container { background-color: #333; }