/*
https://medium.com/frontendshortcut/how-to-make-a-polaroid-photo-gallery-in-html-and-css-d68f5a306c84/
Released for free under the Creative Commons Attribution License
*/

.gallery {
	display: flex;
	width: 890px;
	margin: auto;
	justify-content: space-between;
	flex-wrap: wrap;
}

figure {
	width: 400px;
	margin: 4px 0;
	border: 1px solid #777;
	padding: 4px;
	box-sizing: border-box;
	background-color: #fff;
}

figure img {
	width: 100%;
}

figure figcaption {
	text-align: left;
	padding: 4px 4px;
	color: silver;
}

figure > p {
	text-align: center;
}
