body {
	margin: 0;
	height: 100vh;
	font-family: FreeSans, sans-serif;
}

#wrapper {
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.preview {
	opacity: 0.5;
	width: calc(1 / 3 * 100%);
	height: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	grid-column-gap: 0;
	grid-row-gap: 0;

	transition: opacity 0.2s;

	.preview-card {
		width: 100%;
		margin: auto;
		display: block;
		grid-area: 2/2/3/3;
		transition: opacity 0.75s;
	}

	.preview-card:is(.hidden) {
		opacity: 0;
	}
}

.preview:is(.selected) {
	opacity: 1;
}

#main-menu {
	height: 100%;
	flex-direction: column;
	justify-content: center;
	display: flex;
	align-items: center;
	gap: 1em;

	* {
		padding: 0;
		margin: 0;
	}

	a {
		background-color: oklch(45% 0.24 277.023);
		padding: 1em;
		border-radius: 0.25em;
		font-weight: bold;
		text-align: center;
		width: 25em;
		display: block;
		transition: background-color 0.2s;
		color: white;
		text-decoration: none;
	}

	a:hover {
		background-color: oklch(40% 0.24 277.023);
	}
}

.links-box {
	position: fixed;
	bottom: 20px;
	right: 10px;
	width: max-content;
	height: max-content;
}

.github-link {
	background-color: black;
	color: white;
	padding: 10px;
	margin: 10px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.2s;
}