:root {
	--primary-color: aqua /*aqua*/;
	--secondary-color: black;
}

body {
	font-family: Verdana, sans-serif;
	font-size: large;
	color: var(--primary-color);
	background-color: black;
}

.main-box {
	display: flex;
}

::selection {
	background-color: var(--primary-color);
	color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Press Start 2P", system-ui;
	font-weight: 400;
	font-style: normal;
}

a {
	color: var(--primary-color);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

button {
	background-color: var(--primary-color);
	border: 0;
	border-radius: 5px;
}
button:hover {
	cursor: pointer;
}

.selected {
	background-color: var(--primary-color);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	clip-path: inset(-10px -10px 0px -10px);
}
.selected a {
	color: var(--secondary-color);
}

.text-ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#main-header {
	font-family: 'Press Start 2P';
	font-style: bold;
	margin-top: 1em;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	position: relative;
}
#main-header::after {
	content: " ";
	display: block;
	background-color: var(--primary-color);
	box-shadow: 0 0 5px var(--primary-color);
	height: 2px;
	position: absolute;
	width: 100%;
	transform: translate(0, 40px);
}

#portrait {
	overflow: hidden;
	width: 256px;
	height: 256px;
	border-radius: 100%;
	position: relative;
	background-color: var(--primary-color);
}
.portrait-glow::after {
	content: " ";
	display; block;
	position: absolute;
	border: 2px solid var(--primary-color);
	width: 280px;
	height: 280px;
	box-shadow: 0 0 5px var(--primary-color), inset 0 0 5px var(--primary-color);
	border-radius: 100%;
}
#portrait img {
	filter: grayscale(100%);
	mix-blend-mode: luminosity;
}

/* Thanks Luke Bonaccorsi! */
.pixel-corners {
  clip-path: polygon(
    0px calc(100% - 20px),
    4px calc(100% - 20px),
    4px calc(100% - 12px),
    8px calc(100% - 12px),
    8px calc(100% - 8px),
    12px calc(100% - 8px),
    12px calc(100% - 4px),
    20px calc(100% - 4px),
    20px 100%,
    calc(100% - 20px) 100%,
    calc(100% - 20px) calc(100% - 4px),
    calc(100% - 12px) calc(100% - 4px),
    calc(100% - 12px) calc(100% - 8px),
    calc(100% - 8px) calc(100% - 8px),
    calc(100% - 8px) calc(100% - 12px),
    calc(100% - 4px) calc(100% - 12px),
    calc(100% - 4px) calc(100% - 20px),
    100% calc(100% - 20px),
    100% 20px,
    calc(100% - 4px) 20px,
    calc(100% - 4px) 12px,
    calc(100% - 8px) 12px,
    calc(100% - 8px) 8px,
    calc(100% - 12px) 8px,
    calc(100% - 12px) 4px,
    calc(100% - 20px) 4px,
    calc(100% - 20px) 0px,
    20px 0px,
    20px 4px,
    12px 4px,
    12px 8px,
    8px 8px,
    8px 12px,
    4px 12px,
    4px 20px,
    0px 20px
  );
}

.retro {
	background-color: black;
	background-image: radial-gradient(
		hsl(from var(--primary-color) h s calc(l - 42)), var(--secondary-color) 120%
	);
	height: 100vh;
}

.box-shadow { box-shadow: 0 0 5px var(--primary-color); }
.text-shadow { text-shadow: 0 0 5px var(--primary-color); }
.box-shadow-secondary { box-shadow: 0 0 5px var(--secondary-color); }

.art-gallery {
	display: grid;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(4, 1fr);
	width: fit-content;
	margin: auto;
}

@media screen and (max-width: 1500px) {
	.art-gallery { grid-template-columns: repeat(3, 1fr); }
	.main-box {
		flex-direction: column;
	}
	.main-box > div {
		padding: 4em;
		box-sizing: border-box;
	}
}
@media screen and (max-width: 1125px) {
	.art-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 750px) {
	.art-gallery { grid-template-columns: repeat(1, 1fr); }
}

.art-box {
	margin: 2em 2em 0 2em;
}
.art-box > div {
	border-radius: 10px;
	height: 300px;
	width: 300px;
	overflow: hidden;
	margin: auto;
}
.art-box > span {
	font-family: 'Press Start 2P';
	height: 2em;
	width: 300px;
	line-height: 2em;
	font-size: small;
	display: block;
	margin: auto;
}
.art-box a {
	text-decoration: underline;
}
