@font-face {
	font-family: 'TeXGyreAdventor-Regular';
	src: url('fonts/TeXGyreAdventor-Regular.eot?#iefix') format('embedded-opentype'),  url('fonts/TeXGyreAdventor-Regular.otf')  format('opentype'),
		url('fonts/TeXGyreAdventor-Regular.woff') format('woff'), url('fonts/TeXGyreAdventor-Regular.ttf')  format('truetype'), url('fonts/TeXGyreAdventor-Regular.svg#TeXGyreAdventor-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'LocalIcons';
	src: url('fonts/icons.eot?#iefix') format('embedded-opentype'),
		url('fonts/icons.woff') format('woff'), url('fonts/icons.ttf')  format('truetype'), url('fonts/icons.svg#icons') format('svg');
	font-weight: normal;
	font-style: normal;
}

html, body {
	width: 100vw;
	height: 100vh;
	background-color: #1f1f1f;
	color: #fff;
	font-family: 'TeXGyreAdventor-Regular';
	overflow: hidden;
	display: inline-block;
	position: relative;
	padding: 0;
	margin: 0;
}

a {
	text-decoration: none;
	color: #fff;
}

a:visited {
	color: #fff;
}

a:hover {
	text-decoration: underline;
}

@media (orientation: landscape) {
	body > .photos {
		width: 150vw;
	}

	body > .photos > .cell > a > img {
		height: 50vh;
	}
}

@media (orientation: portrait) {
	body > .photos {
		width: 170vw;
	}

	body > .photos > .cell > a > img {
		height: 50vw;
	}
}

body > .photos {
	font-size: 0;
	line-height: 0;
}

body > .photos > .cell > a > img {
	opacity: 0.5;
	transition: 0.3s;
}

.icon {
	font-family: "LocalIcons";
	line-height: 3vh;
}

body > .photos > .cell {
	display: inline-block;
	overflow: hidden;
	line-height: 0px;
}

body > .photos > .cell > a > img:hover {
	transform: scale(1.2);
	opacity: 1.0;
}

body > .card-details {
	position: absolute;
	bottom: 0px; left: 0px;
	font-size: 4vh;
	margin: 2vh;
	text-shadow:
		0px 0px 0.5vh #000000,
		0px 0px 0.5vh #000000,
		0px 0px 0.5vh #000000,
		0px 0px 0.5vh #000000;
}

body > .card-details > img {
	height: 4vh;
}

body > .card-details > .name {
	font-size: 8vh;
	line-height: 7vh;
}

body > .photo-details {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom 0;
}

body > .photo-details > div {
	display: block;
	visibility: hidden;
	z-index: 999;
	transition: 0.3s;
	position: absolute;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	text-align: center;
	opacity: 0;
	background-color: rgba(0,0,0,0.7);
}

body > .photo-details > div:target {
	visibility: visible;
	display: block;
	opacity: 1;
}

body > .photo-details > div > .frame > a::before {
	content: "×";
}

body > .photo-details > div > .frame > a {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	padding: 2vh;
	font-size: 5vh;
	line-height: 0;
}

body > .photo-details > div > .frame {
	position: relative;
	width: 100vw;
	height: 100vh;
}

body > .photo-details > div > .frame > img {
	position: absolute;
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}
