html, body {
	width: 100%;
	height: 100%;
	margin: 0;

	background: linear-gradient(#345f7c 0%, #345f7c 20%, #833377 40%,#000000 80%), #345f7c;
	user-select: none;
	-webkit-user-select: none;
	overflow: hidden;

	color: white;

	touch-action: none;

	font: 1vh "Geogrotesque";
	font-weight: 400;
	letter-spacing: 0.08vh;
	line-height: 1.4;
}

body * {
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-moz-text-size-adjust: none;


	user-select: none;
	-webkit-user-select: none;
}

.font-extra-light {
	font-weight: 200;
}

.font-regular {
	font-weight: 300;
}

.font-bold {
	font-weight: 600;
}

#canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: opacity 1s;
}

#canvas.hidden {
	opacity: 0;
	transition: none;
}

.overlay {
	pointer-events: none;

	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	height: 100%;

	opacity: 100% !important;
}

.text-very-large {
	font-size: 5vh;
}

.text-large {
	font-size: 3vh;
}

.text-medium-large {
	font-size: 2.2vh;
}

.text-medium {
	font-size: 1.8vh;
}

.text-small {
	font-size: 1.5vh;
}

.overlay.hidden {
	pointer-events: none !important;
	opacity: 0% !important;
}

.overlay.hidden * {
	pointer-events: none !important;
}

#general-overlay {
	transition: opacity 1s;
	opacity: 100%;
}

#general-overlay.hidden {
	transition: unset;
}

#general-overlay.faded {
	opacity: 30%;
}

.right-top-corner {
	position: absolute;
	top: 3.4vh;
	right: 3.4vh;
}

.title-text {
	position: absolute;
	top: 3vh;
	width: 100%;
	text-align: center;
}

#info-icon {
	pointer-events: all;

	padding: 1vh;
	margin: -1vh;

	width: 3.5vh;
	height: 3.5vh;
}

#info-icon.blink {
	animation: icon-blink 2s 0s 2;
}

@keyframes icon-blink {
	20% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	80% {
		opacity: 1;
	}
}

#stopwatch {
	pointer-events: none;

	position: absolute;
	bottom: 2vh;

	width: 100%;

	display: flex;
	flex-direction: column;
	align-items: center;
}

#stopwatch-icon {
	display: none;
	pointer-events: none;
	width: 4vh;
}

.logos {
	display: flex;
	justify-content: space-around;
	position: absolute;
	bottom: 4vh;
	width: 80vw;
}

.logos img {
	max-height: 3.5vh;
}

.logos .kollision-icon {
	transform: translate(0%, 5%);
}

#stopwatch-time {
	pointer-events: none;

	margin-top: 1vh;
}

#start-overlay {
	pointer-events: all;

	display: flex;
	flex-direction: column;

	justify-content: flex-end;
	align-items: center;

	transition: opacity 2s;

	background: linear-gradient(0deg, rgba(0,0,0,1) -10%, rgba(0,0,0,0) 100%) no-repeat;
}

#start-overlay.hidden {
	transition: none;
}

.text-headline {
	margin-bottom: 0.5rem;
}

#start-overlay-swipe-text {
	display: flex;
	flex-direction: column;

	justify-content: flex-end;
	align-items: center;

	width: 100vh;
	height: 20vh;

	margin-bottom: 5vh;
}

#start-overlay-swipe-text * {
	text-align: center;
}

#start-overlay-swipe-hand {
}

#hand-icon {
	position: absolute;
	top: 53%;
	left: calc(10.5*100vw/13);

	transform: translate(-40%, 0);
	width: 6vh;
}

#hand-icon.animated {
	animation: 3s ease 0s infinite hand-opacity;
	opacity: 0%;
}

@keyframes hand-slide {
	0%{
		transform: translateY(0);
	}	
	60%{
		transform: translateY(-20vh);
	}
	100% {
		transform: translateY(-20vh);
	}
}

