@import url('https://fonts.googleapis.com/css2?family=Pathway+Extreme:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Moirai+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rowdies&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caprasimo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Calistoga&display=swap');


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.4;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* end reset --------------------------------------- */

:root {
	--accent-color: darkseagreen;
	--main-text: #e8e8e8;
	--rule-color: #e8e8e8;
}

img {
	width: 100%;
}

.feature {
	font-size: 1.2rem;
	text-align: left;
}

.dark {
	background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(226,226,226,1) 100%);
	color: #383a38;
	font-weight: 500;
}

.main-dark {
	border: 1px solid #383a38;
	border-left: none;
	border-bottom: none;
	color: #383a38;
}

button {
	position:fixed;
	top: 1rem;
	left: 1rem;
	background: none;
	cursor: pointer;
	outline: inherit;
	border: none;
	color: white;
	display: none;
}

html {
	font-family: Montserrat, sans-serif;
	font-weight: 300;
	font-size: 18px;
	text-align: justify;
	color: #e8e8e8;
}

h1 {
	text-align: center;
	font-family: "Poiret One", sans-serif;
	font-size: 2rem;
}

nav ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1rem;
	justify-items: center;
}

nav ul li {
	width: 100%;
	display: flex;
	justify-content: center;
	list-style-type: none;
	border: 1px solid var(--rule-color);
	padding: 1.5rem 0;
}

nav ul li a {
	color: inherit;
	font-size: 1.2rem;
}

body {
	background: rgba(15,15,15,1);
	padding: 1rem;
	transition: color .5s;
}

p {
	margin-bottom: 1rem;
}

a {
	text-decoration: none;
	color: var(--accent-color);
}

a:hover {
	filter: brightness(1.3);
}

.project-grid section {
	margin-bottom: 1rem;
}

h1, nav {
	margin-bottom:1.5rem;
}

#caption-space {
	display: none;
}

.gallery-caption {
	text-align:center;
}

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

aside ul li {
	display: inline-block;
	width: 50px;
	margin: 0 auto;
	font-size: 2rem;
}

.desktop-only {
	display: none;
}

figure {
	position:relative;
}

figcaption {
	width: 90%;
	background: linear-gradient(90deg, rgba(45,45,45,1) 0%, rgba(40,40,40,0.9108893557422969) 48%, rgba(29,29,29,0) 100%);
	padding: .5rem;
	position: absolute;
	bottom: 5px;
	font-size: .8rem;
}


/*---------------------------------------desktop--------------- */

@media (min-width: 500px) {

.project-grid {
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1rem;
}

.project-grid h1, .project-grid nav {
	grid-column: 1/3;
}

}

@media (min-width: 768px) {

.desktop-only {
	display: block;
}

.mobile-only {
	display: none;
}

html {
	font-size: 17px;
}

h1 {
	display: block;
	position: absolute;
	top: -58px;
	left: 1rem;
	font-size: 2rem;
	text-align: left;
}

body {
	width: 100vw;
	height: 100vh;
	margin: 0 auto;
	box-sizing: border-box;
	position: relative;
	text-align: left;
	background: radial-gradient(circle, rgba(41,41,41,1) 0%, rgba(0,0,0,1) 100%);
}

main {
	margin-top: none;
}

.feature {
	text-align:right;
	font-size: 1.4rem;
}

.teaching-feature {
	text-align: left;
}

.triple-feature {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1rem;
}

nav {
	position: absolute;
	right: -118px;
	top: 0px;
	width: 100px;
}

nav ul {
	display: block;
}

nav ul li {
	margin-bottom: .5rem;
	width: auto;
	display: block;
	justify-content: none;
	list-style-type: none;
	border: none;
	padding: 0;
}

nav li a {
	padding-bottom: .2rem;
}

aside {
	position: absolute;
	right: -70px;
	bottom: 0;
}

aside ul li {
	display: block;
	font-size: 1.2rem;
}

aside ul li a:hover {
	filter: brightness(1.5);
}

.current-page {
	border-bottom: 2px solid var(--accent-color);
}

.main-wrapper {
	height:100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

main {
	width: 640px;
	height: 640px;
	padding: 1rem;
	box-sizing: border-box;
	border: 1px solid #d4d4d4;
	border-left: none;
	border-bottom: none;
	position:relative;
}

.project-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1rem;
}

.project-grid section {
	margin: 0;
}

.project-grid section a {
	margin: 0;
	padding: 0;
}

.project-grid img {
	width: 100%;
	height: 100%;
}

.project-grid section a:hover {
	filter: brightness(1.1);
}

.project-grid nav, .project-grid h1 {
	margin: 0;
	grid-column: none;
}

.gallery-caption {
	display:none;
	position: absolute;
	color: var(--text);
	width: 100%;
	font-size: 1rem;
	pointer-events:none;
}

#caption-space {
	display: block;
	position: absolute;
	bottom: -45px;
	text-align: center;
	width: 100%;
}

}

@media (min-width: 1000px) {

	#caption-space {
	left: -205px;
	top: 33px;
	text-align: right;
	width: 200px;
	}
}

@media (min-width: 800px) and (max-height: 725px) {

main {
	width: 500px;
	height: 500px;
}

}