:root {
	color-scheme: light dark;

	--color-dark: #130024;
	--color-light: #ffdff3;
	--color-purple-dark: #570d93;
	--color-purple-light: #be70fe;
	--color-pink-dark: #8f0d66;
	--color-pink-light: #e771c2;
	--color-orange-dark: #ba4f1d;
	--color-orange-light: #e88a5c;

	--color-bg: light-dark(var(--color-light), var(--color-dark));
	--color-text: light-dark(var(--color-dark), var(--color-light));
	--color-purple: light-dark(var(--color-purple-dark), var(--color-purple-light));
	--color-pink: light-dark(var(--color-pink-dark), var(--color-pink-light));
	--color-orange: light-dark(var(--color-orange-dark), var(--color-orange-light));
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: Verdana, sans-serif;
	width: 65%;
	margin: 0 auto;
}

@media (max-width: 1050px) {
	body {
		width: 85%;
	}
}

@media (max-width: 650px) {
	body {
		width: 92%;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 2.5;
	color: var(--color-purple);
	font-family: Courier, monospace;
}

h1 {
	text-align: center;
	margin-top: 4rem;
	font-size: 2.5rem;
}

h2 {
	margin-top: 2rem;
	font-size: 2rem;
}

h3 {
	margin-top: 1rem;
	font-size: 1.6rem;
}

@media (max-width: 650px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.6rem;
	}

	h3 {
		font-size: 1.3rem;
	}
}

img {
	width: 100%;
	padding: .5rem 0;
}

p,
ul {
	line-height: 1.5;
}

@media (max-width: 650px) {
	p,
	ul {
		font-size: .85rem;
	}
}

ul {
	margin: .5rem 0 .5rem 2rem;
}

li {
	list-style: square;
}

li::marker {
	color: var(--color-orange);
}

a {
	color: var(--color-pink);
	transition: text-decoration-thickness .5s;
	text-decoration-thickness: .15rem;
	text-decoration-color: var(--color-orange);
	outline-offset: .05rem;
	border-radius: .1rem;
}

@media (any-hover: hover) {
	a:hover {
		text-decoration-thickness: .25rem;
	}
}

a:focus-visible {
	outline: solid .15rem var(--color-orange);
	text-decoration: none;
}

@media (max-width: 650px) {
	a {
		text-decoration-thickness: .12rem;
		outline-offset: .04rem;
	}

	@media (any-hover: hover) {
		a:hover {
			text-decoration-thickness: .18rem;
		}
	}

	a:focus-visible {
		outline-width: .12rem;
	}
}

.two-col {
	display: grid;
	grid-template-columns: auto auto;
	gap: 1rem;
}

@media (max-width: 650px) {
	.two-col {
		grid-template-columns: auto;
	}
}
