/*
 * Copyright 2016 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
body {
  margin: 0;
}
h1, h2 {
  font-family: 'Lora', serif;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
}
h1, h2, p {
  margin: 1rem;
}
p.caption {
  font-size: 0.7rem;
  margin-bottom: 0;
  margin-top: 0;
  font-family: 'Lora', serif;
}
iframe { 
	border: 0;
	width: 100% !important;
	height: 100vh !important;
	margin: 0 !important;
}
/* MOBILE */
@media screen and (max-width: 600px) {
  iframe {
    height: 240px;
  }
	
	
	
	
}
/* DESKTOP */
@media screen and (min-width: 600px) {
  iframe {
    height: 400px;
    width: 700px;
    margin: 1rem auto;
    display: block;
  }
  h1, h2, p {
    width: 700px;
    margin: 1rem auto;
  }
}


html
{
	height: 100%;
	background-color: black;
}
body
{
	margin: 0;
	height: 100%;
}
header
{
	height: 100vh;
	background-size: cover;
}
.background
{
	height: 100%;
	width: 100%;
	position: absolute;
	background-image: url(../images/prison_sketch.jpg);
	background-position: 50% 0;
	background-size: cover;
}


/* STUFF FOR SPLASH PAGE */
/* STUFF FOR SPLASH PAGE */
/* STUFF FOR SPLASH PAGE */
.content
{

	margin-top: 20vh;
	
}

.home
{
	height: 100%;
	width: 100%;
	
	position: absolute;
	top: 0;
	opacity: 1.0;
	
	background-image: url(../images/home/home_bg.jpg);
	background-position: 50% 0;
	background-size: cover;
	
	color: whitesmoke;
	text-align: center;
}

.instructions
{
	width: 15em;
	display: inline-block;
}

#title
{
	font-size: 6em;
	font-family: 'Six Caps', sans-serif;
	margin-bottom: -30px;
}

#sub-title
{
	font-size: 1.5em;
	font-family: 'Shadows Into Light', cursive;
}

.paragraph
{
	font-size: 1.4em;
	font-family: 'Shadows Into Light', cursive;
	width: auto;
	font-weight: bold;
}



.loading
{
	width: 20vh;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.play
{
	text-decoration: none;	
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	display: none;
}
h3
{
	color: white;
	font-family: sans-serif;
	position: relative;
	text-align: center;
	font-size: 1.4em;
	line-height: 75px;
	margin: 0;
}

.play_button
{
	height: 40px;
	width: 100px;
	border: 2px solid white;
    border-radius: 50px;
	margin: auto;
}
.play_button h3
{
	line-height: 40px;
	font-family: 'Shadows Into Light', cursive;
}

.play_button:hover
{
	background-color: white;
}
.play_button:hover h3
{
	color: black;
	cursor: pointer;
}

@media screen and (max-width: 700px) {
	
.content
{

	margin-top: 2vh;
	
}
	
#title
	{
		font-size: 5em;
		margin-top: 0;
	}
	
#sub-title
	{
		font-size: 1em;
		margin-bottom: 10px;
	}

.instructions
{
	width: 10em;
}

.paragraph
{
	font-size: 1.0em;
	font-family: 'Shadows Into Light', cursive;
	width: auto;
	margin: 0;
	
}
	

.instructions img
{
	width: 50%;
}

.cursor
{
	width: 30% !important;
}

.play_button
{
	margin-top: 20px;
}
	
}

@media screen and (max-width: 450px) {

.content
{

	margin-top: 7vh;
	
}
	
}

@media screen and (max-width: 350px) {

	
.instructions
{
	width: 8em;
}
	
}

/* STUFF FOR SPLASH PAGE */
/* STUFF FOR SPLASH PAGE */
/* STUFF FOR SPLASH PAGE */



.start
{
	height: 40px;
	width: 100px;
	border: 2px solid white;
    border-radius: 50px;
	
}

.start h3
{
	font-family: 'Shadows Into Light', cursive;
	line-height: 40px;
}

.start:hover
{
	background-color: white;
}
.start:hover h3
{
	color: black;
	cursor: pointer;
}
.art
{
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100vh;
	text-align: center;
	color: white;
	text-decoration: none;
}
.background
{
	top: 0;
	/*for now*/
	opacity: 1.0;
}

.cell_note
{
    width: 50%;
	height: 100vh;
	
	background-repeat: no-repeat;
	background-size:  contain;
	background-position: center;
	
	display: none;
	
	position: absolute;
	z-index: 1;
	top: 0;
	left: 50%;
	transform: translate(-50%,0%);
}

#cell_note{
	background-image: url(../images/cell_note_compressed_more.png);
}

#noose_note{
	background-image: url(../images/noose_note.png);
}

#makeup_note{
	background-image: url(../images/makeup_note.png);
}

#breaker_note{
	background-image: url(../images/breaker_note.png);
}

#box_note{
	background-image: url(../images/box_note.png);
}

#official1{
	background-image: url(../images/Oct11.png);
	height: 90vh;
	top: 5%;
}

#official2{
	background-image: url(../images/Oct15.png);
	height: 90vh;
	top: 5%;
}

#official3{
	background-image: url(../images/Oct23.png);
	height: 90vh;
	top: 5%;
}

