:root {
	--background-color: rgb(13, 13, 13);
	--font-family: "Roboto Mono", monospace;
	--primary-color: rgb(220, 220, 220);
	--secondary-color: rgb(255, 154, 86);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--background-color);
	font-family: var(--font-family);
	color: var(--primary-color);
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

main {
	max-width: 600px;
	width: 100%;
}

header {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.avatar {
	width: 100px;
	height: 100px;
	border-radius: 12px;
	object-fit: cover;
}

header h1 {
	font-size: 2.5rem;
	font-weight: 500;
	color: var(--primary-color);
}

.bio {
	font-size: 1.1rem;
	color: var(--primary-color);
	line-height: 1.8;
	margin-bottom: 3rem;
	border-left: 2px solid var(--secondary-color);
	padding-left: 1rem;
}

.highlight {
	color: var(--secondary-color);
}

hr {
	border: none;
	border-top: 1px solid rgba(220, 220, 220, 0.1);
	margin: 2rem 0;
}

.link-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 3rem;
	max-width: 400px;
}

.link-col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.link-col a {
	font-size: 1rem;
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.15s ease;
	position: relative;
	padding-left: 1.5em;
}

.link-col a::before {
	/* thanks, https://arogus.com/ */
	content: '>';
	position: absolute;
	left: 0;
	opacity: 0;
	transform: translateX(-0.5em);
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.link-col a:hover::before,
.link-col a:focus::before {
	opacity: 1;
	transform: translateX(0);
}

.link-col a:hover {
	color: var(--secondary-color);
}

.link-col a:focus {
    outline: none;
	color: var(--secondary-color);
}

.asm-note {
	display: block;
	max-width: 100%;
	margin-top: 0.5rem;
}

.asm-note .link-col {
	width: 100%;
}

.asm-note .link-col a {
	font-size: 0.72rem;
	color: rgba(220, 220, 220, 0.6);
}

.asm-note .link-col a:hover,
.asm-note .link-col a:focus {
	color: var(--secondary-color);
}


@media (max-width: 768px) {
	body {
		padding: 1.5rem;
		align-items: flex-start;
		padding-top: 10vh;
	}

	header h1 {
		font-size: 2rem;
	}

	.avatar {
		width: 90px;
		height: 90px;
	}

	.bio {
		font-size: 1rem;
		margin-bottom: 2.5rem;
	}

	.link-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
		max-width: 300px;
	}
}