/* 

	GLOBAL and UTILS

*/

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
	background-color: #294831;
	/* background: url('../images/layer-backgrounds/emergent.jpg'); */
	background-position: center;
	background-attachment: scroll;
	background-repeat: no-repeat;
	/* background-size: cover; */
	color: white;
}

.backgroundContainer {
	content: "";
	position: fixed;
	/* stretch a fixed position to the whole screen */
	top: 0;
	height: 100vh;
	/* fix for mobile browser address bar appearing disappearing */
	left: 0;
	right: 0;
	z-index: -1;
	/* needed to keep in the background */
	/* background: url(https://www.w3schools.com/css/trolltunga.jpg) center center; */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.bodyLayerEmergent {
	background: url(../images/layer-backgrounds/emergent.jpg) center center;
}

.bodyLayer {
	background: url(../images/layer-backgrounds/canopy.jpg) center center;
}

div {
	/* for debugging only ---------------------*/
	/* border: 1px dotted white; */
}

.section {
	/* border: 1px solid red; */
	overflow: hidden;
}

/*

	For MOBILE AND TABLET, make all the screens statically positioned instead of absolute

*/

@media screen and (max-width:1023px) {
	.nrfi-down-button {
		display: none;
	}
	.nrfi-bottom-gradient-footer-mobile {
		position: fixed;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 60px;
		background: linear-gradient(0deg, rgba(0, 0, 0, 0.8813900560224089) 0%, rgba(0, 0, 0, 0) 95%);
	}
	article {
		position: static !important;
		padding-bottom: 44px;
	}
	#screen-0 {
		position: relative !important;
	}
	.nrfi-intro-screen {
		height: auto !important;
	}
	.nrfi-sidenav-container {
		display: none;
	}
	.nrfi-tree-nav {
		display: none;
	}
	.nrfi-layer-nav {
		display: none;
	}
	.nrfi-screen-credits {
		padding-bottom: 0!important;
	}
}

/*

	iPad screen height fix

*/

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
	article {
		min-height: 100vh;
		min-height: -webkit-fill-available;
	}
}

/*

	HEADER

*/

.nrfi-fixed-header {
	position: fixed;
	z-index: 7005;
	top: 0;
	width: 100vw;
	display: flex;
	justify-content: space-between;
	padding: 12px 12px 12px 24px;
	/* background-color: black; */
	color: white;
	font-family: 'Alfa Slab One', cursive;
	background: rgb(0, 0, 0);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.6208858543417367) 0%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0) 100%);
}

.nrfi-fixed-header-title {
	display: none;
	/* text-transform: uppercase; */
	/* letter-spacing: 3px; */
	letter-spacing: 1px;
}

.nrfi-fixed-header-title:hover {
	cursor: pointer;
}

.nrfi-fixed-header-menu {
	display: none;
	margin-right: 1em;
}

.nrfi-fixed-header-menu a {
	color: white;
}

.nrfi-fixed-header-menu:hover {
	cursor: pointer;
}

/*

	MUTE / UNMUTE BUTTON

*/

.nrfi-mute-button {
	position: fixed;
	display: block;
	z-index: 7003;
	bottom: 6px;
	left: 6px;
	cursor: pointer;
	color: black;
	opacity: 0;
}

.nrfi-mute-button:hover {
	opacity: 1;
	transition: opacity .5s ease-out;
}

.nrfi-mute-button-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	color: white;
}

/*

	DOWN ARROW BUTTON

*/

.nrfi-down-button {
	opacity: 0;
	z-index: 7004;
	cursor: pointer;
	position: fixed;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 3em;
	text-align: center;
}

.nrfi-down-button span {
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	font-size: 0.4em;
}

/*

	CHOOSER SCREEN

*/

.nrfi-intro-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	display: none;
}

.nrfi-screen-chooser-image-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	filter: blur(18px);
	transform: scale(1.1);
}

.nrfi-screen-chooser-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nrfi-chooser-content {
	height: 80%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	font-family: 'Montserrat', sans-serif;
	color: white;
	font-size: 1em;
}

.nrfi-chooser-content-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.nrfi-chooser-title {
	font-weight: 200;
	font-size: 1.5em;
	padding: 1em;
}

.nrfi-chooser-top-title-container {
	display: inline-block;
}

.nrfi-chooser-top-title {
	font-family: 'Alfa Slab One', cursive;
	font-size: 8.5vw;
	line-height: 1.1em;
	padding-top: 1em;
	padding-left: 0;
}

.nrfi-chooser-top-title-bar {
	height: 16px;
	background-color: #f07d4a;
	margin-top: -12px;
}

