:root {
	--color-background: #09060a;
	--color-background-text: white;
	--color-accent: #e71d36;
	--color-accent-text: white;
}

* {
	box-sizing: border-box;
}

html {
	background-color: var(--color-background);
	font-size: 16px;
}

a {
	color: inherit;
	text-decoration: none;
}

body {
	color: var(--color-background-text);
	display: grid;
	font-family: "Inconsolata", monospace;
	font-optical-sizing: auto;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-weight: 300;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr;
	margin: 0;
	min-height: 100vh;
}

/******************** Shared ********************/

section.main {
	padding: 0 1rem;
}

section.center {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	width: 100%;
}

a.center {
	align-items: center;
	display: flex;
	flex-direction: row;
	gap: 4px;
	width: min-content;
}

/******************** Banner ********************/

.banner {
	background-color: var(--color-accent);
	color: var(--color-accent-text);
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding: 6px;
	width: 100%;
}

.external-icon {
	height: 1em;
	width: 1em;
}


/******************** Home ********************/

.header-text {
	font-family: "Nanum Gothic Coding", monospace;
	font-size: 2rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.title {
	display: inline-block;
	margin: 10px 0px;
	position: relative;
}

.title::before {
	animation: blinky 1.25s steps(1) infinite;
	background: rgba(255, 255, 255, 0.75);
	content: "";
	display: inline-block;
	height: 1em;
	margin-right: 5px;
	vertical-align: bottom;
	width: 1ch;
	z-index: 1;
}

.title::after {
	background-color: var(--color-accent);
	bottom: -4px;
	content: '';
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
}

@keyframes blinky {
	50% {
		background: transparent;
	}
}


/******************** 404 ********************/

.oh-no-container {
	align-items: center;
	display: flex;
	flex-direction: column;
}

.oh-no-title {
	font-size: 10rem;
	margin: 0;
}
