body {
	margin-left: 300px;
	margin-right: 300px;
}

@media only screen and (max-width: 1600px) {
	body {
		margin-left: 100px;
		margin-right: 100px;
	}
}

@media only screen and (max-width: 800px) {
	body {
		margin-left: 10px;
		margin-right: 10px;
	}
}

.h1-block {
	display: flex;
	margin-top: 3rem;
}
.h1-block > .back-btn {
	align-self: center;
}
h1 {
	margin-top: 1rem;
	font-weight: normal;
	font-size: 72px;
	text-align: left;
	text-shadow: 0 0 10px #A0A0A0;
}
h3 {
	margin: 1rem 0;
	font-family: sans-serif;
	font-size: 1rem;
	color: #DDD;
}
h1, h2 {
	color: white;
}

p {
	margin-bottom: 1.5rem;
}


details {
	margin-top: 2rem;
}

summary {
	font-weight: lighter;
	color: white;

	user-select: none;
	cursor: pointer;
	border-bottom: solid 1px white;
	border-image: linear-gradient(to left, #500, #D44) 1;

	list-style-position: outside;
}
summary:hover {
	text-shadow: 0 0 10px #A0A0A0;
	background: linear-gradient(to top, #FFF3, #FFF1);
	border-image: linear-gradient(to left, #888, #FFF) 1;
}
summary::marker {
	font-size: 1.5rem;
	color: #FFF8;
}
summary h2 {
	margin: 0;
	padding: 0.5rem 0;
}

/*details > *:not(summary) {
	margin-left: 3rem;
}*/

.index-title {
	font-size: 1.4rem;
	font-weight: lighter;
	color: white;

	margin-top: 1rem;
}
#project-tableofcontents li {
	text-align: left;
}
#project-tableofcontents a {
	color: #F76;
	text-decoration: none;
}


#gallery {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 18px 6px;
	width: 100%;
	text-align: center;
	color: #DDD;
}
#gallery img {
	width: 100%;
}
#gallery .gallery-img span {
	display: block;
	margin: 0 6px;
}

.project-pane-wrapper {
	display: flex;
}
.project-pane-main {
	width: 75%;
	margin-right: 2rem;
}
.project-separator {
	width: 2px;
	background: #FFF3;
	align-self: stretch;
}

@media only screen and (max-width: 768px) {
	h1 {
		font-weight: lighter;
		text-shadow: 0 0 8px #FFF;
	}

	#gallery {
		grid-template-columns: 1fr 1fr;
	}

	.project-pane-wrapper {
		flex-direction: column;
	}
	.project-pane-main {
		width: 100%;
		margin-right: 0;
	}
}
