body {
	font-family: 'Open Sans', 'Helvetica', Arial, sans-serif;
	font-size: 100%;
	font-weight: 400;
	color: #222529;
	background-color: white;
	line-height: 1.6;
}

a {
	color: #222529;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	transition: 0.2s all ease-in-out;
	padding: 0 0.2rem;
	display: inline-block;
}

a:hover {
	background-color: #222529;
	color: white;
}

.container {
	width: calc(100% - 2rem);
	max-width: 640px;
	margin: 0 auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.site-header {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.site-title {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5rem;
	margin-bottom: 2em;
	font-size: 1.5rem;
}

.site-description {
	letter-spacing: 0.05em;
	max-width: 40rem;
	margin: 0 auto;
	font-size: 1.1rem;
}

.instagram-feed {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: column wrap;
	font-size: 0;
}

.image-item {
	display: inline-block;
	font-size: 1rem;
	flex: 0 1 100%;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.image-item.is-landscape,
.image-item.is-portrait {
	min-height: 20rem;
}

.image-item.is-landscape .image-item-image,
.image-item.is-portrait .image-item-image {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.image-item.is-landscape .image-item-image {
	height: 100%;
	width: auto;
}

.image-item.is-portrait .image-item-image {
	height: auto;
	width: 100%;
}

.image-item a {
	display: block;
	padding: 0;
	border: 0;
}

.image-item a:hover {
	background-color: transparent;
}

.image-item-image {
	width: 100%;
}

.image-item-caption {
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width: 80%;
	padding: 0.3rem;
	font-size: 0.85rem;
	letter-spacing: 0.03rem;
	font-weight: bold;
	color: white;
	z-index: 20;
}

.image-item-overlay {
	display: none;
	z-index: 2;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #222529;
}

@media screen and (min-width: 500px) {

	.instagram-feed {
		flex-flow: row wrap;
	}

	.image-item {
		flex: 0 1 50%;
	}
}

@media screen and (min-width: 850px) {

	.instagram-feed {
		flex-flow: row wrap;
	}

	.image-item {
		flex: 0 1 calc(100% / 3);
		min-height: 0 !important;
	}
}