html {
	height: 100%;
	width: 100%;
	display: table-cell;
}

body {
	padding: 30px;
	margin: 0;
	background: fixed #000 url('images/bg2.jpg') no-repeat center center;
	background-size: cover;
	height: 100%;
	overscroll-behavior: none;
	color: #fff;
	font-family: 'Montserrat Alternates', sans-serif;
	font-weight: 500;
	display: table-cell;
	/*flex-flow: column nowrap;*/
	/*justify-content: center;*/
	/*align-items: center;*/
	box-sizing: border-box;
}

h1.logo {
    background: url('images/logo.png') no-repeat center center;
    background-size: contain;
    height: 60px;
    margin: 0 0 10px;
    width: 100%;
    overflow: hidden;
    text-indent: 100%;
}

article.wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	max-width: 80%;
	margin: 0 auto;
}

section {
	margin: 20px;
}

section .photos::after {
	background-size: contain;
	content: "";
	display: block;
	position: absolute;
	width: 60px;
	height: 60px;
	left: 300px;
	top: 0;
	margin-left: -30px;
}

section.atreides .photos::after {
	background: url('images/house-atreides.svg') no-repeat center top;
}

section.harkonnen .photos::after {
	background: url('images/house-harkonnen.svg') no-repeat center top;
}

section.corrino .photos::after {
	background: url('images/house-corrino.svg') no-repeat center top;
}

section h2 {
	text-align: center;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	margin: 15px 0 0;
	z-index: 10;
	text-shadow: 0 2px 4px rgba(0,0,0,1);
	position: relative;
}

section div.photos {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	border-radius: 10px;
	position: relative;
	box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

section div.photos::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 10px;
  box-shadow: inset 0 1px 0px rgba(255,255,255,0.25);
  z-index: 10;
}

section div.photos div.photo {
  position: relative;
}

div.caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
	font-size: 10px;
	line-height: 9px;
	font-weight: 700;
	letter-spacing: 3px;
	background: rgba(51, 51, 51, 0.6);
}

section.harkonnen div.caption {
	background: rgba(28, 95, 142, 0.6);
}

section.corrino div.caption {
	background: rgba(86, 59, 122, 0.6);
	/*color: #000;*/
}

section div.photos div.photo img {
	display: block;
	width: 150px;
}