@charset 'utf-8';

:root {
	--background-color: white;
	--text-color: black;
	--dt-color: #333;
	--h2-color: #666;
}

/*
@media (prefers-color-scheme: dark) {
	:root {
		--background-color: hsl(0, 0%, 10%);
		--text-color: white;
		--dt-color: hsl(0, 0%, 70%);
	}
}
*/

html {
	background: var(--background-color);
}

body {
	color: var(--text-color);
	font: 13px system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Verdana, sans-serif;
	max-width: 750px;
	margin: 20px auto;
	padding: 0 2em;
}

h1, h2 {
	font-weight: bold;
}

h1 {
	font-size: 2rem;
	color: #669;
}

h2 {
	color: #666;
}

h3, h4 {
	color: #333;
}

kbd, code {
	font: 13px Courier, monospace;
}

:link {
	color: #669;
}

:visited {
	 color: #666;
}

:link:hover {
	color: #336;
}

:visited:hover {
	color: #333;
}

:link:active, :visited:active {
	color: #900;
}

:link img, :visited img {
	border: none;
}

.screenshots img { vertical-align: middle; }

a.screenshot-link {
	display: inline-block;
}

a.screenshot-link > img {
	cursor: zoom-in;
	vertical-align: middle;
	border-radius: 4px;
	border: 1px solid hsla(0, 0%, 0%, 0.7);
	box-shadow: 0px 20px 40px hsla(0, 0%, 0%, .6);
}

.hash {
	color: #666;
}

header {
	display: block;
}

footer, #footer {
	display: block;
	font-size: smaller;
	border-top: 1px solid #eee;
	margin-top: 2em;
	color: #666;
	text-align: center;
	clear: both;
}

footer p {
	text-align: center;
}

/* lists */

dt {
	color: var(--dt-color);
	font-weight: bold;
}

dd {
	text-indent: 2em;
}

.screenshot {
	display: block;
	margin: auto;
}

p.code {
	padding-left: 1em;
	border-left: 1px solid #666;
	white-space: pre;
	font: .9em monospace;
	overflow: auto;
}

/* Paparazzi! */

nav ul {
	float: right;
	border: 1px solid #eee;
	width: 200px;
	font-size: 13px;
	padding: 0;
	margin: 0 0 1em;
	display: block;
}

nav li {
	list-style-type: none;
	vertical-align: middle;
}

nav li :link, nav li :visited {
	color: #669;
	display: block;
	width: 180px;
	height: 100%;
	padding: 2px 10px;
	text-decoration: none;
}

nav li :link:hover, nav li :visited:hover {
	color: white;
	background: #669;
}

nav li.separator, nav li.separator:hover {
	padding: 0;
	height: 0;
	background: transparent;
	margin: 2px 1px;
}

nav li :link .requiredos, nav li :visited .requiredos {
	display: inline;
	color: #666;
}

nav li :link:hover .requiredos, nav li :visited:hover .requiredos {
	display: inline;
	color: white;
}

code {
	color: #666;
}

dl {
	margin-left: 2em;
}

dd {
	margin: 1em 0;
}

.separator {
	height: .2em;
	border-bottom: 1px solid #eee;
	margin: 1ex 0;
}

#content {
	width: 500px;
}

.version {
	font-size: 0.7em;
	color: #666;
}

:target {
	outline: 1px #eef solid;
	background: #f8f8ff;
}

h1 :link, h1 :visited {
	text-decoration: inherit;
	color: inherit;
}

h1 :link:hover, h1 :visited:hover {
	color: #336;
}

#props, #requirements {
	clear: both;
	float: right;
	width: 200px;
	text-align: center;
	padding: 0;
}

#requirements {
	text-align: justify;
}

#requirements p {
	text-align: left;
	font-size: 11px;
}

#props li {
	list-style-type: none;
	margin: 1ex 0;
}

#props .note {
	font-size: 9px;
	line-height: 9px;
	color: #999;
}

form {
	width: 95%;
	margin: auto;
	background: #f8f8f8;
	padding: 8px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

label.required:after {
	content: ' (required)';
	color: #666;
	font-size: smaller;
}

input[type=text], input[type=email], input[type=url], textarea {
	display: block;
	width: 99%;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: -1ex;
	border: 1px solid #ccc;
	padding: 2px;
	border-top-color: #999;
}

input[type=submit] {
	display: inline-block;
	width: 60px;
	clear: both;
}

.mac-app-store {
	text-align: center;
	margin-bottom: 3em;
}