:root {
  color-scheme: light dark;

  --bg-color: light-dark(hsl(0, 0%, 94%), hsl(0 0% 11.8%));
  --text-color: light-dark(hsl(0, 0%, 4%), hsl(0, 0%, 97%));
  --dim-text-color: light-dark(hsl(0, 0%, 34%), hsl(0, 0%, 67%));
  --dim-contrast-color: light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2));
}

body {
	display: flex;
	gap:  min(2%, 3rem);
	font-family: sans-serif;
	padding: 0;
	margin: 0;
	color: var(--text-color);
	background-color: var(--bg-color);
	line-height: 1.65;
	/* Background by Yulia Gapeenko, https://www.vecteezy.com/vector-art/4906142-abstract-natural-spring-seamless-pattern-background-with-leaves */
	background-image: url(/ferns.svg);
	background-repeat: repeat;
	background-size: 40rem;
}

body > section {
	--scale: clamp(0px, calc(5.56vw - 28.4672px), 1rem);
	background-color: var(--bg-color);
	box-sizing: border-box;
	max-width: 50rem;
	min-width: min(100%, 50rem);
	box-shadow: .75rem .75rem 2.5rem 0rem var(--dim-contrast-color);
	margin: var(--scale) auto calc(3 * var(--scale)) auto;
	padding: 0.5rem 1rem;
	text-align: justify;
	text-justify: auto;
	hypthens: manual;
	border-radius: 0.2rem;
}

.yt-container {
	display: flex;
	justify-content: center;
}

.yt {
	width: 100%;
	aspect-ratio: 2 / 1;
}

body section img {
	margin: 0 auto 0 auto;
	display: block;
	max-height: 30rem;
	max-width: 100%;
	border-radius: 0.2em;
}

.post-list ul {
	list-style-type: none;
}

.text-dim {
	color: var(--dim-text-color);
}

.break-keep {
	word-break: keep-all;
}

.ps-8 {
	padding-inline-start: 2rem;
}

.float-right {
	float: right;
}

@media (max-width:521px)  {
	body > section {
		box-shadow: none;
	}
}
