/* Global styles */

/* small screens first */

body{
	font-family: "Myriad Pro", Helvetica, Arial, "sans-serif";
	text-align: center;
	position: relative;
	padding: 0px;
	margin: 0px;
	font-size: 2.25em;
	background-color: #fff;
	}

a:link, a:visited, .link{
	color: #0077d8;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
	}
a:hover, .link:hover{
	color: #50a8ff;
	}

.link-red{
	color: #b50000;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
	}
.link-red:hover{
	color: #ff3333;
	}

hr{
	clear: both;
	padding: 0px;
	margin: 20px 0px 0px 0px;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc; 
	}
h1{
	color: #60aa00;
	padding: 15px 0px 10px 0px;
	margin: 0px 0px 0px 0px;
	font-size: 1.6em;
	text-align: left;
	font-weight: bold;
	}
h2{
	font-weight: normal;
	font-size: 1.3em;
	padding-top: 10px;
	}
h3{
	font-weight: bold;
	font-size: .9;
	padding-top: 10px;
	}
p {
	font-size: .9em;
	}
li, dd {
	font-size: .9em;
	padding-bottom: 3px;
	}
.out{
	display: none;
	}	
.print-only{
	display: none;
	}
#gameWrapper{
	display: block;
	position: relative;
	text-align: left;
	width: 840px;
	padding: 0px 0px 0px 0px;
	margin: 0px auto 30px auto;
	border-bottom: 1px solid #ccc;
	min-height: 200px;
	}
#footer{
	margin: 20px auto 20px auto;
	position: relative;
	text-align: left;
	width: 850px;
	}	
#footer p{
	font-weight: normal;
	font-size: .8em;
	margin: 5px 0px 5px 10px;
	color: #aaa;
	}	
#footer a{
	font-weight: normal;
	color: #aaa;
	}
#footer a:hover{
	color: #50a8ff;
	text-decoration: underline;
	}				

/* scene buttons */
#gameWrapper .buttonIn{
	display: inline-block;
	}
/* anchor links */
.bookmarks{
	padding-bottom: 10px;
}			
/* buttons */	
.sceneButton{
	display: inline-block;
	position: relative;
	padding: 0px 5px 0px 5px;
	border-radius: 0em;
	cursor: pointer;
	font-weight: bold;
	margin-top: 3px;
	margin-left: 0;
	margin-right: 0;
	background-color: #AEDAFF;
	border: 1.5px solid #fff;
	}
.sceneButton p{
	padding: 15px 15px 15px 15px;
	margin: 0px;
	font-size: .9em;
	color: #000;
	}
.sceneButton:hover{
	background-color: #77C2FF;
	transform: scale(1.00);
	z-index: 50;
	transition: all .2s ease-in-out;
	position: relative;
	}
.sceneButton a:hover, .sceneButton a:link, .sceneButton a:visited{
	color: #000;
	}	
.clear{
	clear: both;
	padding: 0px;
	margin: 0px;
	}
/* for quit button */
.quit{
	float: none;
	background-color: #ff3333;
	}	
.quit:hover{
	background-color: #b50000;
	}
.quit a:hover, .quit a:link, .quit a:visited,
.remove a:hover, .remove a:link, .remove a:visited{
	color: #fff;
	}	
.quit p, .remove p{
	color: #fff;
	}	
/* for "Remove Monster from Gallery" button*/	
.remove{
	float: right;
	background-color: #8352a0;
	}	
.remove:hover{
	background-color: #5a3072;
	}	
/* active button */		
.button-active{
	background-color: #b1e254;
	}	
.button-active:hover{
	background-color: #94cc3b;
	}		
/* first, middle, last button */	

.button-first, .button-middle, .button-last{
	border-radius: 0em;
	margin-left: -2px;
	margin-right: -2px;
	}

.float-left{
	padding: 0px;
	margin: 0px 0px 0px 15%;
	width: 70%;
	position: relative;
	clear: both;
	}	
.float-right{
	padding: 0px;
	margin: 0px 0px 0px 15%;
	width: 70%;
	position: relative;
	clear: both;
	}	
.float-right-small{
	padding: 0px;
	margin: 0px 0px 0px 30%;
	width: 40%;
	position: relative;
	}	
.float-left img, .float-right img, .float-right-small img{
	width: 100%;
	}
.float-left p, .float-right p, .float-right-small p{
	padding: 0px;
	margin: 0px;
	color: #aaa;
	font-size: .825em;
	}	
.top-padding{
	padding-top: 20px;
	}

