/************************************************
 * full page background
 */
body {
	padding: 0;
	margin: 0;

	overflow: hidden;
}

.shower {
	background: url("img/shower.jpg");
	background-repeat: no-repeat;
	background-position: left bottom;
	background-attachment: fixed;
	background-size: cover;
}

.plain {
	background-color: #555555;
}






/************************************************
 * title
 */
.title {
	position: absolute;
	left: 20vw;
	top: 15vh;
}

.title img {
	width: 23vw;
	max-width: 300px;
	height: auto;

	z-index: 1;

	/* pulsating black shadow */
	filter: drop-shadow(0 0 0 rgba(0, 0, 0, 1));
	animation: title-pulse 3s infinite;
	animation-delay: 2.5s;
}

@keyframes title-pulse {
	0% {
		filter: drop-shadow(0 0 0 rgba(0, 0, 0, 1)) brightness(1.2);
	}

	70% {
		filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0));
	}

	100% {
		filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
	}
}

.title img:hover {
	/*filter: drop-shadow(0 0 10px black);*/
	cursor: pointer;
}



/************************************************
 * score
 */
.score {
	position: absolute;
	right: 20vw;
	top: 15vh;
}

.score img {
	width: 15vw;
	max-width: 300px;
	height: auto;

	z-index: 1;

	/* pulsating white shadow */
	filter: drop-shadow(0 0 0 rgba(255, 255, 255, 1));
	animation: score-pulse 3s infinite;
	animation-delay: 2s;
}

@keyframes score-pulse {
	0% {
		filter: drop-shadow(0 0 0 rgba(255, 255, 255, 1)) brightness(1.2);
	}

	70% {
		filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0));
	}

	100% {
		filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
	}
}

.score img:hover {
	/*filter: drop-shadow(0 0 10px black);*/
	cursor: pointer;
}




/************************************************
* video iframes and links
*/
#video {
	position: absolute;
	top: 0;
	left: 0;

	visibility: hidden;
	opacity: 0;

	width: 100vw;
	height: 100vh;

	z-index: 2;
}

.target {
	position: fixed;
	transform: translate(-50%, 0);

	visibility: hidden;
}

.target img {
	width: 100%;
	height: auto;
	opacity: 0.9;

	/* pulsating white shadow */
	filter: drop-shadow(0 0 0 rgba(255, 255, 255, 1));
	animation: target-pulse 3s infinite;
	animation-delay: 3s;
}

@keyframes target-pulse {
	0% {
		filter: drop-shadow(0 0 0 rgba(255, 255, 255, 1)) brightness(1.2);
		/*transform: scale(1);*/
	}

	70% {
		filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0));
	}

	100% {
		filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
		/*transform: scale(0.98);*/
	}
}

.target img:hover {
	cursor: pointer;
	/*filter: drop-shadow(0 0 10px white);*/
}



/************************************************
 * back button for Matterport viewer and flute video
 */
.back {
	position: absolute;
	top: 5vh;
	left: 48vw;

	visibility: hidden;

	z-index: 3;
}

.back img {
	width: 5vw;
	height: auto;
}

.back img:hover {
	cursor: pointer;
	filter: drop-shadow(0 0 10px white);
}



/************************************************
 * sliding text
 */
.text {
	margin: 0 20vw 0 20vw;
	/*padding: 2em 1em 1em 1em;*/
	background-color: rgba(0, 0, 0, 0.8);
	border: 1px solid #000000;

	color: #CCCCCC;
	font-size: 1.2em;
	font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

	position: absolute;
	top: 50%;
	height: 50%;
	overflow-y: auto;
	transition: all 0.5s;
}

.text:hover {
	cursor: s-resize;
}

.close {
	top: 100%;
	height: 0;
}

.text p {
	padding-left: 1em;
	padding-right: 1em;
}

.text a {
	color: #FFFFFF;
}
