/* @import url("https://fonts.ob248.com/commitmono"); */

:root {
	--primary: #f26d78;
	--foreground: #000000;
	--muted: #a3a3a3;
	--background: #e4e4e4;
}

body {
	font-family: monospace;
	font-weight: 400;
	background-color: var(--background);
	color: var(--foreground);
	margin: 0;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	min-height: 100vh;
	overflow: hidden;
}

#info {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	position: relative;
	z-index: 1;
	background-color: var(--background);
	color: var(--primary);
	padding: 12px 20px;
	border: 1px solid var(--primary);
}

h1 {
	font-size: 32px;
	margin: 0;
	font-weight: 600;
	width: min-content;
}

h2 {
	font-size: 24px;
	margin: 0;
	font-weight: 500;
	width: min-content;
}

h3 {
	font-size: 18px;
	margin: 0;
	font-weight: 400;
	width: min-content;
}

a {
	color: var(--primary);
	font-weight: 500;
	font-size: 12px;
	text-decoration: none;
	/* text-decoration: underline; */
	/* text-underline-offset: 2px; */
}

a:hover {
	color: var(--background);
	background-color: var(--primary);
	text-decoration: none;
}

#grid {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 0;
	border-collapse: collapse;
	user-select: none;
}

td {
	background-color: var(--background);
	color: var(--background);
	width: 16px;
	height: 16px;
	cursor: cell;
	padding: 0;
	box-sizing: border-box;
	text-align: center;
	transition: all 0.3s;
	font-weight: bold;
}

td:hover {
	background-color: var(--primary);
	transition: none;
}
