* { /* universal-selector */
	margin: 0;
	padding: 0;
	border: 0;
}

body { /* doc-body-element */
	font-family: Bahnschrift, "Lucida Grande", Calibri, Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 14px;
	margin: 0 auto;
	max-width: 480px;
	background-color: whitesmoke;
	z-index: 0;
	opacity: 0.8;
}
body > * {
	box-shadow: 0 0 5px #888;
}
body > footer, body > nav, body > header {
	box-shadow: none;
}
body > footer {
	padding: 20px;
}

/* ============================================================
   HEADER & STICKY NAVIGATION
   ============================================================ */

body > header {
	background-repeat: no-repeat;
	background-color: whitesmoke;
	max-width: 480px;
	position: relative;
	height: 128px;
	opacity: 1.0;
	background-position: bottom right;
	background-size: 128px 128px;
	top: 0;
	z-index: 1000;
	transition:
		height 0.3s ease,
		background-color 0.3s ease,
		background-position 0.3s ease,
		background-size 0.3s ease,
		opacity 0.3s ease,
		box-shadow 0.3s ease;
}

body > header.scrolled {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 480px;
	max-width: 480px;
	height: 128px;
	background-color: rgba(245, 245, 245, 0.95);
	opacity: 0.9;
	background-position: center bottom;
	background-size: 128px 128px;
	border-bottom: solid 1px rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body > header.scrolled:hover {
	opacity: 1;
}

body > header.scrolled.supplemental {
	display: none;
}

body.header-scrolled {
	padding-top: 128px;
}

/* Back-to-Top Button */
body > header::after {
	content: "↑";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: bold;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	cursor: pointer;
	user-select: none;
}

body > header.scrolled::after {
	opacity: 1;
	visibility: visible;
}

body > header > nav {
	padding-left: 20px;
}

body > header + section { /* infobar, z. B. EU-Cookies */
	display: none;
	background: rgba(0, 128, 0, 1);
	color: rgba(0, 0, 0, 1);
	margin: 1.2em auto;
	padding: 1.2em;
	box-shadow: 0px 0px 5px #888;
	font-size: 13px;
	cursor: default;
}

body footer + section { /* Eigenwerbung */
	color: rgba(0, 0, 0, 0.4);
	margin: 1.2em auto 0;
	padding: 1.2em;
	box-shadow: 0px 0px 5px #888;
	font-size: 13px;
	cursor: default;
	border: solid 1px #fff;
	text-align: center;
	display: none;
}
body footer + section a {
	border-bottom: solid 2px rgba(238, 112, 0, 0.4);
}
body footer + section a:hover {
	color: rgba(0, 0, 0, 0.8);
	border-bottom: solid 2px rgba(238, 112, 0, 0.8);
}
body footer + section select {
	width: 100%;
}

body > details {
	color: whitesmoke;
	cursor: help;
	padding: 20px;
	margin: 0 0 20px 0;
}
body > details > summary {
	margin: 0 0 20px 0;
	text-decoration: underline dotted;
	font-weight: bold;
}

/* ============================================================
   ELEMENTE
   ============================================================ */

a {
	color: inherit;
	text-decoration: none;
}

header select {
	background-color: transparent;
	border-bottom: solid 1px #000;
	width: 180px;
	line-height: 1.5em;
	font-family: Georgia, "Times New Roman", serif;
}
header select option {
	height: 2em;
}

article {
	background-color: white;
}
article + article {
	margin-top: 1em;
}

article h1 > label {
	padding: 0 0 1em 1em;
	float: right;
	opacity: 0.2;
	cursor: help;
	text-align: right;
}
article a {
	text-decoration: dashed;
	border-bottom: dotted 1px darkred;
}
article p a:before {
	content: "\2197";
}
article p a[href^="http://udo.springfeld.eu/blog/"]:before,
article p a[href^="https://udo.springfeld.eu/blog/"]:before,
article p a[href^="/blog/"]:before,
article p a[href^="#"]:before {
	content: "";
}
article p a[href^="http://amzn.to/"]:after,
article p a[href^="https://www.amazon.de/"]:after {
	content: " (€)";
}

article > footer {
	font-size: 2em;
	line-height: 1.2em;
	font-weight: bold;
	text-align: right;
}

body > footer {
	text-align: right;
}

/* RSS-Feed-Icon */
svg.sharing.feed {
	display: block;
	height: 75px;
	margin: 46px 64px;
	position: fixed;
	bottom: 0;
	right: 0;
	box-shadow: none;
}
svg.sharing.twitter {
	display: block;
	height: 75px;
	margin: 50px 50px;
	position: fixed;
	bottom: 125px;
	right: 0;
	box-shadow: none;
}

/* Textmarkierung */
::-moz-selection, ::selection {
	color: rgba(255, 255, 255, 1);
	text-shadow:
		 1px  1px 1px rgba(0, 0, 0, 0.8),
		 1px -1px 1px rgba(0, 0, 0, 0.8),
		-1px  1px 1px rgba(0, 0, 0, 0.8),
		-1px -1px 1px rgba(0, 0, 0, 0.8);
}

ul, ol, p {
	line-height: 1.8em;
}
ul, ol {
	margin-bottom: 1.8em;
}
ol ul, ul ol {
	margin-bottom: 0;
}
ul {
	list-style: none;
}
article > ul:not(.meta) {
	list-style: square;
	margin-left: 20px;
}
nav#pagination ul {
	padding-left: 0;
}
ul, ol {
	margin-left: 1.8em;
}
ul.meta li a {
	padding: 2px;
	border: rgba(0, 0, 0, 0.8);
	border-radius: 2px;
}
ul.meta li a:hover {
	background: #000;
	color: #fff;
	padding: 2px;
	border-radius: 2px;
}
ul.breadcrumbs {
	padding-left: 0;
	text-align: center;
}