#intro-scene, #credits-scene, #play-scene{
	padding: 5px 20px 20px 20px;
	}

/* Back to top button */
#back-to-top{
	position: fixed;
	width: 3.8em;
	height: 3.8em;
	background-color: rgba(0,0,0,0.45);
	right: 0px;
	bottom: 0px;
	border-radius: 50%;
	text-align: center;
	margin-right: 1em;
	margin-bottom: 1em;
	padding-top: 0em;
	z-index: 1000;
	}
#back-to-top:hover{
	background-color: rgba(0,0,0,0.65);
	}
#tri {
  	width: 0; 
  	height: 0;
  	border-left: 1.2em solid transparent;
  	border-right: 1.2em solid transparent;
  	border-bottom: 1.5em solid #fff;
	margin: auto;
	padding-top: .9em;
	}	


		
/* MAIN SCENE ------------------- */	
#main-scene{
	text-align: center;
	padding: 0px;
	}
#main-scene h1{
	font-family: 'Luckiest Guy';
	text-align: center;
	font-weight: normal;
	font-size: 4.5em;
	line-height: .8em;
	padding: 50px 0px 0px 0px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	}
#main-scene h2{
	font-weight: bold;
	font-size: 1.1em;
	margin: 0px 30px 0px 30px;
	padding: 0px;
	}	

/* ROUND ICONS */		
ul.tripleIcons{
	text-align: center;
	padding: 30px 0px 0px 0px;
	margin: 0px;
	}	
ul.doubleIcons{
	text-align: center;
	padding: 10px 0px 30px 0px;
	margin: 0px;
	}		
ul.tripleIcons li{
	display: inline-block;
	width: 30%;
	padding: 0px;
	margin: 0px auto 0px auto;
	text-align: center;
	vertical-align: top;
	color: #000;
	}
ul.doubleIcons li{
	display: inline-block;
	width: 30%;
	padding: 0px;
	margin: 0px auto 0px auto;
	text-align: center;
	vertical-align: top;
	color: #000;
	}	
ul.tripleIcons li img, ul.doubleIcons li img{
	width: 90%;
	display: block;
	margin: 0px auto 10px auto;
	}		
ul.tripleIcons p.icon-details, ul.doubleIcons p.icon-details{
	line-height: 1.15em;
	margin-top: 10px;
	padding: 0px 5px 0px 5px;
	}

/* FACTS LIST */
#mainFactsWrapper{
	padding-bottom: 20px;
	}
#mainFactsWrapper h3{
	font-weight: bold;
	font-size: 1.5em;
	color: #60aa00;
    border-top: 1px solid #ccc; 
    margin: 0px;
    padding: 30px 0px 0px 0px;
    }	
#mainFactsWrapper p{
	margin-top: 5px;
	line-height: 1.25em;
	margin: 10px 40px 30px 40px;
   	} 



/* GAME PORTION */		

/* Name */
#nameOptions{
	width: 100%;
	padding: 0px;
	margin: 0px 0px 20px 0px;
	text-align: left;
	display: block;
	position: relative;
	clear: both;
	font-size: .95em;
	}	
#nameOptions .title{
	font-weight: bold;
	font-size: 1.2em;
	color: #527ee2;
	margin-bottom: 8px;
	margin-top: 8px;
	}			
#playerName{
	border: none;
	font-size: 1em;
	margin: 3px 0px 20px -3px;
	padding: 0px 3px 0px 3px;
	color: #2d2d2d;
	font-weight: normal;
	display: block;
	position: relative;
	width: 50%;
	}	
/* ICONS */	
#iconWrapper{
	padding: 0px 0px 0px 0px;
	margin: 0px;
	display: inline-block; 
	vertical-align: top;
}		
#buttonSubWrapper{
	float: left;
}
#iconSound, #iconMute{	
	display: none;
	position: relative;
	cursor: pointer;
	margin-top: 8px;
	margin-left: 0px;
	margin-right: 0px;
	padding: 0px;
	vertical-align: top;
	height: 2em;
	}	
#iconInfo{
	cursor: pointer;
	display: inline-block;
	width: 1.6em;
	padding: 0px;
	margin: 5px 0px 0px 5px; 
	}					
#iconSound img, #iconMute img{
	width: 1.6em;
	padding: 0px;
	margin: 0px 0px 0px 5px; 
	}	

.infoBox{	
	background-color: #D4EEFF;
	padding: 5px 20px 15px 20px;
	margin: 30px 0px 20px 0px;
	position: relative;
	display: none;
	clear: both;
	}
