main {
	text-align: justify;
	line-height: 1.3;
	padding: 0.5em;
	hyphens: auto;
	user-select: none;
}

#title {
	margin: 3em 0 3em;
}

#title h1,
#title p {
	font-weight: normal;
	text-align: center;
	margin: 0;
}

#title h1 {
	font-size: 1.6em;
	hyphens: none;
}

article:not(:last-child) {
	margin-bottom: 2em;
}

article header h2 {
	margin-bottom: 0;
	font-weight: normal;
	font-size: 1.3em;
}

article header h2 a {
	color: var(--accent-color);
	text-decoration: none;
}

article header h2 a:hover {
	text-decoration: underline;
}

article .mat-symbols {
	font-size: 1em;
}

article .details {
	display: flex;
	column-gap: 1em;
	row-gap: 0.3em;
	flex-wrap: wrap;
	opacity: 0.75;
	align-items: center;
}

article .details span {
	display: flex;
	gap: 0.1em;
}

.paginator {
	display: flex;
	gap: 1em;
	margin: 1em 0;
}

.paginator .previous,
.paginator .next {
	display: inline-block;
	width: 50%;
}

.paginator a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--accent-color);
}

.paginator .previous a {
	justify-content: right;
}

#terms {
	display: flex;
	gap: 0.5em;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2em;
}

#terms div {
	border: 1px solid var(--accent-color);
	transition: transform 0.5s;
}

#terms div:hover {
	transform: scale(1.1);
}

#terms a {
	display: inline-block;
	padding: 0.25em 0.5em;
	text-decoration: none;
	color: var(--accent-color);
}

#error-404 {
	margin: 4em 0;
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	text-align: center;
}

#hal-404 {
	background-color: #414141;
	width: 15em;
	height: 15em;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
    box-shadow: 0 0 5px #000;
}

#hal-404 > div {
	width: 13em;
	height: 13em;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgb(0,0,0);
	background: radial-gradient(
		circle,
		rgba(255,255,0,1) 0%,
		rgba(255,0,0,1) 10%,
		rgba(0,0,0,1) 60%,
		rgba(0,0,0,1) 100%
	);
}

#hal-404 > div > div {
	width: 0.3em;
	height: 0.3em;
	border-radius: 100%;
	background-color: #FFFF00;
}

#error-404 span,
#error-404 h2 {
	color: var(--accent-color);
	font-weight: normal;
}

@media screen and (min-width: 48em) {
	main,
	body > header {
		max-width: 60em;
		margin: 0 auto;
	}

	main {
		padding: 5em;
	}

	#title {
		margin: 0 0 3em;
	}

	.paginator .name {
		font-size: 0;
		transition: font-size 0.5s;
	}
	
	.paginator a:hover .name {
		font-size: 1em;
	}
}