html { 
	font-family: "Inter", arial, helvetica, "sans-serif"; 
	font-weight: 400; 
	font-size: 1rem;
	line-height: 1rem;
	vertical-align: baseline; 
	background-color: #fff; 
	color: #444; 
	margin: 0; 
	padding: 0; 
	border: 0; 
}

body, div, span, p, form, input, select, textarea, label, table, tr, th, td, img, a, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dd, dt { 
	font: inherit; 
	line-height: inherit; 
	vertical-align: inherit; 
	background-color: inherit; 
	color: inherit; 
	margin: 0; 
	padding: 0; 
	border: 0; 
	z-index: 0;
}

div#wrapper {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 1rem;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 3px solid #444;
	position: relative;
	z-index: 90;
	font-size: 1.5rem;
}

#skip {
	position: absolute;
	transform: translateY(-200%);
	transition: 0.2s;
	padding: 0.2rem;
	color: #000;
	background-color: #ff0;
}

#skip:focus {
	transform: translateY(0%);
	transition: 0.2s;
}

footer {
	clear: both;
	display: flex;
	justify-content: space-between;
	margin-top: 2rem;
	padding: 1.6rem 0 3rem 0;
	border-top: 3px solid #444;
	font-size: 0.85rem;
	line-height: 0.85rem;
	color: #888;
}

footer div {
	width: 50%;
}

@media (max-width: 750px) {
	footer {
		flex-direction: column;
	}
	footer div {
		width: 100%;
	}
}

footer div p,
footer div ul {
	margin-bottom: 1em;
}

footer div p::before,
footer div ul::before {
	margin-right: 0.5em; 
}

footer div:nth-child(1) p:nth-child(1)::before { 
	content: "❤️"; 
}

footer div:nth-child(1) p:nth-child(2)::before { 
	content: "🗓️"; 
}

footer div:nth-child(2) ul::before { 
	content: "🤓"; 
}

footer div:nth-child(2) p::before { 
	content: "©️"; 
}

footer div ul li {
	display: inline;
	list-style-type: none;
	border-left: 1px solid #888;
	padding-left: 0.6em;
	margin-left: 0.6em;
}

footer div ul li:nth-child(1) {
	border: 0;
	padding-left: 0;
	margin-left: 0;
}

footer a {
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

h1 { 
	padding: 1.6rem 0;
}

h1 a {
  text-decoration: none;
}

h1 a:hover {
	color: #000;
}

.screen-reader {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	white-space: nowrap;
	border: 0;
}

main {
	margin-top: 1.6rem;
	line-height: 1.6rem;
}

main p { 
	margin-top: 1.6rem;
}

main p img {
	max-width: 100%;
	height: auto;
}

span.caption {
	font-size: 0.85rem;
	line-height: 0.85rem;
	color: #888;
}

span.caption a {
	text-decoration: none;
}

span.caption a:hover {
	color: #888;
	text-decoration: underline;
}

main ul,
main ol {
	margin: 1.6rem 0 0 2.5rem;
}

main ul li,
main ol li {
	padding: 0 0 0 0.5rem;
}

main a:hover {
	color: #000;
}

h2 { 
	font-size: 1.4rem;
	line-height: 2rem;
	font-weight: 700;
}

h3 {
	margin-top: 2.2rem;
	font-size: 1.3rem;
	font-weight: 600;
}

h3.after-hero {
	margin-top: 1.2rem;
}

h4 {
	margin-top: 1.8rem;
	font-size: 1.2rem;
	font-weight: 600;
}

h5 {
	margin-top: 1.6rem;
	font-size: 1.1rem;
	font-weight: 600;
}

h6 { 
	margin-top: 1.6rem;
	font-weight: 600;
}

.burger {
	display: none;
	position: relative;
	width: 28px;
	height: 22px;
	background: none;
	border: 0;
	cursor: pointer;
	z-index: 100;
}

.burger::before,
.burger::after {
	content: "";
	position: absolute;
	left: 0;
	width: 28px;
	height: 2px;
	background: #444;
	transition: transform 0.4s;
}

.burger::before {
	top: 0; 
}

.burger::after {
	bottom: 0; 
}

.burger span.middle-line {
	position: absolute;
	top: 50%;
	left: 0;
	width: 28px;
	height: 2px;
	background: #444;
	transform: translateY(-50%);
	transition: opacity 0.2s;
}

.burger.open::before {
	transform: translateY(10px) rotate(45deg);
}

.burger.open::after {
	transform: translateY(-10px) rotate(-45deg);
}

.burger.open span.middle-line {
	opacity: 0;
}

nav {
	display: flex;
	gap: 1.6rem;
}

nav a {
	font-size: 1.5rem;
	text-decoration: none;
	color: #444;
}

nav a:hover {
	color: #000;
}

nav a:nth-child(1) {
	visibility: hidden;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 80;
}

.backdrop.open {
  opacity: 1;
  visibility: visible;
}


@media (max-width: 650px) {

	.burger { 
		display: block; 
	}

	nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 60%;
		max-width: 280px;
		height: 100%;
		background: #fff;
		flex-direction: column;
		padding: 5.5rem 1.5rem;
		gap: 2rem;
		transition: right 0.4s ease;
	}

	nav a:nth-child(1) {
		visibility: visible;
	}

	nav.open { 
		right: 0; 
	}

}

body.lock-scroll { 
	overflow: hidden; 
}

.monospace {
	font-family: "Roboto Mono";
}

code {
	font-family: "Roboto Mono";
	background-color: #f6f6f6;
	padding: 0 0.35rem;
}