.closeX{
	width: 1.25em;
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	}


/* forest background */
#forestWrapper{
	position: relative;
	display: block;
	background-repeat: no-repeat;
	clear: both;
	padding: 0px;
	margin: 5px 0px 0px 0px;
	cursor: none;
	}
.darkForest{
	background-image: url("../assets/images/dark-forest.jpg");
	}
.lightForest{
	background-image: url("../assets/images/light-forest.jpg");
	}

#gameWorld{
	padding: 0px;
	margin: 0px;
	z-index: 0;
	}
/* time */
#timeWrapper{
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: #ffffff;
	display: inline-block;
	padding: 5px 8px 3px 8px;
	margin: 0px;
	pointer-events:none;
	z-index: 30;
	}
#timeWrapper.red{
	color: #ff0000;
	}	
/* moths eaten */	
#mothsEatenWrapper{
	position: absolute;
	top: 1.6em;
	left: 10px;
	background-color: #ffffff;
	display: inline-block;
	padding: 5px 8px 3px 8px;
	margin: 0px;
	pointer-events:none;
	z-index: 30;
	}
#timeWrapper p, #mothsEatenWrapper p{
	padding: 0px;
	margin: 0px;
	font-weight: bold;
	font-size: .75em;
	}

#conclusionWrapper{
	color: #ffffff;
	top: 0px;
	padding-left: 50px;
	padding-right: 50px;
	width: 700px;
	display: block;
	z-index: 20;
	background-color: #000000;
	margin-bottom: 30px;
	}
#conclusion{
	padding-top: 30px;
	}	
#conclusionWrapper h2{
	margin: 0px 0px 15px 0px;
	font-size: 1.2em;
	}	
#conclusionWrapper p{
	font-size: .8em;	
	margin: 15px 0px 20px 0px;
	}
#conclusionWrapper .sceneButton p{
	margin: 0px;
	float: left;
	}	
#printSummary{
	padding-bottom: 40px;
}	
#conclusionWrapper #printSummary h2{
	padding-top: 10px;
	}
#conclusionWrapper input{
	margin-left: 0px;
	margin-right: 10px;
	margin-bottom: 15px;
	padding: 8px;
	font-size: 1em;
	}				
#conclusionWrapper .sceneButton p{
	font-size: .9em;
	}	

#canvasWrapper{
	position: relative;
	width: 800px;
	height: 500px;
	padding: 0px;
	margin: 0px 0px 30px 0px;
	z-index: 20;
}

/* graphs */
#graphWrapper{
	clear: both;
	padding: 30px 0px 0px 0px;
	min-height: 200px;
	}
.graph{
	width: 350px;
	height: 178px;
	padding: 25px 0px 0px 0px;
	margin: 0px 0px 150px 90px;
	position: relative;
	display: block;
	font-size: .6em;
	transform-origin: top left;
	transform: scale(1.5);
	}
.graphCanvas{
	position: absolute;
	top: 25px;
	left: 0px;
	padding: 0px;
	margin: 0px;
	width: 305px;
	height: 125px;
	}
.graphTitle{
	position: absolute;
	top: -5px;
	}	
.graphTitle p{
	font-weight: bold;
	font-size: 1em;
	padding: 0px;
	margin: 0px 0px 5px 0px;
	text-align: center;
	width: 300px;
	}
.graphXTitle p{
	position: absolute;
	font-style: italic;
	width: 300px;
	bottom: 5px;
	padding: 0px;
	margin: 0px;
	text-align: center;
	}
.xIncrements{
	position: absolute;
	padding: 0px;
	left: -3px;
	top: 153px;
	margin: 0px;
	width: 100%;
	}	
.xIncrements p{
	float: left;
	width: 20px;
	padding: 0px;
	margin: 0px 0px 0px 55px;
	}
.xIncrements p.noMargin{
	margin-left: 4px;
	margin-right: -5px;
	}	
.graphYTitle{
	position: absolute;
	top: 75%;
	left: -55px;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	transform-origin: top left;
	-webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
	}
.graphYTitle p{
	font-style: italic;
	padding: 0px;
	margin: 0px;
	}
.yIncrements{
	position: absolute;	
	top: 18px;
	left: -35px;
	}
.yIncrements p{
	text-align: right;
	width: 30px;
	height: 30px;
	padding: 0px;
	margin: 0px;
	}






/* tablet ------------------------------------------- */

