body {
	font-family: sans-serif;
	font-size: 16px;
	line-height: 22px;
	color: #fff;
	background-color: #111;
	-webkit-font-smoothing : antialiased;
}

:focus { outline: none; }

a:link {color: #fff;}
a:hover {
	color: #fff;
	opacity: 0.5;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}
a:visited {color: #fff;}

#wrapper {
	display: block;
	max-width: 1342px;
	margin: 56px auto 24px auto;
	padding: 0 48px;
}

nav {
	display: block;
	width: 100%;
	margin: 48px 0 64px 0;
}

nav ul {
	display: block;
	margin: 0 auto;
	text-align: center;
}

nav ul li {
	display: inline-block;
	margin: 0 32px;
	text-transform: uppercase;
	font-weight: 600;
}

nav ul ul.social {
	display: inline-block;
}

nav ul li a {
	text-decoration: none;
	color: #fff;
	opacity: 0.5;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

nav ul li a:hover {
	opacity: 1;
}

.logo {
	display: block;
	margin: 0 auto;
	max-width: 426px;
}

article {
	margin: 0 auto;
	max-width: 640px;
}

article h1 {
	margin-bottom: 16px;
	font-size: 28px;
	font-weight: 700;
	line-height: 36px;
}

article h2 {
	padding-top: 16px;
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
}

article p {
	font-size: 16px;
	line-height: 28px;
	margin-bottom: 16px;
}
article figure {
	margin-bottom: 24px;
}

/** GRID **/
.grid {
	column-gap: 32px;
	column-fill: initial;
}
  
.grid figure {
	display: inline-block;
	margin-bottom: 32px;
	vertical-align: top;
}

.grid figure img {
	display: block;
	margin-bottom: 16px;
}

.grid figure:hover img {
	opacity: 0.8;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.grid figure figcaption span {
	display: block;
}

.grid figure figcaption span.titre {font-weight: 600;}

/* MEDIA QUERIES */  
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.grid {column-count: 2;}
}
  
@media only screen and (min-width: 1024px) {
	.grid {column-count: 3;}
}

@media (max-width: 768px) {
	#wrapper {
		margin: 32px auto;
		padding: 0 20px;
	}

	nav {
		margin: 24px 0 24px 0;
	}
	
	nav ul li {
		display: inline-block;
		width: 100%;
		margin: 0 0 16px 0;
		text-transform: uppercase;
		font-weight: 600;
	}

	nav ul ul.social {
		display: block;
	}

	nav ul ul.social li {
		width: auto;
		padding: 0 8px;
	}

	.grid figure {
		margin-bottom: 48px;
	}

	.grid figure:last-child {
		margin-bottom: 16px;
	}
}
  
img, video {
	max-width: 100%;
	vertical-align: middle;
}
img:focus {
	background: yellow;
	color: red;
  }