html {
	font-family: "Roboto", sans-serif;
	height: 100%;
}

body {
	padding: 0;
	margin: 0;
	height: 100%;
}

h1, h2, h3, h4, h5, h6 {
	scroll-margin-top: 5rem;
	font-family: "Pixel Code", "Roboto", sans-serif;
	font-weight: 600;
}

h1 {
	font-weight: 700;
}

a {
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
	outline: none;
}

/* Header --> */

header, button {
	font-family: system-ui;
}

header {
	position: fixed;
	width: 100%;
	z-index: 1;
}

main {
	/* To make up for the header overlay's height */
	padding-top: 4em;
}

header ul {
	margin: 0;
	padding: 0.5em 0.75em;

	background-color: var(--primary);

	list-style: none;

	display: flex;
	justify-content: flex-end;
	align-items: stretch;
	gap: 2em;
}

header ul li:first-child {
	margin-right: auto;
}

header ul li:first-child a {
	display: flex;
	align-items: center;
	gap: 0.5em;
}

header img {
	display: block;
	font-size: 0.75em;
}

header ul li a {
	text-decoration: none;
	color: white;
	font-size: 1.5em;
	font-weight: 500;

	display: block;
	height: 100%;
	align-content: center;
}

@media screen and (max-width: 600px) {
	header ul li a {
		font-size: 1.1em;
	}
}

header a:hover img,
header a:focus-visible img {
	border-radius: 8px;
	outline: 1px solid white;
}

/* <-- Header */

/* Footer --> */

footer {
	margin-top: 3em;
	border-top: 1px solid #80808080;
	padding: 1em 1em 0.75em;
}

.footer-top {
	display: flex;
	justify-content: space-between;
	column-gap: 2em;
	row-gap: 0.5em;
}

/* Thin screens: */
@media screen and (max-width: 900px) {
	.footer-top {
		flex-direction: column;
	}

	.disclaimer,
	.footer-top > span {
		text-align: center;
	}
}

footer a {
	color: var(--text-muted);
}

footer a[target="_blank"]::after {
	content: "";
	display: inline-block;
	height: 1em;
	width: 1em;
	background-size: 100%;
	background-image: url("icons/newtab.svg");
	background-repeat: no-repeat;
	position: relative;
	top: 2px;
	left: 2px;
}

.footer-links {
	display: flex;
	justify-content: center;
	column-gap: 2em;
	row-gap: 0.2em;
}

@media screen and (max-width: 450px) {
	.footer-links {
		flex-direction: column;
	}
}

footer .updated-on {
	color: #808080C4;
}

footer .disclaimer {
	margin: 0.5em 0 0;
	color: #80808080;
}

/* Push footer to bottom --> */
body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

main {
	flex-grow: 1;
}

/* <-- Push footer to bottom */

/* <-- Footer */