@media (min-width:400px) {

	body{
		font-size: 1.35em;
		background-color: #fff;
	}
	
	h1{
		padding: 10px 0px 0px 0px;
		margin: 0px 0px 0px 0px;
		font-size: 2em;

	}

	h2{
		font-size: 1.6em;
	}
	h3{
		font-weight: bold;
		font-size: .95;
	}
	/* buttons */	
	.sceneButton{
		border-radius: 1em;
	}
	.padding1{
		margin-top: 50px;
	}
	.sceneButton p{
		padding: 6px;
	}
	.quit{
	float: right;
	}
	/* first, middle, last button */	
	.button-first{
		border-radius: 1em 0em 0em 1em;
		margin-left: 0px;
		margin-right: -2px;
	}
	.button-middle{
		border-radius: 0em;
		margin-left: -2px;
		margin-right: -2px;
	}
	.button-last{
		border-radius: 0em 1em 1em 0em;
		margin-left: -2px;
		margin-right: 0px;
	}
	#main-scene h1{
		padding: 40px 0px 0px 0px;
		line-height: .8em;
		font-size: 5.25em;
		color: #60aa00;
	}
	#main-scene h2{
		margin: 10px auto 0px auto;
		font-size: 1.2em;
	}	
	ul.tripleIcons li, ul.doubleIcons li{
		font-size: 1em;
		width: 30%;
	}
	ul.tripleIcons p.icon-details, ul.doubleIcons p.icon-details{
		line-height: 1.15em;
		margin-top: 10px;
	}		
	#buttonSubWrapper{
		float: left;
	}

	#footer{
		margin: 0px auto 20px auto;
	}
	.float-left{
		padding: 0px 40px 20px 0px;
		margin: 0px;
		width: 45%;
		float: left;
	}
	.float-right{
		padding: 0px 0px 20px 40px;
		margin: 0px;
		width: 45%;
		float: right;
	}	
	.float-right-small{
		padding: 40px 0px 20px 40px;
		margin: 0px;
		width: 30%;
		float: right;
	}

	/* play */
	#mothsEatenWrapper{
		top: 2.1em;
	}
	.infoBox{	
		margin: 5px 0px 10px 0px;
	}
	#canvasWrapper, #conclusionWrapper{
		margin: 0px 0px 20px 0px;
	}	
	#graphWrapper{
		padding: 0px 0px 30px 0px;
		margin: 0px 0px 0px 0px;
	}
	.graph{
		width: 100%;
		width: 350px;
		padding: 25px 0px 0px 0px;
		margin: 30px 0px 0px 50px;
		position: relative;
		display: block;
		transform: none;
		font-size: 1em;
		float: left;
	}
	.graphYTitle{
		left: -60px;
	}	
	.graphXTitle p{
		bottom: 5px;
	}
	#conclusionWrapper{
		padding-left: 50px;
		padding-right: 50px;
		width: 700px;
	}
	#conclusionWrapper h2{
		font-size: 1.3em;
	}	
	#conclusionWrapper p{
		font-size: .95em;	
	}
	#conclusionWrapper input{
		padding: 5px;
	}

	#timeWrapper p, #mothsEatenWrapper p{
		font-size: .85em;
	}

}







/* larger screens ------------------------------------------- */
@media (min-width:850px) {
	
		
	body{
		font-size: 1em;
		background-color: #fff;
		}
	#gameWrapper{
		margin: 10px auto 10px auto;
		border: 1px solid #ccc;
	}		
	#main-scene h1{
		padding: 10px 0px 0px 0px;
		line-height: 1em;
	}
	ul.tripleIcons li, ul.doubleIcons li{
		width: 21%;
	}

	.float-left{
		width: 35%;
		padding: 0px 30px 0px 0px;
	}
	.float-right{
		width: 35%;
		padding: 0px 0px 10px 30px;
	}	
	.float-right-small{
		padding: 0px 0px 10px 40px;
		width: 23%;
	}

	/* play */
	#mothsEatenWrapper{
		top: 2.4em;
	}
	.graph{
		font-size: 1.05em;
	}
	.graphTitle{
		position: absolute;
		top: -5px;
	}
	.graphYTitle{
		left: -45px;
	}
	.graphXTitle p{
		bottom: 15px;
	}
	#canvasWrapper, #conclusionWrapper{
		margin: 0px 0px 0px 0px;
	}	
	#conclusionWrapper h2{
		margin: 10px 0px 0px 0px;
		font-size: 1.5em;
	}	
	#conclusionWrapper p{
		font-size: 1em;	
		margin: 20px 0px 20px 0px;
	}

	

}