nav#pagination {
	cursor: pointer;
	margin: 0 auto;
}
nav#pagination ul li {
	font-size: 2em;
	display: inline-block;
	width: 50%;
	text-align: center;
}
nav#pagination ul li:empty {
	min-height: 1px;
}
nav#pagination ul li strong {
	font-size: 1.2em;
}

nav#pagination-2 {
	font-size: 1.5em;
	display: flex;
	flex-direction: row;
	padding: 20px 0;
}
nav#pagination-2 a {
	flex: 1;
	text-align: center;
}

/* Post-Navigation (single.php) */
nav.post-navigation {
	display: flex;
	flex-direction: row;
	font-size: 0.9em;
	padding: 20px;
	gap: 20px;
}
nav.post-navigation .nav-previous { flex: 1; }
nav.post-navigation .nav-next     { flex: 1; text-align: right; }

figure.wp-block-pullquote {
	font-size: 14px;
	color: rgba(255, 255, 255, 1.0);
	padding: 0;
	text-align: left;
}
figure.wp-block-pullquote blockquote cite {
	display: block;
	text-align: right;
}
blockquote {
	background: #000;
	color: #fff;
	padding: 1.2em;
	font-style: italic;
}
blockquote p {
	padding-bottom: 1.2em;
}
blockquote footer, blockquote cite {
	text-align: right;
}
blockquote footer:before, blockquote cite:before {
	content: '—';
}
blockquote a {
	text-decoration: underline;
}

article > figure {
	padding: 0;
}
article > figure > figcaption {
	padding: 0 20px;
}

/* Web Speech API/SpeechSynthesis */
button {
	display: none;
	border: solid 3px #000;
}
button.play:before {
	content: '▶';
}

/* Hamburger-Icon */
.hamburger {
	font-size: 52px;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: normal;
	line-height: 128px;
	margin-bottom: 52px;
}

/* Page in-persona/Zitate */
#wp-quotes-list li q {
	color: rgba(255, 255, 255, 0.8);
	border-radius: 12px;
	border-bottom-left-radius: 0;
	padding: 20px;
	display: inline-block;
	background-color: rgba(0, 0, 0, 0.8);
}
#wp-quotes-list li cite {
	display: block;
	padding: 0 0 20px 20px;
}
#wp-quotes-list {
	list-style: none;
	margin-left: 0;
}

footer#ads img {
	width: 100%;
}

del {
	text-decoration: line-through;
}
ins {
	background: rgba(129, 215, 66, 0.5);
	border-radius: 0.3em;
	text-decoration: none;
}
.update {
	border: dashed 1.5px rgba(129, 215, 66, 0.8);
}
.update::before {
	font-style: normal;
	content: 'Hinzufügung';
	background: rgba(129, 215, 66, 0.8);
	color: #111;
	padding: 0.15em 0.25em;
	position: relative;
	top: 0.2em;
	left: -2.25em;
	transform: rotate(-5deg);
}

span.mathmlalike, sub.mathmlalike {
	font-family: Georgia;
}
span.mathmlalike {
	font-size: 1.2em;
	vertical-align: center;
}

article p.warning {
	background: rgba(129, 215, 66, 0.5);
	border-radius: 0.3em;
	text-decoration: none;
	border: dashed 1.5px rgba(129, 215, 66, 0.8);
}
article p.warning::before {
	font-style: normal;
	content: 'Review';
	background: rgba(255, 215, 66, 0.8);
	color: #111;
	padding: 0.15em 0.25em;
	position: relative;
	top: 0.2em;
	left: -2.25em;
	transform: rotate(-5deg);
}

article.tag-SPD > ul:not(.meta) {
	list-style-type: square;
}
article.tag-SPD > p:last-of-type:after {
	color: #e52724;
	content: ' ■ Autor ist Sozi';
	white-space: nowrap;
}

/* ============================================================
   NAVIGATION (Slide-In)
   ============================================================ */

#navigation:target {
	background: rgba(0, 0, 0, 1);
	left: 0;
	transition: left 2s, background 2s;
	overflow-y: scroll;
}
#navigation {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: -100%;
	z-index: 1;
	background: rgba(0, 0, 0, 0);
	font-size: 24px;
	color: rgba(255, 255, 255, 1);
	transition: left ease-out 1s, opacity ease-out 1s;
}
#navigation h1 {
	margin: 0 1.8em;
	color: rgba(0, 0, 0, 1.0);
}
#navigation h1 img {
	filter: invert(100%);
}

