#container {
	width: 100%;
}

.item {
	display: flex;
	max-width: 100%;
	overflow-x: scroll;
	overflow-y: hidden;
	margin: 0 0 50px;
	padding: 0 0 10px 30%;
	//height: 670px;
}

.blurb {
	min-width: 350px;
}

h1 {
	font-weight: 900;
	margin: 30px 0 0 30%;
}

h2 {
	font-weight: normal;
	margin: 0 0 20px 30%;
}

h2 + p, h2 + p + p {
	margin: 0 0 20px 30%;
	font-size: 18px;
	line-height: 1.6;
	max-width: 600px;
}

h3 {
	font-size: 22px;
	margin: 0 0 20px 30%;
}

p {
	line-height: 25px;
}

p:first-child {
	margin: 0;
}

ul {
	padding: 0;
	font-size: 20px;
}

ul li {
	margin: 10px 0 0;
}

.screenshots {
	margin: 0 0 0 20px;
	display: flex;
	align-self:;
	padding: 0 100px 0 0;
}

@media (min-width: 900px) {
	.screenshots.case-study {
		min-height: 650px;
		padding: 0 200px 0 0;
	}
	
	.screenshots.case-study img {
		transition: .5s all;
		outline: none;
		cursor: pointer;
	}
	
	.screenshots.case-study img:nth-child(odd), .screenshots.case-study video:nth-child(odd)
	 {
		max-height: 325px;
		align-self: flex-start;
	}
	
	.screenshots.case-study img:nth-child(even), .screenshots.case-study video:nth-child(even)
	 {
		max-height: 325px;
		margin: 0 -100px 100px -250px;
		align-self: flex-end;
	}
	
	.screenshots.case-study img:focus {
		z-index: 1;
		max-height: 500px;
	}
}

img, video {
	max-height: 650px;
	max-width: 1024px;
	align-self: flex-start;
	margin: 0 20px 0 0;
	border-radius: 10px;
	box-shadow: 0px 2px 3px rgba(0,0,0,.35);
}

img.mobile {
	max-width: 375px;
}

.sassoon img {
	box-shadow: none;
}

.nav {
	width: 100%;
	max-width: 600px;
}

.nav a {
	//align-self: flex-start;
}

.nav a#top:hover {
	background-color: #ffbd6c;
}

.nav a#home:hover {
	background-color: #20dfff;
}

.keyboard-shortcuts {
	max-width: 600px;
}

@media (max-width: 900px) {
	
	body {
		justify-content: center;
	}
	
	#container {
		max-width: 600px;
		
	}
	
	.item {
		flex-direction: column;
		overflow: hidden;
		padding-left: 15px;
		height: auto;
	}
	
	.screenshots {
		margin: 10px 0 0 -15px;
		overflow-x: scroll;
		overflow-y: hidden;
		padding: 0 0 5px 15px;
	}
	
	h1, h2, h2 + p {
		margin-left: 15px;
	}
	
	h3 {
		margin-bottom: 10px;
		margin-left: 15px;
	}
	
	img {
		max-width: 300px;
		max-height: 670px;
		margin: 0 10px 0 0;
		border-radius: 5px;
		box-shadow: 0px 2px 2px rgba(0,0,0,.25);
	}
	
	img.mobile {
	max-width: 150px;
}

}