.nrfi-chooser-sub-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	font-size: 4vw;
	text-transform: uppercase;
	padding-bottom: 2em;
}

.nrfi-start-btn {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 1em;
	color: white;
	text-transform: uppercase;
	border: none;
	padding: 1em 1em 1em 1em;
	background-color: black;
	margin: 4px;
	width: 90%;
}

.nrfi-start-btn:hover {
	cursor: pointer;
	color: black;
	background-color: #f07d4a;
}

.nrfi-start-btn-loading {
	background-color: rgba(0, 0, 0, 0.5);
}

.nrfi-chooser-bottom-text {
	text-transform: uppercase;
	margin-bottom: 1em;
}

/* CHOOSER SCREEN DESKTOP */

@media screen and (min-width:1024px) {
	.nrfi-chooser-top-title {
		font-size: 4vw;
	}
	.nrfi-chooser-top-title-bar {
		height: 16px;
		margin-top: -12px;
	}
	.nrfi-chooser-sub-title {
		display: block;
		font-size: 1.25vw;
		margin: 1em 0 4em 0;
	}
}

/*

	INTRO SCREEN

*/

.nrfi-intro-screen-padding {
	flex: 0 1 0;
}

.nrfi-intro-screen-content {
	flex: 1 0 100%;
}

.nrfi-main-graf {
	margin: 0 auto;
	padding: 3em 1.5em;
}

.nrfi-main-title-container {
	margin-top: 20px;
}

.nrfi-main-title {
	position: relative;
	font-family: 'Alfa Slab One', cursive;
	font-size: 15vw;
	line-height: 1.1em;
	padding-top: 1em;
	padding-left: 0.25em;
	text-align: left;
}

.nrfi-main-title-sub {
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	font-size: 4.5vw;
	text-transform: uppercase;
	text-align: left;
	padding-bottom: 2em;
}

.nrfi-main-graf {
	margin: 0 auto;
	padding: 1em 1em;
}

.nrfi-main-graf p {
	font-family: 'Montserrat', sans-serif;
	font-weight: 100;
	font-size: 1em;
	line-height: 1.5em;
}

.nrfi-main-title-bottom-bar {
	position: absolute;
	z-index: 1200;
	width: 1600px;
	left: 0;
	/* top: 0; */
	background-color: #f17d4a;
	height: 2em;
	margin-top: -20px;
}

.nrfi-intro-screen-content {
	position: relative;
	z-index: 1201;
	/* max-width: 1024px; */
	max-width: 100%;
	flex: 1 0 auto;
}

.nrfi-chooser-bottom-text, .nrfi-chooser-bottom-graphic {
	display: none;
}

.nrfi-intro-screen-map {
	display: none;
}

/* INTRO SCREEN - DESKTOP */

@media screen and (min-width: 1024px) {
	.nrfi-intro-screen {
		display: flex;
		justify-content: left;
		position: relative;
		overflow: hidden;
	}
	.nrfi-main-item {
		display: flex;
		justify-content: center;
		font-family: 'Montserrat', sans-serif;
	}
	.nrfi-main-title-container {
		display: flex;
		flex: 0 1 auto;
		position: relative;
		justify-content: center;
		/* margin-top: 120px; */
	}
	.nrfi-main-title {
		/* font-size: 7.5em; */
		font-size: 7.5vw;
		line-height: 1em;
	}
	.nrfi-main-title-container-inner {
		position: relative;
	}
	.nrfi-main-title-bottom-bar {
		height: 3em;
		margin-top: 0;
	}
	.nrfi-main-title-sub {
		font-size: 1.8em;
		letter-spacing: 0.1em;
		padding: 0;
		display: block;
	}
	.nrfi-main-graf {
		margin: 0 auto;
		/* padding: 1em 17%; */
		padding: 1em;
		width: 65%;
	}
	.nrfi-main-graf p {
		font-size: 1.1em;
		line-height: 1.5em;
		padding-top: 1em;
	}
	.nrfi-intro-screen-map {
		/* flex: 1 1 100%; */
		display: block;
	}
	.nrfi-intro-screen-map img {
		/* height: 90%; */
		width: 32vw;
		height: auto;
		position: relative;
		top: 50%;
		transform: translateY(-40%);
	}
	.nrfi-chooser-bottom-text, .nrfi-chooser-bottom-graphic {
		display: block;
	}
	.nrfi-start-btn {
		width: auto;
		padding: 1em 3em 1em 3em;
	}
	.nrfi-chooser-title {
		padding: 0;
	}
	.nrfi-intro-screen-content {
		max-width: 60%;
		flex: 1 0 auto;
	}
}

