:root {
	box-sizing: border-box;
}

*,
::before,
::after {
	box-sizing: inherit;
}

body {
	background-color: white;
	font-family: Helvetica, Arial, sans-serif;
	margin-top: 0;
}

.container {
	margin: 0 auto;
	text-align: center;
	max-width: 1080px;
}

header {
	background-color: white;
	color: #a9a9a9;
	text-align: center;
	border-radius: 1em;
}
 .site-nav {
	border-top: solid .2em #a9a9a9;
	border-bottom: solid .2em #a9a9a9;
	height: 2em;
	list-style-type: none;
	display: flex;
	justify-content: space-around;
	align-items: center;
	text-transform: uppercase;
	font-weight: bold;
	padding: 0;
}

.site-nav > li {
	margin-top: 0;
}

.site-nav > li > a {
	display: block;
	color: #a9a9a9;
}

li.current {
	color: black;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	grid-auto-rows: 1fr;
	grid-gap: 1em;
	margin-top: 2em;
}

.gallery > section {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
}

img, p, a {
	margin: 0;
	border: 0;
	padding: 0;
}

a {
	text-decoration: none;
	color: black;
}

.clickable p {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	font-size: 2em;
	font-weight: bold;
	z-index: 1;
	opacity: 0;
}

.clickable:hover img {
	opacity: .4;
}

.clickable:hover p {
	opacity: 1;
}

footer {
	height: 10em;
	padding-top: 2em;
	color: #a9a9a9;
}