@keyframes hand-opacity {
	0%{
		opacity: 30%;
	}	
	60%{
		opacity: 100%;
	}
	100% {
		opacity: 30%;
	}
}

#start-overlay-arrow {
	position: absolute;
	bottom: 35vh;

	display: none;
}

#arrow-icon {
	width: 16vh;

	animation: 3s ease-out 0s infinite arrow-slide, 3s ease 0s infinite arrow-opacity;
	opacity: 10%;
}

@keyframes arrow-slide {
	0%{
		transform: translateY(0);
	}
	100% {
		transform: translateY(-10vh);
	}
}

@keyframes arrow-opacity {
	0%{
		opacity: 0%;
	}	
	60%{
		opacity: 20%;
	}
	100% {
		opacity: 0%;
	}
}

#out-of-time-overlay {
	pointer-events: all;

	display: flex;
	flex-direction: column;

	justify-content: center;
	align-items: center;

	background: linear-gradient(0deg, rgba(0,0,0,1) -10%, rgba(0,0,0,0) 100%) no-repeat,
	linear-gradient(180deg, #345f7c 0%, #345f7c 20%, #833377 40%, #000000 80%) no-repeat;
}

.header {
	margin-bottom: 3vh;
	width: 80vw;
	text-align: center;
}

.subtext {
	width: 80vw;
	text-align: center;
}

.spacer {
	display: inline-block;
	min-height: 15vh;
	max-height: 15vh;
	min-width: 10vw;
	max-width: 10vw;
}

.try-again-button {
	position: absolute;
	bottom: 20vh;
}

button {
	display: flex;
	flex-direction: row;

	justify-content: center;
	align-items: center;

	border: 2px solid white;
	background: #002232;
	padding: 2vh 2vh;

	width: 25vh;
}

button span {
	pointer-events: none;
	display: inline-block;
	color: white;
	margin-right: 2vh;
}

#photo-overlay {
	background-color: black;
}

#photo-overlay.hidden {
	transition: opacity 1.5s;
}

#sketch-overlay {
	mask: linear-gradient(-10deg, #000 50%, #0000 0) 90% 90% / 200% 200% no-repeat;
  
	mask-position: 90% 90%;
  	transition: mask-position 1s linear, opacity 6s 3s;

	opacity: 0.15 !important;
}

#sketch-overlay.hidden {
	mask-position: 10% 10%;
	transition: unset !important;
	opacity: 1 !important;
}

#chimney-sketch {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	height: 75vh;
}

#chimney-photo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 75vh;
}

#queue-overlay {
	pointer-events: all;
	
	display: flex;
	flex-direction: column;

	justify-content: center;
	align-items: center;

	background: linear-gradient(0deg, rgba(0,0,0,1) -10%, rgba(0,0,0,0) 100%) no-repeat,
				linear-gradient(180deg, #345f7c 0%, #345f7c 20%, #833377 40%, #000000 80%) no-repeat;
}

#queue-overlay div {
	text-align: center;
	width: 80vw;

	font-weight: 200;
	letter-spacing: 0.1em;
}

#no-service-overlay {
	pointer-events: all;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	background: linear-gradient(0deg, rgba(0,0,0,1) -10%, rgba(0,0,0,0) 100%) no-repeat,
	linear-gradient(180deg, #345f7c 0%, #345f7c 20%, #833377 40%, #000000 80%) no-repeat;
}

#info-overlay {
	pointer-events: all;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	background: linear-gradient(0deg, rgba(0,0,0,1) -10%, rgba(0,0,0,0) 100%) no-repeat,
				linear-gradient(180deg, #345f7c 0%, #345f7c 20%, #833377 40%, #000000 80%) no-repeat;
}

#info-overlay-text {
	margin-top: 5vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#info-overlay-text span {
	text-align: center;
	width: 80vw;
	margin-bottom: 2vh;
}

#close-icon {
	pointer-events: all;

	padding: 1vh;
	margin: -0.1vh;

	width: 2vh;
	height: 2vh;
}