:root {
	--header-height: 3rem;
	--bitcoin-orange: #F7931A;
	--bitcoin-gray: #4D4D4D;
}
* {
	box-sizing: border-box;
}
html {
	width: 100vw;
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
}
body {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: auto;
	font-size: 12pt;
	color: var(--bitcoin-gray);
}
header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 0 1em;
	position: sticky;
	background: white;
	top: 0;
	font-size: 12pt;
	height: var(--header-height);
	border-bottom: solid thin;
}
nav ul,
footer ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	padding: 0;
	list-style-type: none;
	gap: 0 1em;
}
footer {
	background: gray;
}
section {
	width: 100vw;
	min-height: calc(100vh - var(--header-height)); 
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
}
h1 {
	font-size: 7vw;
}
h2 {
	margin: 0;
	font-size: 6vw;
	text-align: center;
}
h3 {
	font-size: 120%;
}
h1, h2 {
	margin-top: 0;
	margin-bottom: 0;
	background: #fff8;
	width: 100%;
	text-align: center;
	border-top: solid medium white;
	border-bottom: solid medium white;
}
a {
	font-weight: bold;
	text-decoration: underline solid;
	color: inherit;
}
a::after {
	vertical-align: super;
	font-size: 80%;
}
a[href^="http://"]:not(:has(img)):not([href*="//linkerhand.net"]),
a[href^="https://"]:not(:has(img)):not([href*="//linkerhand.net"]) {
}
a[href^="http://"]:not(:has(img)):not([href*="//linkerhand.net"])::after,
a[href^="https://"]:not(:has(img)):not([href*="//linkerhand.net"])::after {
	content: "↗";
}
a[href^="mailto:"]:not(:has(img))::after {
	content: "📧";
}
a[href^="lightning:"]:not(:has(img))::after {
	content: "⚡";
}
a[href^="bank:"]:not(:has(img))::after {
	content: "🏦";
}
ul {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	text-align: justify;
}
dl dt {
	font-weight: bold;
}
img.textlogo {
	height: .8em;
	vertical-align: baseline;
	margin-bottom: -.02em;
}
a img.textlogo {
	display: inline-block;
	height: .9em;
	vertical-align: text-bottom;
	padding-bottom: .1em;
	margin-bottom: .17em;
	box-shadow: inset 0 -.05em 0 currentColor;
}

ul.gallery {
	margin: 1em;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	padding: 0;
	list-style-type: none;
	gap: 1em;
}
ul.gallery li {
	background: white;
	max-width: min(100%, 40em);
	max-height: min(100%, 30em);
	box-shadow: 0 0 0.2em white;
	border-radius: 1em;
	overflow: hidden;
	padding: .2em;
}
ul.gallery img {
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

#menu-open, 
#menu-close {
	display: none;
}
@media (max-width: 25em) {
	#menu-open {
		display: inherit;
	}
	#menu:target ~ #menu-open {
		display: none;
	}
	#menu:target ~ #menu-close {
		display: inherit;
	}
	#menu:target ~ ul.menu {
		display: flex;
		height: auto;
	}
	ul.menu {
		display: none;
		position: absolute;
		top: 0;
		right: 0;
		margin-top: var(--header-height);
		padding: 1em;
		height: 0;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		flex-wrap: nowrap;
		background: #fffe;
	}
}
ul.references {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	align-content: center;
	list-style-type: none;
	margin: 0;
	padding: 0;
	gap: 1em;
}
ul.references li {
	padding: 1em;
	border-radius: 1em;
	background: white;
	box-shadow: 0 0 0.2em white;
}
.references img {
	height: 4em;
	max-width: 100%;
	vertical-align: middle;
}
section.cover {
	page-break-inside: avoid;
}
section.cards,
section > div.cards {
	display: flex;
	min-height: auto; 
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: center;
	align-items: stretch;
	padding: 1em;
}
.cards > * {
	page-break-inside: avoid;
}
section.cards > article,
section > div.cards > div {
	max-width: 50em;
	background-color: white;
	background-image: linear-gradient(white, #eee);
	box-shadow: 0 0 .5em var(--bitcoin-gray);
	border: solid thin;
	border-radius: 1em;
	padding: .5em;
	hyphens: auto;
	}
section > div.cards > div p,
section > div.cards > div ul {
	text-align: justify;
}
section > div.cards > div h3 ~ img {
	max-width: 50%;
	max-height: 30em;
	float: right;
	margin-left: 0.5em;
	border: solid thin;
}
ul.cards {
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
	list-style-type: none;
	gap: 1em;
}
ul.cards li {
	margin: 0;
	padding: 0;
	text-align: center;
}
figure {
	margin: 0;
}
figure img.qrCode {
	border: solid thin;
	width: 20em;
	vertical-align: middle;
}
figure figcaption {
	text-align: center;
}
