@import url('https://fonts.googleapis.com/css?family=Raleway:300,400');

* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

.light-mode {
	--text-color: #020202;
	--body-color: whitesmoke;
}

.dark-mode {
	--text-color: whitesmoke;
	--body-color: #020202;
}

body {
	background: var(--body-color);
	color: var(--text-color);
	transition: background 0.3s;
	margin: 0;
	font-family: "Raleway";
	font-weight: 200;
	font-size: 22px;
	width: 100%;
	height: 100%;
}

h1 {
	font-size: 2em;
	margin-bottom: 1.5em;
	letter-spacing: 0.05em;
	color: var(--text-color);
}

h2 {
	font-size: 1.2em;
}

p {
	line-height: 1.5em;
	margin-bottom: 1.5em;
	font-weight: 300;
}

a {
	text-decoration: none;
	font-weight: 400;
	border-bottom: 1px dotted;
	color: var(--text-color);
}

a:hover {
	text-decoration: none;
	border-bottom: 1px solid;
}

.container {
	display: flex;
	position: relative;
}

.column-left, .column-right {
	flex: 1;
	position: relative;
}

.column-right {
	max-width: 800px;
}

.column-left {
	padding: 100px;
}

.intro {
	position: relative;
	padding: 200px 0px 120px 0px;
}

.resume {
	padding: 100px 0px;
}

.top {
	height: auto;
	height: 160px;
	position: relative;
}

#logo-container {
	cursor: help;
	position: absolute;
	top:0px;
	left:0px;
}

#logo {
	fill: var(--text-color);
}

span.menu-toggle {
	display: none;
}

ul#menu {
	display: block;
	list-style: none;
	position: absolute;
	top: 10px;
	right:0px;
}

ul#menu li {
	float: left;
	margin-left: 30px;
	font-size: 0.8em;
}

#shots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-area: right;
	padding: 20px;
	grid-gap: 20px;
	align-self: flex-start;
}

#shots .shot {
	position: relative;
	display: block;
	text-decoration: none;
	font-size: 0.8em;
	background: var(--body-color);
	animation-name: moveUp;
	transform-origin: bottom;
	animation-duration: 0.5s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
	animation-timing-function: ease-ease-in-out;
	opacity: 0;
}

@keyframes moveUp {
	0%    { transform: translateY(50px); opacity: 0; }
	100%  { transform: translateY(0); opacity: 1; }
}

#shots a {
	border-bottom: 0px;
}

#shots .shot img {
	border-radius: 8px;
}

#shots .shot:hover img {
	opacity: .05;
}

#shots .shot:hover .description {
	opacity: 1;
}

#shots h2 {
	margin-bottom: 1em;
}

#shots .shot .description {
	opacity: 0;
	transition: opacity .2s ease-in-out;
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 30px;
	word-break:break-word;
}

#shots .shot img {
	display: block;
	max-width: 100%;
	transition: opacity .2s ease-in-out;
}

ul#resume li {
	list-style-type: none;
}

ul#resume h3 {
	font-size: 0.9em;
	margin-bottom: 10px;
	margin-top: 40px;
}

span.year {
	display: block;
	float: left;
	width: 60px;
}

p.quote {
	padding-left: 70px;
	font-style: italic;
	font-size: 0.8em;
	margin-bottom: 10px;
}

p.quote-name {
	padding-left: 70px;
	font-size: 0.7em;
	margin-bottom: 40px;
}

@media only screen and (max-width: 1250px) {

	#shots {
		align-self: auto;
	}

	.column-right {
		max-width: none;
	}

	.resume {
		display: none;
	}

	.container {
		flex-direction: column;
	}

	.intro {
		padding: 50px 0px;
	}

	p.quote, p.quote-name {
		padding-left: 0px;
	}

	h1 {
		font-size: 1.5em;
	}

}

@media only screen and (max-width: 700px) {

	.column-left {
		padding: 50px;
	}

	span.menu-toggle {
		display: block;
		float: right;
		cursor: context-menu;
		position: relative;
		top: 10px;
		font-size: 0.8em;
		border-bottom: 1px dotted;
	}

span.menu-toggle:hover {
	border-bottom: 1px solid;
}

	ul#menu {
		display: none;
		z-index: 99;
		background: var(--body-color);
		position: absolute;
		top: 80px;
		left: -50px;
		padding: 20px;
		width: 100vw;
		text-align: right;
		border: 1px dotted var(--text-color);
	}

	ul#menu li {
		margin-left: 0px;
		float: none;
		display: block;
		padding: 20px;
		font-size: 1.2em;
	}

	ul#menu li a {
		border-bottom: none;
	}


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

	span.year {
		clear: both;
		float: none;
		margin-bottom: 5px;
	}

}

@media only screen and (max-width: 400px) {

	.column-left {
		padding: 30px;
	}

	div.top {
		height: 80px;
	}

	ul#menu {
		left: -30px;
	}
}
