* { box-sizing: border-box; }
:root {
	font-family: sans-serif;
	--bg: #ddd;
	--fg: #111;
	background: var(--bg);
	color: #555;
}
body {
	display: flex;
	flex-direction: column;
	place-items: center;
	justify-content: space-evenly;
}
h1, h2, h3, em, strong, code {
	color: var(--fg);
	font-style: normal;
}
picture:first-of-type {
	float: right;
	margin: 0 2rem;
}
a {
	color: #66a;
}
a:hover {
	text-decoration: none;
}
div {
	display: flex;
	gap: 1rem;
	justify-content: space-evenly;
	place-items: center;
}
div div {
	display: block;
}
div ul {
	border: 1px solid #777;
	border-radius: 1rem;
	padding: 1rem 3rem;
}
div p {
	margin: 1em;
}
li {
	max-width: 50rem;
	margin-left: -1rem;
	margin-right: 1rem;
	text-align: justify;
}
ul:first-of-type li::marker {
	color: #c90;
}
ul:nth-of-type(2) li::marker {
	color: #c90;
}
p {
	text-align: justify;
}

hr {
	width: 100%;
	opacity: .3;
	clear: both;
}
footer, section:not(:first-of-type) {
	padding: 1rem;
	width: 100%;
}
section.vid {
	display: flex;
	gap: 1rem;
	justify-content: space-evenly;
	place-items: center;
	padding: 1rem 0;
	max-width: 100vw;
}
	section.vid img {
		max-width: 100%;
		max-height: 315px;
	}
	section.vid details {
		max-width: 560px;
		background: black;
	}
	section.vid details iframe {
			max-width: 100vw;
		}
	section.vid details[open] summary {
		display: none;
	}
	section.vid summary {
		max-width: 560px;
		height: 315px;
		display: grid;
		place-items: center;
	}
	section.vid summary::before, section.vid summary * {
			grid-area: 1/1;
		}
	section.vid summary::before {
			content: "▶";
			color: white;
			width: 2em;
			height: 2em;
			line-height: 2em;
			text-align: center;
			background: rgba(0,0,0,.5);
			border-radius: 50%;
			font-size: 2.5rem;
			z-index: 20;
			display: block;
		}
section>p {
	font-size: 1.2em;
	max-width: 30rem;
}
section>p:nth-of-type(2n) {
	margin-left: auto;
}
strong, em {
	color: var(--fg);
}
div p {
	text-align: center;
}
form {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
input, textarea, button, fieldset, a[href^="https://buy."] {
	border: 1px solid #777;
	background: var(--bg);
	color: var(--fg);
	padding: 0.5em;
	border-radius: 0.25rem;
}
button:first-of-type, input[type="submit"], a[href^="https://buy."] {
	display: inline-block;
	background: var(--fg);
	color: var(--bg);
	padding: 1em;
}
input[id^="star"] {
	color: gold;
	opacity: 0;
}
	input[id^="star"]+label {
		color: gold;
		font-size: 0;
	}
	input[id^="star"]+label::before {
			content: "\2605";
			font-size: 2rem;
		}
	input[id^="start"]:checked + * ~ * {
		color: #777;
	}
article {
	border: 1px solid #777;
	border-radius: 1rem;
	margin: 1em 0;
	padding: 0 1em;
	max-width: 50rem;
}
	article h3 {
		margin-bottom: 0;
	}
	article date {
		display: block;
		color: #777;
	}
	article a[href^="#20"] {
		font-size: .7em;
	}
header {
	display: flex;
	flex-direction: column;
	align-items: center;
}
header>:first-child {
	margin-top: 4rem;
}
header>a {
	border-radius: 1rem;
	backdrop-filter: blur(2em);
	background: rgba(127,127,127,.3);
	padding: 0.5em 1em 0.5em 2em;
	position: sticky;
	bottom: calc(100vh - 4rem);
	border: 1px solid #777;
}
	header>a::before {
		border-radius: 50%;
		width: .4em;
		height: .4em;
		background: lime;
		position: absolute;
		left: 1em;
		top: 1em;
		display: block;
		content: " ";
	}
img[src$="social.svg"] {
	max-height: 2em;
	min-width: 2em;
	object-fit: cover;
}
	img[alt^="Twitter"] {
		object-position: 0 0;
	}
	img[alt^="LinkedIn"] {
		object-position: 0 20%;
	}
	img[alt^="Mastodon"] {
		object-position: 0 40%;
	}
	img[alt^="GitHub"] {
		object-position: 0 60%;
	}
	img[alt^="YouTube"] {
		object-position: 0 80%;
	}
	img[alt^="Reddit"] {
		object-position: 0 100%;
	}
@media(prefers-color-scheme: dark) {
	:root {
		--bg: #111;
		--fg: #eee;
		color: #ccc;
	}
}
@media(max-width: 35rem) {
	picture:first-of-type {
		float: none;
		display: block;
		text-align: center;
	}
}
@media(max-width: 50rem) {
	div {
		flex-direction: column;
	}
}
@media(max-width: 80rem) {
	section.vid {
		flex-direction: column;
	}
}
/* compat */
form>* {
	display: block;
	width: 100%;
}
sup {
	display: inline-block;
	position: relative;
	top: 0;
}
