/* Reset */ *, *::before, *::after { box-sizing: border-box; } body, h1, h2, h3, h4, p, ul { margin: 0; padding: 0; } ul { list-style: none; } img { max-width: 100%; display: block; } /* Variables */ :root { --color-link: #718096; --color-link-hover: #2D3748; --color-orange: #f97316; --color-orange-hover: #ea580c; --color-gray-500: #6b7280; --color-gray-700: #374151; --max-width: 56rem; } /* Base */ body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1a1a1a; background: url('/cream_pixels.png') repeat; } hr { border: none; border-top: 1px solid #e5e7eb; margin: 2rem 0; } /* Layout */ .container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; } /* Content flow */ main h1 { font-size: 2.25rem; line-height: 2.5rem; margin: 2rem 0 1rem; } main h2 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; margin: 2rem 0 1rem; } main h3 { font-size: 1.25rem; margin: 0 0 0.5rem; } main p { margin: 0 0 1rem; font-size: 1.1rem; } main ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1rem; } main li { margin-bottom: 0.5rem; } main a { color: #2563eb; text-decoration: none; font-weight: 500; } main a:hover { color: #1d4ed8; text-decoration: underline; } /* Header */ .header { background: white; border-bottom: 1px solid #e2e8f0; margin-bottom: 2rem; } .header-content { max-width: var(--max-width); margin: 0 auto; padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; } .logo img { height: 3rem; } .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; } .nav-menu ul { display: flex; gap: 1.5rem; align-items: center; } .nav-menu a { color: var(--color-gray-500); text-decoration: none; font-weight: 500; padding: 0.25rem 0; border-bottom: 2px solid transparent; transition: color 0.2s ease-in-out; } .nav-menu a:hover { color: var(--color-gray-700); border-bottom-color: var(--color-gray-700); } .nav-menu a.active { border-bottom-color: var(--color-gray-500); } @media (max-width: 768px) { .nav-toggle { display: block; } .nav-menu { display: none; width: 100%; } .nav-menu.open { display: block; } .nav-menu ul { flex-direction: column; gap: 0.75rem; padding-top: 1rem; } } /* Footer */ .footer { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem 2rem; } .footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; } .footer-links a { display: flex; align-items: center; gap: 0.25rem; color: var(--color-link); text-decoration: none; font-weight: 500; } .footer-links a:hover { color: var(--color-link-hover); } /* Hero */ .hero h1 { margin-top: 0; } .hero h2 { font-size: 1.25rem; font-weight: normal; } /* Buttons */ .btn { display: inline-block; background: var(--color-orange); color: white; font-weight: bold; padding: 1rem 1.5rem; border-radius: 0.25rem; text-decoration: none; text-align: center; transition: background-color 0.2s; } .btn:hover { background: var(--color-orange-hover); color: white; text-decoration: none; } /* CTA row: stacked on mobile, side-by-side on wider screens */ .cta-row { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; } .cta-row .btn { font-size: 1.25rem; } @media (min-width: 768px) { .cta-row { flex-direction: row; } .cta-row .btn { flex: 1; } } /* Card grid — columns fit to container width */ .grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 1rem; } .card { background: white; border-radius: 0.5rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); padding: 1.5rem; } .card h3 { font-size: 1.1rem; } .card p { font-size: 0.9rem; color: var(--color-gray-700); } .card p:last-child { margin-bottom: 0; } .card .btn { font-size: 0.9rem; margin-top: 0.7rem; padding: 0.8rem 1rem; } /* Sponsors */ .sponsors { display: flex; gap: 2rem; margin: 2rem 0; } .sponsors img { max-height: 60px; width: auto; opacity: 0.5; transition: opacity 0.2s; } .sponsors img:hover { opacity: 0.75; } /* Donation options: side-by-side, stacked on mobile */ .donation-options { display: flex; gap: 2rem; } .donation-options > div { flex: 1; } @media (max-width: 768px) { .donation-options { flex-direction: column; } } /* Forms */ .form-group { margin-bottom: 1rem; } .form-group label { display: block; font-size: 0.875rem; margin-bottom: 0.5rem; } .form-input, .form-textarea { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #d1d5db; border-radius: 0.25rem; font-size: 1rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); } .form-input:focus, .form-textarea:focus { outline: none; border-color: var(--color-orange); box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2); } .form-textarea { min-height: 6rem; resize: vertical; } .form-row { display: flex; gap: 0.5rem; align-items: center; } .form-row .form-input { max-width: 200px; } .form-submit { background: var(--color-orange); color: white; font-weight: bold; padding: 0.5rem 1.5rem; border: none; border-radius: 0.25rem; cursor: pointer; transition: background-color 0.2s; } .form-submit:hover { background: var(--color-orange-hover); } /* Code of Conduct page */ .markdown-body h1 { padding-bottom: 0.5rem; border-bottom: 1px solid #e5e7eb; } .markdown-body a { color: var(--color-orange); } /* Events page */ .events-list { list-style: none; padding-left: 0; } .event { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; padding: 0.5rem 0; border-bottom: 1px solid #e5e7eb; } .events-list li:last-child { border-bottom: 0; } .event a { color: var(--color-orange); font-weight: 600; text-decoration: none; } .event a:hover { text-decoration: underline; } .event-date, .event-location { color: var(--color-gray-500); font-size: 0.95rem; }