body {
  background: #59117D url('../images/bg-one.png');
  background-size: contain;
  background-attachment: fixed;
  border: none;
  color: white;
  padding: 0px;
  margin: 0px;

}

a 	{ 
	text-decoration: inherit;
	color: inherit;
}

div {
	background: none;
	border: none;
	}

#Scene{
	position: fixed;
	width: 100%;
	height: 700px;
	margin-top: -350px;
	top: 50%;
	}
	
.parallax-layer{
	position: absolute;
	height: 700px;
	background-repeat: no-repeat;
	}
	
#bg1{
	background: url('../images/bg-noplanet.png');
	width: 3000px;
	height: 700px;
	background-size: contain;
	background-repeat: no-repeat;
	}
	
	
#bg2{
	background: url('../images/bg-planet.png') left bottom;
	width: 3000px;
	}
	
#bg3{
	background: url('../images/stars.png') left top;
	width: 3000px;
	border: none;
	}
	
#avatar{
	position: absolute;
	background-image: url('../images/male-av-moving.gif');
	background-size: contain;
	width:400px;
	height:300px;
	top:300px;
	left:50px;
	}
	
/* POPUP BOXES https://codepen.io/Oka/pen/dpHla */

.btn:focus, .btn:active{
	background-color: white;
	border: 5px solid white;
	outline:none;
}

.btn,
.box {
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.btn {
  margin: 0 auto;
  display: block;
  position: relative;
  width: 31px;
  height: 31px;
  background-color: rgba(250, 250, 250, .5);
  border: 5px solid rgba(54, 217, 186, 0.7);
  border-radius: 100%;
  cursor: pointer;
  transition: 1s ease-out;
}

.btn:hover {
  border: 6px solid #36D9BA;
  background-color: white;
}

/*MENU NAVIGATION*/


.nav-top {
  position:fixed;
  top:10px;
  left:0px;
  width:100%;
  z-index:200;
  height:70px;
  display:inline-block;
  line-height:0;
  padding-left:20px;
}

h1#title{
  font-family: 'Paytone One', sans-serif;
  font-size: 30pt;
  color:white;
  text-align: center;
  line-height:0;
  transition: 0.5s ease;
  cursor:pointer;
  text-shadow: 0px 1px 1px black;
}

h1#title:hover {
  transition: .5s ease-out;
  text-shadow: 0 0 15px blue;
  transform: translateY(2px);
}

h1#stage {
  font-family: 'Paytone One', sans-serif;
  font-size: 15pt;
  text-transform: uppercase;
  color: white;
  text-align: left;
  letter-spacing: 2px;
  margin-left:10px;
  text-shadow: 0px 1px 1px black;
}

/*FONT SHORTHAND
  font: font-style font-variant font-weight font-size/line-height font-family;
*/

.box {
  display: block;
  visibility:hidden;
  position: relative;
  top:30px;
  left:-135px;
  border-radius:25px;
  width: 250px;
  height: 0px;
  opacity: 0;
  background-color: rgba(0, 0, 0, .4);	
  color:white;
  z-index:10;
  font:300 10pt/130% 'Raleway';
  font-size:12pt;
  text-align:center;
  padding:20px;
}
	
	

.box.open {
  display:block;
  visibility:visible;
  height: 140px;
  opacity: 1;
}


/* https://css-tricks.com/reading-position-indicator/ */
progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 10px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background-color: transparent;
  color: red;
  
  z-index:20;
}

.progress-container {
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  height: .25em;
  display: block;
}

.progress-bar {
  background-color: red;
  width: 50%;
  display: block;
  height: inherit;
}


/* MODAL POPUP */
#modal, #modalComplete {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.modalContent { /* this is the modal box */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 60%;
    padding: 20px;
    border-radius: 30px;
    display: block;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}	

#modalClose {
	background-color: #573987;
	font-family: 'Paytone One';
	font-weight: heavy;
	font-size:30pt;
	color: white;
	padding:18px;
	border: none;
	text-align:center;
	border-radius: 25px;
	line-height:100%;
}

button#modalClose:hover {
	box-shadow: 1px 3px 3px #A191BC;
}

button#modalClose:active {
	background-color: #482F6F;
	transform: translateY(4px);

}

#modalTitle {
	font-family: 'Paytone One', sans-serif;
	font-size:35pt;
	line-height:50%;
	color: black;
}

#modalContent{ /*this is for text */
	font-family: 'Open Sans', sans-serif;
    font-size:15pt;
    color: black;
    line-height:150%;
    padding-bottom:20px;
}

/* MODAL COMPLETE */


/* CHECKPOINT */

#checkpoint-wrap {
	position:fixed;
	top:40px;
	right:0px;
	width:300px;
	height:100px;
	z-index:100;
	text-align: center;
}

#checkpoint-wrap > img {
	padding: 0px;
	width:117px;
	height:38px;
}

#checkpoint-title { 
	font-family: 'Paytone One';
	font-size:10pt;
	text-transform: uppercase;
	line-height:.5em;
	letter-spacing: .2em;
	color:white;
	text-shadow: 0px 1px 1px black;
}

#checkpoint { /* <p> */
	font-family: 'Raleway';
	font-size: 15pt;
	text-transform: uppercase;
	color:white;
	text-shadow: 0px 1px 1px black;
}