main {
	width: 90%;
	margin: auto;
}

h3 > a {
	color: #f2eae6;
}

#return {
	vertical-align: middle;
}

#intro {
	font-size: 1.25em;
}

#gridBox {
	display: grid;
	grid-template-columns: 100%;
	grid-gap: 4em;
}

.work {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr auto auto;
	grid-template-areas:
		"title title"
		"format showcase"
		"description showcase";
	gap: 1em 2em;

	border-radius: 15px;
	border: 2px solid #3b3227;
	overflow: hidden;
}

.workTitle {
	grid-area: title;
	font-size: 2em;
	background-color: #3b3227;
	padding: 0.5em;
}

.workTitle a {
	color: #f2eae6;
}

.tagline {
	font-style: italic;
	font-size: 0.5em;
	margin-top: 1em;
	padding-right: 2em;	
}

.format {
	grid-area: format;
	padding-left: 1em;
}

.skills {
	grid-area: showcase;
	padding-right: 1em;
	padding-bottom: 1em;
}

.description {
	grid-area: description;
	padding-left: 1em;
	padding-bottom: 1em;
}

.description > p {
	margin: 0;
}

.description li {
	margin-top: 0.5em;
}

.ficDisclaimer {
	margin: 4em 2em 2em 2em;
}

/* Individual sample styles */

.docList {
	margin-top: 0.25em;
}

#aetherialTitle {
	margin-bottom: 0.25em;
}

#attribution {
	margin-top: 0;
}

.characterBio {
	display: grid;
	grid-template-columns: 20% 1fr;
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"image name"
		"image desc";

	margin-left: 5%;
	margin-right: 25%;
}

.characterName {
	grid-area: name;
	margin: 0;
	margin-bottom: 0.25em;
}

.characterImage {
	grid-area: image;
}

.characterImage > img {
	height: 75%;
	max-height: 250px;
	max-width: 150px;
	object-fit: contain;
}

.characterDesc {
	grid-area: desc;
	margin: 0;
	margin-bottom: 2em;
}

.unitTitle {
	font-style: italic;
	margin: 0;
	margin-bottom: 0.25em;
}

#spreadsheetCap {
	overflow-x: auto;
}

@media (max-width: 800px) {
	.characterBio {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto 1fr;
		grid-template-areas:
			"image"
			"name"
			"desc";
	}
}

.diagram {
	max-width: 55vw;
	margin: auto;
}

.digit {
	color: #ffde59;
	font-weight: bold;
}

.place {
	color: #af6ebf;
	font-weight: bold;
}

.inset {
	padding-left: 2em;
}

.base {
	color: #af6ebf;
	font-weight: bold;
}

.superscript {
	color: #af6ebf;
	font-weight: bold;
}

.essaySection {
	padding-top: 2em;
	text-decoration: underline;
}