@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");
/* === RESET === */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

body {
	min-height: 100vh;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

ul,
ol {
	list-style: none;
	padding: 0;
}

a {
	text-decoration: none;
	color: inherit;
}

button {
	border: none;
	background: none;
	cursor: pointer;
}

/* === MAIN === */
body {
	background: black;
	color: white;
	min-height: 100dvh;
	font-family: "JetBrains Mono", monospace;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
}

#main {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	align-items: center;
	justify-content: center;
}

h1 {
	font-weight: bold;
	font-size: 3rem;
}

header p,
header svg {
	color: #999;
}

.icon-line {
	display: flex;
	align-items: center;
}

.icon-line > svg {
	display: inline;
	height: 1.25rem;
	margin-inline-end: 0.5rem;
}

.social-icon {
	margin: 1rem;
	height: 2rem;
	filter: brightness(50%);
	transition: filter 250ms;
}

.social-icon:hover {
	filter: brightness(100%);
}

hr {
	margin-block: 1rem;
	width: 15rem;
	border: none;
	border-bottom: 1px solid #999;
}

.projects a {
	position: relative;
	color: #86abce;
	transition: color 250ms;
}

.projects a::after {
	content: "";
	position: absolute;
	top: 90%;
	left: 0;
	width: 0;
	height: 1px;
	background: white;
	transition: width 250ms;
}

.projects a:hover::after {
	width: 100%;
}

.projects a:hover {
	color: white;
}

#bg-effect {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -10;
}
