@import url('fonts/mamelon3.css');
html {
	background-color: #f7c1c9;
	background: url(bg-stencil.svg) center 0 / auto 100vmin, linear-gradient(180deg, #ffe5e9, #f7c1c9, #eeb8d1, #e7bbfb);
	font-family: Roboto, "Segoe UI", Helvetica, sans-serif;
}
h1 {
	text-align: center;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Mamelon, cursive, sans-serif;
}
body {
	padding: 1em 2em;
	margin: 1em auto;
	background-color: white;
	border-radius: 1em;
	max-width: 80ch;
	box-shadow: 0 0 40px #ffffff40, 0 0 16px #f7c1c980 inset;
}
@media screen and (max-width: 600px) {
	body {
		padding: 1em;
	}
}
hr {
	max-width: 128px;
	margin: 2em auto;
	border: none;
	border-top: 4px dotted #f7c1c9;
}
a {
	color: #dd6870;
}
body > ul {
	padding-left: 1em;
}
li {
	padding: 0.5ex 0;
}
.small {
	font-size: 8pt;
	text-align: center;
}
body > img, body > a > img, .sotd .thumbnail {
	display: block;
	width: 400px;
	min-width: 80%;
	max-width: 100%;
	margin: 2em auto;
	border-radius: 1em;
	box-shadow: 0 3px 20px #f7c1c980;
}
body > a img, .sotd .thumbnail {
	position: relative;
	transition: box-shadow 0.2s ease-out, bottom 0.2s ease-out;
	bottom: 0;
}
body > a:hover img, .sotd a:hover .thumbnail {
	box-shadow: 0 3px 30px #f7c1c9ff;
	bottom: 2px;
}
.floating-icon, .floating-icon2 {
	display: block;
	position: fixed;
	transform-origin: center center;
	left: 50%;
	top: 4em;
	pointer-events: none;
	width: 96px;
	z-index: -1;
	animation: floating-icon-animation 1s steps(2, end) alternate infinite;
}
.floating-icon2 {
	top: unset;
	bottom: 4em;
	transform: translate(420px, -128px);
	animation: unset;
	width: 128px;
}
.floating-icon2 img {
	margin: auto;
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	height: auto;
	animation: img_toggle 2s steps(1) infinite;
	--img1: 1;
	--img2: 0;
}
@property --img1 {
	syntax: "<number>";
	inherits: true;
	initial-value: 0;
}
@property --img2 {
	syntax: "<number>";
	inherits: true;
	initial-value: 0;
}
.floating-icon2 img:nth-child(1) {
	opacity: var(--img1);
	-moz-animation: img_toggle_moz 2s steps(1) infinite 1s;
}

.floating-icon2 img:nth-child(2) {
	opacity: var(--img2);
	-moz-animation: img_toggle_moz 2s steps(1) infinite;
}
@keyframes img_toggle {
	0% { --img1: 0; --img2: 1; }
	50% { --img1: 1; --img2: 0; }
}
@-moz-keyframes img_toggle_moz {
	0% { opacity: 0; }
	50% { opacity: 1; }
}
@keyframes floating-icon-animation {
	from { transform: translateX(-500px) rotate(8deg); }
	to { transform: translateX(-500px) rotate(-16deg); }
}
@media screen and (max-width: 800px) {
	.floating-icon, .floating-icon2 {
		display: none;
	}
}
.languages {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2em;
	margin: 0;
	padding: 0;
	font-size: 0.75em;
}
.langauges li {
	display: inline;
	margin: 0;
}
.languages a {
	text-decoration: none;
}
.sotd > a {
	display: block;
	position: relative;
}
.sotd > a:after {
	font-size: 0.8rem;
	display: block;
	content: "YouTube";
	position: absolute;
	width: 100px;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 1em;
	color: white;
	background-color: red;
	padding: 4px 0;
	text-align: center;
	border-radius: 1em;
	pointer-events: none;
	transition: 0.1s ease-in opacity;
	opacity: 0.9;
}
.sotd > a:hover:after {
	opacity: 0.1;
}
