* {
	margin: 0;
	padding: 0;

	user-select: none;
	user-drag: none;

	touch-action: manipulation;/*fix photoswipe double-tap issue*/
}

*:focus {
	outline: 0 !important;
	box-shadow: none !important;
}

italic {
	font-style: italic;
}

html, body {
	width: 100%;
	height: 100%;

	background-color: #000;

	overflow: hidden;
}

a {
	font-family: Source Sans Pro, sans-serif;
}

video {
	position: absolute;
}
video.cover {
	height: 100%;
	width: 177.77777778vh; /* 100 * 16 / 9 */
	min-width: 100%;
	min-height: 56.25vw; /* 100 * 9 / 16 */

	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

#loader {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #000;
	color: #fff;
	z-index: 9999;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#timeout {
	z-index: 9998;
}

#restart {
	z-index: 9997;
}

#interface {
	z-index: 9996;
}

#content {
	z-index: 0;

	width: 100%;
	height: 100%;
}

#credits {
	width: 100%;
	height: 100%;

	position: absolute;
	z-index: 9997;

	background-position: center;
	background-size: cover;

	transition: opacity 0.5s ease-in-out;

	opacity: 0;
	pointer-events: none;
}
#credits.active {
	opacity: 1;
	pointer-events: auto;
}