/* ===== Base Reset ===== */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.6; background-color: var(--bg); color: var(--fg); padding: 0 1rem; /* layout */ max-width: 800px; margin: 0 auto; } /* ===== Typography ===== */ h1, h2, h3, h4 { line-height: 1.3; font-weight: 600; margin: 1.5rem 0 0.75rem; } p { margin-bottom: 1.3rem; } /* ===== Images ===== */ img { max-width: 100%; height: auto; border-radius: 5px; } /* ===== Navigation ===== */ nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; flex-wrap: wrap; } nav a { margin: 0.5rem; } .home { font-size: 24px; text-decoration: none; } .toggle-button { font-size: 24px; border: none; background-color: var(--bg); cursor: pointer; } .toggle-button:hover { transform: scale(1.2); } /* .search-container { */ /* text-align: center; */ /* } */ #search { width: 100%; background-color: var(--bg); color: var(--fg); } /* #results li { */ /* list-style: none; */ /* padding: 20px; */ /* font-size: 1.2rem; */ /* } */ footer { padding-bottom: 20px; text-align: center; } /* ===== Responsive ===== */ @media (min-width: 768px) { body { padding: 0 2rem; } nav { flex-wrap: nowrap; } }