body {
	margin: 0;
	padding: 0;
	background-image: linear-gradient(110.3deg, #292b2f 4.3%, #2d2f31 96.7%);
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow-y: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
	color: #fff;
	font-size: 1.1em;
	font-family: sans-serif;
}

a {
	text-decoration: none;
	color: #dadada;
	transition: color 75ms ease;
}

a:hover {
	color: #ffff00;
}

.content {
	display: flex;
	padding: 20px;
}

.view {
	max-width: 700px;
	max-height: 800px;
	height: 0;
	overflow: visible;
	margin-top: 158px;
	position: relative;
}

.view h1 {
	position: absolute;
	left: 24px;
	top: -138px;
	font-size: 3em;
	padding: 20px;
	border-radius: 0 64px 64px 0;
	background: #000; /* fallback */
	background-size: 50% 50%;
	background-repeat: no-repeat;
}

.view h1::before {
	background-image: radial-gradient(circle at left, rgba(204, 0, 0, 0) 64px, #000 64px);
	content: " ";
	position: absolute;
	left: -64px;
	top: 0;
	bottom: 0;
	width: 64px;
}

.avatar {
	width: 128px;
	height: 128px;
	border-radius: 64px;
}

.navigation {
	list-style: none;
	color: #fff;
	font-family: sans-serif;
	font-size: 2em;
	padding: 0;
}

.navigation li {
	margin: 16px;
}

.navigation a {
	cursor: pointer;
	border-left: 4px solid #ffff00;
	padding: 4px 6px;
	background-image: linear-gradient(to left, transparent 50%, #ffff00 50%);
	background-size: 204%;
	background-position-x: 100%;
	transition: 100ms background-position linear, 100ms color linear;
	text-decoration: none;
	color: #fff;
	display: flex;
	align-items: center;
}

.navigation a:hover {
	background-position-x: 0;
	color: #000;
}

.view > div:not(.empty) {
	max-height: 0;
	transition: max-height 300ms linear, padding 300ms linear;
	background: #0007;
	backdrop-filter: blur(3px);
	padding: 0 20px;
	overflow: hidden;
}

.view > div .title {
	opacity: 0;
	transition: opacity 400ms ease, left 400ms ease;
	left: 200px;
}

.view > div:target,
.view > div.empty {
	max-height: 1600px;
	min-width: 700px;
	padding: 20px;
	overflow: visible;
	background: #0007;
	backdrop-filter: blur(3px);
}

div:target .title,
.view > div.empty .title {
	transition: opacity 400ms ease, left 400ms ease;
	opacity: 1;
	left: 24px;
}

div#hardware {
	color: #fff;
}

div#hardware > div {
	overflow-y: scroll;
}

div#hardware .hardware-device ul {
	font-family: sans-serif;
	list-style: none;
}

div#hardware .hardware-device ul li::before {
	content: "";
	border-color: transparent #fff;
	border-style: solid;
	border-width: 0.35em 0 0.35em 0.45em;
	display: block;
	height: 0;
	width: 0;
	left: -1em;
	top: 0.9em;
	position: relative;
}

div#socials a {
	text-decoration: none;
	color: #fff;
	font-family: sans-serif;
	display: flex;
	align-items: center;
	padding: 12px 4px;
	background-image: linear-gradient(to right, #ffff00 50%, #0000 50%),
		radial-gradient(circle at 50%, #ffff00 3%, #0000 3%);
	background-size: 220%;
	background-position-x: 100%;
	transition: background-position-x 500ms ease, color 500ms ease;
}

div#socials a:hover {
	color: #000;
	background-position-x: 0;
}

#socials a img {
	margin-right: 8px;
	transition: filter 500ms ease;
}

#socials a:hover img {
	filter: invert(1);
}

.view div:target ~ .empty {
	display: none;
}

@media screen and (max-width: 700px) {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		margin: 0;
		color: #fff;
		font-size: 0.5em;
		font-family: sans-serif;
	}

	div.content {
		padding: 0;
	}

	.navigation {
		font-size: 1.5em;
		flex-direction: row;
		display: flex;
	}

	.view,
	.view div.empty {
		min-width: unset;
		max-width: 300px;
		font-size: 0.75em;
		margin-top: 0;
	}

	.view {
		position: static;
		margin-top: 124px;
	}

	.view h1 {
		border-radius: 0;
		font-size: 3em;
		position: fixed;
		margin-left: -24px;
		height: fit-content;
		top: -120px;
	}

	.view h1::before {
		display: none;
		position: static;
	}

	.view > div:not(.empty):target {
		padding: 5px;
	}

	.view div:target {
		min-width: unset;
	}

	.avatar {
		width: 64px;
		height: 64px;
		border-radius: 32px;
		margin: 5px 0 0 5px;
	}

	.content {
		align-items: flex-start;
		justify-content: unset;
		flex-direction: column;
	}

	.content {
		margin-top: 0;
	}

	.navigation {
		font-size: 0.75em;
		flex-wrap: wrap;
	}

	body {
		align-items: unset;
	}

	div#socials a {
		background-image: linear-gradient(to right, #ffff00 50%, #0000 50%),
			radial-gradient(circle at 50%, #ffff00 6%, #0000 6%);
	}
}
