* {
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
}

body {
	background: #3d3d3d;
	font-family: Arial, sans-serif;
	color: #fff;
}

body.page {
	background: #000;
	margin: 5px;
}

#main-content {
	background: #3d3d3d;
	position: absolute;
	top: 15px;
	left: 0;
	margin: 0 auto;
	padding: 0 6px;
	max-width: 1400px;
	transition: left 0.6s;
}

#main-content.show-nav {
	left: 150px;
}

@media only screen and (min-width: 1000px) {
#main-content {
	left: 150px;
}
.nav-toggle {
	display: none;
}
}

#project {
	margin: 0 auto;
	padding: 20px;
	max-width: 800px;
}

nav {
	position: absolute;
	top: 15px;
	padding: 10px;
	width: 150px;
	z-index: -1;
}

nav span {
	font-size: 12px;
}

header {
	padding: 10px 6px;
	width: 80%;
}

footer {
	text-align: center;
}

h1 {
	font-size: 100%;
}

.page h1 {
	font-size: 1.25rem;
	text-align: center;
	margin: 20px 0;
}

p {
	font-size: 90%;
	margin: 10px 0px;
}

a {
	color: #00acc8;
	text-decoration: none;
}

a:visited {
	color: #00acc8;
}

a:hover {
 color: #fec00d;
}

img, iframe {
	max-width: 100%;
}

.hide {
	display: none;
}

.nav-toggle:hover {
	cursor: pointer;
}

/* tiles */

.large-tiles, .small-tiles {
	display: flex;
	flex-flow: row wrap;
}

.tile .inner {
	margin: 6px;
}

.large-tiles .tile {
	width: 25%;
	flex: auto;
}

.small-tiles .tile {
	width: 12.5%;
	flex: auto;
}

@media only screen and (max-width: 1000px) {
	.large-tiles .tile {
		width: 33.333%;
	}

	.small-tiles .tile {
		width: 16.666%;
	}
}

@media only screen and (max-width: 600px) {
	.large-tiles .tile {
		width: 50%;
	}

	.small-tiles .tile {
		width: 25%;
	}

	.tile .inner {
		margin: 3px;
	}
}


.tile {
	position: relative;
}

.tile img {
    display: block;
    height: auto;
    width: 100%;
}

.tile div.title {
	position: absolute;
  bottom: 0;
	margin-bottom: 6px;
	text-align: center;
	padding: 5px;
  font-size: 16px;
  width: calc(100% - 12px - 10px);
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
}

@media only screen and (max-width: 600px) {
	.tile div.title {
		margin-bottom: 3px;
	  width: calc(100% - 6px - 10px);

	}
}

.small-tiles .tile div.title {
	font-size: 12px;
}

/* end tiles */

/* homepage */

.update {
	padding: 10px 6px;
	margin-top: 20px;
}

/* end homepage */

/* page specifics */

#page-content {
	max-width: 743px; /* changed from 800 to match photo width */
	margin: 0 auto;
	padding: 0 20px;
}

body.page.grey-background {
	background: #3d3d3d;
}

body.page img {
	display: block;
	margin: 20px auto;
}

body.page .fluid-width-video-wrapper {
	margin: 50px 0;
}

/* end page specifics */

/* misc */

.insta {
	position: absolute;
	top: 10px;
	right: 10px;
	margin: 8px;
}

@media only screen and (max-width: 600px) {
    .insta {
        width: 30px;
    }
}

/* end misc */
