/* ===========================================================================
   www.slimpinball.org - the stylesheet of the site on a desktop

   The page links this file for a screen wider than 800 pixels and mobile.css
   for anything narrower, so a desktop loads this file and never applies
   mobile.css. These are the only two stylesheets of the site, and no page
   carries styles of its own (docs/plan.txt, section 3).

   A change to anything the two share has to be made in mobile.css as well.

   Font sizes are five, and no others are used:
       12px   fine print
       13px   the text of controls
       15px   the text of a page
       20px   a heading inside a page (h2)
       26px   the heading of a page (h1)

   Contents
     1. Colors
     2. The page, its header and footer
     3. The words and pictures of a page
   =========================================================================== */


/* 1. Colors ---------------------------------------------------------------- */

:root {
	--back: #101418;
	--panel: #181e24;
	--line: #2a333c;
	--text: #d8dee4;
	--quiet: #8a96a2;
	--accent: #3cc8dc;
	--accent-hover: #7ee0ee;
}


/* 2. The page, its header and footer --------------------------------------- */

html, body {
	margin: 0;
	padding: 0;
	background: var(--back);
	color: var(--text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

#page {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 24px;
}

#header {
	display: flex;
	align-items: baseline;
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

#logo {
	color: var(--accent);
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 1px;
	text-decoration: none;
}

#breadcrumb {
	font-size: 13px;
	color: var(--quiet);
}

#breadcrumb a {
	color: var(--quiet);
	text-decoration: none;
}

#breadcrumb a + a::before {
	content: "/";
	margin: 0 8px;
	color: var(--line);
}

#breadcrumb a:hover {
	color: var(--accent-hover);
}

#content {
	padding: 24px 0 48px;
	min-height: 60vh;
}

#footer {
	padding: 20px 0 32px;
	border-top: 1px solid var(--line);
	color: var(--quiet);
	font-size: 12px;
}


/* 3. The words and pictures of a page -------------------------------------- */

h1 {
	font-size: 26px;
	margin: 0 0 12px;
}

h2 {
	font-size: 20px;
	margin: 32px 0 8px;
}

p {
	margin: 0 0 16px;
}

a {
	color: var(--accent);
}

a:hover {
	color: var(--accent-hover);
}

.lead {
	color: var(--quiet);
}

.picture {
	margin: 24px 0;
}

.picture img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--line);
	border-radius: 6px;
}
