#theme-toggle {display: none;}
	.theme-toggle {
		display: inline-block;
		width: 3rem;
		aspect-ratio: 1;
		cursor: pointer;
		background-size: cover;
  }
@media (prefers-color-scheme: light) {
	:root {
		&:has(#theme-toggle:checked) {
	    color-scheme: dark;
	  }
		&:not(:has(#theme-toggle:checked)) {
	    color-scheme: light;
	  }
	}
	.theme-toggle {
		background-image: url("media/light-icon.svg");
  }
	#theme-toggle:checked + .theme-toggle {
	  background-image: url("media/dark-icon.svg");
	}
}
@media (prefers-color-scheme: dark) {
	:root {
		&:has(#theme-toggle:checked) {
	    color-scheme: light;
	  }
		&:not(:has(#theme-toggle:checked)) {
	    color-scheme: dark;
	  }
	}
	.theme-toggle {
		background-image: url("media/dark-icon.svg");
  }
	#theme-toggle:checked + .theme-toggle {
	  background-image: url("media/light-icon.svg");
	}

}
*::selection {
	background-color: var(--red);
}
body {
	--white: #e0e0e0;
	--red: #f02244;
	font-size: 12pt;
	background-color: light-dark(#fafafa, #171717);
	color: light-dark(black, var(--white));
	width: min(100%, 85ch);
	margin: auto;
}
#hero {
	position: sticky;
	top: 0;
	z-index: -1;
}
h1 {
	width: 100%;
	background-color: var(--red);
	color: black;
	padding: 1em 0.5em 1em 0.5em;
	box-shadow: 0 -0.5ch 1ch light-dark(#17171780, #171717BB);
}
#date-and-toggle {
	user-select: none;
	margin: 1em 1ch 1em 1ch;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.content {
	background-color: light-dark(#fafafa, #171717);
}
.content a, .content a:visited {
	color: light-dark(#171717, #fafafa);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.5ch;
	text-decoration-color: var(--red);
}
.content a:hover {
	background-color: light-dark(#171717, #fafafa);
	color: light-dark(#fafafa, #171717);
}
h2 {
	margin-left: 6pt;
	padding: 0.5em 0 0.5em 0;
}
p {
	margin: 0 1ch 1em 1ch;
}
.for-2-images {
	border: solid 2px var(--red);
	display: flex;
	flex-direction: row;
	margin: 2em 0 2em 0;
}
#left-tall {
	width: 30%;
	height: 30%;
}
#square-with-text {
	width: 70%;
	display:flex;
	flex-direction: column;
	justify-content: space-between;
}
#square-with-text > div {
	height: 100%;
	width: 100%;
	padding: 1ch;
	display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
	color: slategray;
	font-style: italic;
}
video {
	border: solid 2px var(--red);
	width: 100%;
	margin: 2em 0 1em 0;
}
.content > img {
	border: solid 2px var(--red);
	width: 100%;
	margin: 2em 0 1em 0;
}
.caption {
	color: slategray;
	display: flex;
	justify-content: center;
	text-align:center;
	font-style: italic;
	margin-bottom: 2em;
}
blockquote {
	padding: 1em;
	margin: 1em 1ch 1em 1ch;
	border-left: solid 2px var(--red);
	color: slategray;
	font-style: italic;
	background-color: light-dark(#ffdbe0, #101010);
}
.settings {
	display: flex;
	justify-content: center;
	margin: 2em 0 1em 0;
}
code {
	background-color: light-dark(#efefef, #101010);
	padding: 0 0.5ch 0 0.5ch;
}
pre {
	width: 100%;
	background-color: light-dark(#efefef, #101010);
	margin: 1em 0 1em 0;
}
.content > ol, .content > ul {
	margin-bottom: 1em;
}
.gray {
	padding: 1ch;
	margin: 1ch 0 1ch 0;
	border-radius: 1ch;
	background-color: light-dark(#efefef, #101010);
}
hr {
	border: dashed 2px;
	margin-top: 2em;
}
a, a:visited {
	color: light-dark(black, var(--white));
}