/* ============================================================
   ARTICLE LAYOUT
   ============================================================ */

header, article, footer {
	z-index: 1;
}
article {
	will-change: transform;
	transform: translateZ(0);
}
article > * {
	padding: 20px;
}
article > * + p {
	padding-top: 0;
}
article > blockquote + p {
	padding-top: 20px;
}
article > aside:first-child {
	margin: 0;
	padding: 0;
}
article > aside:first-child img {
	width: 100%;
}

header h1 {
	font-size: 52px;
}

/* Bookmark-Liste */
ul.icon-list {
	line-height: 20px;
}
ul.icon-list li {
	margin-bottom: 4px;
}
ul.icon-list li:last-child {
	margin-bottom: initial;
}
ul.icon-list li a {
	text-decoration: none;
	border-bottom: none;
}
ul.icon-list li a span {
	border-bottom: solid 1px rgba(0, 0, 0, 0.4);
}
ul.icon-list li a span:hover {
	border-bottom: solid 1px rgba(0, 0, 0, 1.0);
}
ul.icon-list li img {
	vertical-align: bottom;
	width: 16px;
	margin-right: 4px;
	margin-top: 2px;
	margin-bottom: 2px;
}

header span.bookmark {
	overflow: hidden;
	display: inline-block;
	position: relative;
	border: solid 3px #000;
	border-bottom: none;
	width: 20px;
	height: 30px;
	letter-spacing: 1em;
}
span.bookmark a::before {
	position: absolute;
	display: block;
	content: '';
	width: 20px;
	height: 20px;
	background-color: transparent;
	border: solid 3px #000;
	overflow: hidden;
	transform: rotate(45deg);
	top: 22px;
	left: -3px;
}

/* ============================================================
   EU-COOKIES / ADBLOCKER
   ============================================================ */

#cookie-choice, #adblocker-blocker {
	color: white;
	background-color: rgba(128, 0, 0, 1);
	margin: 1.2em auto 0;
	padding: 1.2em;
	box-shadow: 0px 0px 5px #888;
	font-size: 13px;
	cursor: default;
	border: solid 1px #fff;
}
#cookie-choice h1, #cookie-choice p {
	padding: 0 20px 0 40px;
}
#cookie-choice input {
	vertical-align: bottom;
	top: 18px;
	position: relative;
	left: 10px;
}
#adblocker-blocker {
	display: none;
}

/* ============================================================
   LESEFORTSCHRITT
   ============================================================ */

#ypp {
	position: fixed;
	bottom: calc(50vh - 100px);
	left: calc(50vw - 4em);
	transform: rotate(90deg);
	width: 100px;
	background: rgba(0, 0, 0, 1);
	color: rgba(255, 255, 255, 1);
	opacity: 0;
	transition: opacity 0.3s;
}
#ypp:hover {
	opacity: 1.0 !important;
}

/* ============================================================
   SUCHE
   ============================================================ */

#search {
	width: 100%;
}
#search input[type=text] {
	width: calc(100% - 2em);
	padding: 1em;
}

/* ============================================================
   BLINK (CSS-Animation)
   ============================================================ */

blink {
	animation: blink 1s steps(5, start) infinite;
}
@keyframes blink {
	50% { opacity: 0.0; }
}
.blink {
	animation: blink 1s step-start 0s infinite;
}

/* ============================================================
   WORDPRESS BILD-KLASSEN
   ============================================================ */

.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}
iframe {
	max-width: 100% !important;
	min-height: auto !important;
}

/* ============================================================
   FEATURE IMAGE = BLURRED BACKGROUND
   ============================================================ */

.custom-background {
	background-attachment: fixed;
	background-repeat: no-repeat;
}

#content {
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, 0.8);
	padding: 20px;
	border-radius: 8px;
}

/* ============================================================
   I ♥ IT – ASCII-Widget
   ============================================================ */

.i-love-it {
	display: inline-block;
	height: 1.2em;
	line-height: 1.2em;
	vertical-align: -0.1em;
	font-family: "Courier New", monospace;
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	margin: 0;
}
.i-love-it > span {
	display: block;
	min-height: 1.1ch;
	max-height: 1.1ch;
	width: 4.4ch;
	margin: 0;
	line-height: 1.1ch;
}
.i-love-it span span {
	display: inline-block;
	min-width: 2.2ch;
	max-width: 2.2ch;
	text-align: center;
	vertical-align: middle;
	line-height: 1;
	margin: 0;
}

/* ============================================================
   DARK MODE
   ============================================================ */

@media (prefers-color-scheme: dark) {
	body {
		background-color: #999;
	}
	body > header {
		background-color: #999;
	}
	body > * {
		box-shadow: 0 0 18px #333;
	}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {
	body > header {
		max-width: 100%;
	}
	body > header.scrolled {
		width: 100%;
		max-width: 100%;
	}
	body.header-scrolled {
		padding-top: 60px;
	}
}