#journal{
	width: 1200px;
	height: 800px;
	
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	
	background-repeat: no-repeat;
	background-size:  contain;
	background-position: center;
	background-image: url(../images/Journal_compressed.png);
	
	display: none;
}

.note1{
	width: 50%;
	height: 50%;
	position: absolute;
	left: 0;
	top: 0;
	
	background-repeat: no-repeat;
	background-size:  contain;
	background-position: center;
	background-image: url(../images/note1.png);
	
	display: none;
}

.note2{
	width: 50%;
	height: 50%;
	position: absolute;
	left: 0;
	top: 50%;
	
	background-repeat: no-repeat;
	background-size:  contain;
	background-position: center;
	background-image: url(../images/note2.png);
	
	display: none;
}

.note3{
	width: 50%;
	height: 50%;
	position: absolute;
	right: 0;
	top: 0;
	
	background-repeat: no-repeat;
	background-size:  contain;
	background-position: center;
	background-image: url(../images/note3.png);
	
	display: none;
}
.note4{
	width: 50%;
	height: 50%;
	position: absolute;
	right: 0;
	top: 50%;
	
	background-repeat: no-repeat;
	background-size:  contain;
	background-position: center;
	background-image: url(../images/note4.png);
	
	display: none;
}

.full_btn{
	height: 20px;
	width: 20px;
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0 20px 20px 0;
	
	background-image: url("../images/fullscreen.png");
	background-size: contain;
	
	cursor: pointer;
	display: none;
}

.journal_button{
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	margin-left: 30px;
	display: none;
}

.journal_button h3{
	font-size: 20px;
	font-family: calibri;
	cursor: pointer;
}

.wakeup{
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	
	background-color: rgba(0,0,0,0.5);
	text-align: center;
	display: none;
}

.wakeup h3{
	top: 50%;
	transform: translate(0, -50%);
	font-family: 'Shadows Into Light', cursive;
	font-size: 1.3em;
}

.hints h3{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: 'Shadows Into Light', cursive;
	font-size: 1.3em;
	display: none;
	z-index: 2;
}

.objectives h3{
	position: absolute;
	top: 0;
	right: 0;
	margin-right: 20px;
	/*transform: translate(-100%, 0);*/
	font-family: 'Shadows Into Light', cursive;
	font-size: 1.3em;
	display: none;
	z-index: 2;
}

.lock{
	width: 1092px;
	height: 533px;
	background-image: url("../images/lock_bottom.png");
	background-size: cover;
	
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	display: flex;
	display: -webkit-flex;
	align-items: center;
	justify-content: center;
	
	display: none;
}

.scroller{
	display: flex;
	display: -webkit-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	
	height: 300px;
	width: 100px;
	
	background-color: #a39d93;
	background-image: url("../images/Old_Metal.jpg");
	background-size: cover;
	margin-right: 100px;
	
	border-radius: 15px;
	box-shadow: 0 0 20px;
	opacity: 0.9;
}

#far_combo{
	margin-right: 0 !important;
}

.up{
	width: 0;
	height: 0;
	
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 20px solid #424242; /*b14343*/
	
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	margin-top: 10px;
	
	cursor: pointer;
}

.scroller h1{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	font-size: 60px;
	margin: 0;
	width: auto;
	font-family: 'Vast Shadow', sans-serif;
	color: #525252;
}

.down{
	width: 0;
	height: 0;
	
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 20px solid #424242;
	
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
	margin-bottom: 10px;
	
	cursor: pointer;
}

.unlock_btn{
	position: absolute;
	right: 0;
	align-self: flex-end;
	-webkit-align-self: flex-end;
	
	height: 50px;
	width: 100px;
}

.unlock_btn h1,
.exit_btn h1{
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	font-size: 20px;
	color: white;
	cursor: pointer;
	font-family: calibri;
	
	width: auto !important;
	margin-bottom: 100px;
}

.exit_btn{
	position: absolute;
	left: 0;
	align-self: flex-end;
	-webkit-align-self: flex-end;
	
	height: 50px;
	width: 100px;
}

.talking{
	height: 50px;
	width: 50px;
	
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 50%;
	margin-bottom: 75px;
	transform: translate(-50%, -50%);
	
	background-image: url('../images/talking.gif');
	background-size: cover;
	
	opacity: 0.6;
	display: none;
}

.end{
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	
	text-align: center;
	background-color: black;
	z-index: 4;
	display: none;
}

.end h1{
	font-size: 20.0em;
	font-family: 'Six Caps', sans-serif;
	display: none;
	color: white;
}


@media screen
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 1) {
	  #journal{
		  width: 800px;
		  height: 533.33px;
	  }
	  .end h1{
		  font-size: 17em;
	  }
}

/* ----------- iPad 1 and 2 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
	 #journal{
		  width: 600px;
		  height: 400px;
	  }
	  .lock{
		  width: 728px;
		  height: 355.33px;
	  }
	  .scroller{
		  height: 200px;
		  width: 66.66px;
	  }
}

/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
	#journal{
		  width: 400px;
		  height: 266.66px;
	  }
	  .lock{
		  width: 364px;
		  height: 177.66px;
	  }
	  .scroller{
		  height: 100px;
		  width: 33.33px;
		  margin-right: 50px;
	  }
	  .scroller h1{
		  font-size: 20px;
	  }
	  .end h1{
		  font-size: 10em;
	  }
}