/* WIDE BUT SHORT SCREENS */

@media only screen and (max-height:830px) and (min-width:1200px) {
	/* * { background-color: yellow;} */
	.nrfi-main-title {
		font-size: 14vh;
	}
	.nrfi-main-graf {
		width: 80%;
	}
}

/* INTRO SCREEN - IPAD */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
	.nrfi-intro-screen-content {
		z-index: 1201;
		max-width: 620px;
		flex: 1 0 auto;
	}
	.nrfi-main-title {
		font-size: 5.5em;
		padding-top: 0.6em;
		padding-left: 0;
	}
	.nrfi-main-title-sub {
		font-size: 1.5em;
	}
	.nrfi-main-graf {
		margin: 0;
		width: 85%;
	}
	.nrfi-main-graf p {
		line-height: 1.25em;
	}
	.nrfi-main-graf p.nrfi-main-graf-warning {
		font-size: 0.7em;
	}
	.nrfi-intro-screen-map img {
		height: 65%;
	}
	.nrfi-chooser-bottom-text, .nrfi-chooser-bottom-graphic {
		display: none;
	}
}

/*

	SIDENAV

*/

.nrfi-tree-nav {
	opacity: 0;
	position: fixed;
	top: 60px;
	right: 8px;
	width: 90px;
	height: 120px;
	background: url('../images/tree-nav-small.png') no-repeat;
	background-size: contain;
}

.nrfi-tree-nav-marker {
	display: block;
	width: 120px;
	height: 16px;
	/* 1/5th of tree height */
	background-color: rgba(241, 125, 74, 0.75);
}

.nrfi-layer-nav {
	position: fixed;
	top: 44px;
	right: 30px;
	display: flex;
	align-items: center;
	height: 100%;
	/* width: 60px; */
	z-index: 9000;
}

.nrfi-layer-nav ul {
	list-style-type: none;
	margin: 0;
}

.nrfi-layer-nav li {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	/* font-size: 1.25em;
	line-height: 1.25em; */
	text-align: right;
	/* filter: grayscale(100%); */
	margin-bottom: 6px;
	border-radius: 20px;
	padding-left: 12px;
	height: 40px;
	line-height: 40px;
}

.nrfi-layer-nav li:hover {
	background-color: rgba(0, 0, 0, 0.5);
}

.nrfi-layer-nav svg {
	width: 40px;
	height: 40px;
	float: right;
	vertical-align: middle;
}

.nrfi-circle-layer-link:hover {
	cursor: pointer;
}

.nrfi-layer-link-hover-title {
	display: inline-block;
	font-size: 1em;
	padding-right: 8px;
}

/*

	SCREENS

*/

.nrfi-container {}

.screens {
	position: relative;
}

.screen {
	padding-top: 3em;
	position: relative;
	height: 100vh;
}

/* old attempt to use scroll-snap css */

/* kept here for posterity            */

html {
	/* scroll-snap-type: mandatory; */
	/* scroll-snap-points-y: repeat(100vh); */
	/* scroll-snap-type: both mandatory; */
}

.section {
	/* scroll-snap-align: start; */
	/* scroll-snap-stop: always; */
}

/*

	AUDIO PLAYER

*/

.nrfi-play-audio {
	display: inline-block;
	text-align: left;
}

.nrfi-play-audio:hover {
	cursor: pointer;
}

.nrfi-play-audio:hover i {
	text-shadow: 0 0 3px #fff;
}

.nrfi-play-my-sound-text, .nrfi-audio-progress-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	padding-bottom: 2px;
}

.nrfi-audio-progress-container {
	display: none;
	float: right;
	padding-left: 4px;
}

.nrfi-audio-progress-bar-container {
	width: 200px;
	height: 10px;
	border-radius: 5px;
	background-color: #888988;
}

.nrfi-audio-progress-bar {
	width: 0;
	height: 10px;
	border-radius: 5px;
	background-color: white;
}

/* WIDE BUT SUPER SHORT SCREENS */

@media only screen and (max-height:700px) and (min-width:1025px) {
	/* * { background-color: yellow;} */
	.nrfi-main-title {
		font-size: 3.5em;
	}
	.nrfi-main-title-sub {
		font-size: 1em;
	}
	.nrfi-main-graf {
		width: 96%;
		font-size: 0.8em;
	}
	.nrfi-intro-screen-map img {
		top: 20px;
		transform: translateY(0);
	}
}