/* VARIABLES {{{ */
:root {
	--white: #ffffff;
	--black: #000000;
	--linesColor: #90b090;

	--light: Sono-Light; 
	--regular: SonoSans-Regular; 
	--medium: Sono-Medium; 
	--mono: Sono-Regular; 
}
/* }}} */
/* FONTS {{{ */
@font-face {
	font-family: SonoSans-Regular;
	src: url("../webfonts/SonoSans-Regular.woff2");
}
@font-face {
	font-family: Sono-Light;
	src: url("../webfonts/Sono-Light.woff2");
}
@font-face {
	font-family: Sono-Regular;
	src: url("../webfonts/Sono-Regular.woff2");
}
@font-face {
	font-family: Sono-Medium;
	src: url("../webfonts/Sono-Medium.woff2");
}
/* }}} */

@media only screen and (max-device-height: 800px) {
	img.images {
		max-width: 300px !important;
		max-height: 300px !important;
	}
	h1 {
		font-size: 1.5rem !important;
	}
}
@media only screen and (max-device-width: 800px) {
	body {
		margin: 10px !important;
		overflow-y: scroll !important;
	}
	img.images {
		display: none !important;
	}
	h1 {
		font-size: 1rem !important;
	}
	main {
		margin-top: 10px !important;
		height: 100% !important;
		overflow-y: scroll !important;
		overflow-x: hidden !important;
	}
	.project-space {
		flex-direction: column !important;
		width: calc(100vw - 40px) !important;
		height: 100% !important;
		overflow-y: scroll !important;
		overflow-x: hidden !important;
		padding: 10px !important;
	}
	.project-description {
		margin: 0 !important;
		padding: 5px !important;
	}
	.project-images {
		margin: 10px !important;
		padding: 5px !important;
	}
	.project-images {
		flex-direction: column !important;
		width: calc(100vw - 40px) !important;
		height: 100% !important;
		overflow-y: scroll !important;
		overflow-x: hidden !important;
		gap: 10px !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	img {
		max-width: calc(100vw - 40px) !important;
	}
	header {
		flex-direction: column-reverse !important;
	}
	header nav {
		position: relative !important;
		left: 0 !important;
	}
	.end {
		display: none !important;
	}
	.projects-list, .project {
		width: calc(100vw - 20px) !important;
	}
	time, cite, address {
		padding: 0 !important;
		border: none !important;
	}
	address::after {
		content: ",";
	}

}

::selection {
	background-color: black;
	color: white;
}
::-webkit-scrollbar{
		background: white;
		width: 5px;
}
::-webkit-scrollbar-thumb:hover{
		border-bottom: solid 7px black;
}
::-webkit-scrollbar-thumb{
		background-color: transparent;
		border-bottom: solid 1px black;
		width: 5px;
}

html {
	/*scrollbar-color: black black;*/
	scrollbar-width: thin;
  overflow-y: hidden;
}

body {
	overflow-x: hidden;
	overflow-y: hidden;
	position: relative;
	margin: 20px;
	min-height: calc(100vh - 20px);
	background-color: var(--white);
	color: var(--black);
	font-family: var(--mono);
}

header {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	font-family: var(--mono);
	gap: 10px;
}
header time {
	font-family: var(--light);
}
h1 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-family: var(--regular);
}

a {
	color: var(--black);
	text-decoration: 1px underline var(--black);
	text-underline-position: under;
}
a:hover {
	color: var(--black);
	text-decoration: none;
}

header nav {
	position: fixed;
	right: 20px;
	margin: 0;
	text-shadow: 0 0 10px white;
}
header nav a {
	text-decoration: underline;
}
header nav a:hover {
	text-decoration: none;
}
.direction {
	text-decoration: none;
	font-size: 2rem;
}
.right:hover {
	border-right: solid 1px black;
	padding-right: 5px;
}
.left {
	padding-left: 5px;
}
.left:hover {
	border-left: solid 1px black;
	padding-left: 4px;
}
.project-space {
	border-top: solid 1px black;
	margin: 20px 0;
	padding: 0;
	display: flex;
	position: relative;
	flex-direction: row;
	gap: 20px;
}
.project-description {
	position: fixed;
	border: solid 1px black;
	padding: 10px;
	box-shadow: 5px 5px black;
	margin: 20px;
	background: white;
	z-index: 10000;
	font-family: var(--regular);
}

figure {
	margin: 0;
	position: relative;
}

figcaption {
	position: absolute;
	bottom: -30px;
	background: white;
	padding: 5px;
	font-family: var(--mono);
	font-size: .8rem;
}

.project-images {
	display: flex;
	flex-direction: row;
	height: 80vh;
	margin: 20px;
	padding: 20px 20px 40px 20px;
	gap: 40px;
	overflow-x: scroll;
	width: 100%;
	justify-content: flex-start;
	overflow-y: hidden;
}
.project-images figure {
}
.project-images img {
	border: solid 1px black;
	max-height: 100%;
	width: auto;
	margin: 0;
}

header {
	width: 100vw;
	padding: 0;
}

.projects-list li {
	width: calc(100vw - 40px);
}
nav ul {
	display: flex;
	flex-direction: column;
	/*margin-top: 50px;*/
	padding: 0;
	width: calc(100vw - 40px);
}
nav li {
	list-style-type: none;
	margin: 0;
	padding: 5px 0;
	display: inline-block;
	border-top: solid 1px black;
	position: relative;
}
nav li:hover {
	background-color: burlywood;
}
.project time {
	padding: 0 10px;
	border: solid 1px black;
	margin: 0;
	font-family: var(--light);
}
.project cite, .project address {
	font-family: var(--mono);
	font-style: normal;
	display: inline-block;
}
.project:hover cite,
.project:hover address {
	font-family: var(--medium);
}
.project cite {
	border-bottom: solid 1px black;
}
.project address {
	border-top: solid 1px black;
}
.end {
	position: absolute;
	top: 4px;
	right: 0;
}
li a {
	text-decoration: none;
}
nav a:hover {
}
main {
	position: relative;
}
main.jumbleContainer {
	top: 10vh;
	position: absolute;
	width: 80vw;
	height: 80vh;
	left: 10vw
	/*position: relative;
	/*top: 0;*/
	/*left: 10vw;*/
	/*max-width: calc(100vw - 50px);*/
	/*max-height: calc(100% - 50px);*/
	/*margin-top: -10vh;*/
	/*margin-left: 10vw;*/
}
img.images {
	z-index: 0;
	display: block;
	position: absolute;
	max-width: 500px;
	max-height: 500px;
	border: solid 1px black;
}
.images:hover {
	cursor: grab;
}

#email {
	text-decoration: none;
}
#email:hover {
	text-decoration: underline;
}
