/* CSS RESET */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  /* stops text selection */
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE/Edge */
  user-select: none;
}

/* stop browser outline from displaying on button clicks */
*:active {
  outline: 0;
}

/* GENERAL STYLES */
html,
body {
  /* stop page from scrolling */
  height: 100%;
  overflow: hidden;
  font-family: "tahoma", sans-serif;
}

/* Custom Fonts */
@font-face {
    font-family: GoodVibes;
    src: url(../fonts/GoodVibes.ttf);
}

@font-face {
    font-family: Cookie;
    src: url(../fonts/Cookie.ttf);
}

@font-face {
    font-family: CaptainAmerica;
    src: url(../fonts/CaptainAmerica.ttf);
}

@font-face {
    font-family: Ancient;
    src: url(../fonts/Ancient.ttf);
}



div,
main,
section,
img {
  position: absolute;
}

main {
  display: none;
}

#loading,
#begin,
main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#loading {
  width: 50px;
  height: auto;
}

#btnContainer {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#begin {
  display: inline-block;
  background-color: #53b5e7;
  color: #FFF;
  border: solid 1px #062541;
  border-radius: 20px;
  padding: 10px 20px;
  transition: all 0.5s;
	font-style: italic;
	font-size: 25px;
}

#begin:hover {
  cursor: pointer;
  background-color: #195891;
  color: #FFF;
  border: solid 1px #062541;
}

main {
  width: 960px;
  height: 600px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

section {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#next,
#prev {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  bottom: 20px;
  color: #fff;
  border: solid 1px #fff;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 23px;
  font-weight: bold;
  transition: background 0.5s;
}

#next {
  	right: 20px;
}

#prev {
  	left: 20px;
	padding-bottom: 4px;
}

#next:hover,
#prev:hover {
  cursor: pointer;
  color: #195891;
  background: rgba(255, 255, 255, 1);
}

/* class can be applied to anything you want a pointer hover on */
.eleHover:hover {
  cursor: pointer;
}




/* SHARED SCREEN STYLES */
h1 {
	position: absolute;
	font-family: GoodVibes;
	font-size: 125px;
	color: #FFF;
	font-weight: normal;
  	text-shadow: 2px 2px 4px #000000;
	margin: auto;
	top: 10%;
	left: 35%;
}


/* for demo only */
.ele {
  background: #000;
  width: 200px;
  height: 200px;
	border: solid 3px #FFF;
	border-radius: 100px;
}

.square {
  background: #000;
  width: 100px;
  height: 100px;
	border: solid 3px #FFF;
	
}

/* SCREEN 1 STYLES aka intro */
#screen1 {
  background-color: #53b5e7;
  justify-content: center;
	align-items: center;
}

#screen1 h1 {
  	position: absolute;
  	top: 250px;
  	left: 20%;
  	transform: translate(-50%, -50%);
	color: #fbab32;
	font-family: GoodVibes;
	font-size: 250px;
	font-weight: normal;
	text-align: center;
  	text-shadow: 2px 2px 4px #000000;
}

#screen1 h2 {
  	position: absolute;
  	top: 250px;
  	left: 47%;
  	transform: translate(-50%, -50%);
	color: #195891;
	font-family: GoodVibes;
	font-size: 250px;
	font-weight: normal;
	text-align: center;
  	text-shadow: 2px 2px 4px #000000;
}

#screen1 h3 {
  	position: absolute;
  	top: 340px;
  	left: 61.5%;
  	transform: translate(-50%, -50%);
  	color: #fff;
	font-family: Cookie;
	font-size: 125px;
	font-weight: normal;
	text-align: left;
  	text-shadow: 2px 2px 4px #000000;
}

#screen1 h4 {
  	position: absolute;
  	top: 430px;
  	left: 50%;
  	transform: translate(-50%, -50%);
  	color: #000;
	font-family: Tahoma;
	font-size: 50px;
	font-weight: none;
}

#screen1 h5 {
  	position: absolute;
  	top: 490px;
  	left: 50%;
  	transform: translate(-50%, -50%);
  	color: #195891;
	font-family: Ancient;
	font-size: 35px;
	font-weight: none;
}

/* SCREEN 2 STYLES aka types */
#screen2 {
  	background-color: #53b5e7; /* For browsers that do not support gradients */
  	background-image: linear-gradient(0deg, #1778a9, #53b5e7);
	width: 100%;
	height: 100%;
}

#screen2 h1 {
	top: 25px;
	left: 50px;
}

#screen2 h2 {
  	position: absolute;
  	top: 125px;
  	right: 20px;
  	color: #000;
	font-family: Tahoma;
	font-size: 25px;
	font-weight: none;
	text-align: right;
}

#type2 {
  	bottom: -20px;
  	left: 35px;
	width: 581px;
	height: 579px;
}

#type2 img {
	width: 100%;
	height: auto;
}

#typeC {
  	bottom: -10px;
  	left: 75px;
	width: 450px;
	height: 580px;
}

#typeC img {
	width: 100%;
	height: auto;
}

#type1 {
  	bottom: 0px;
  	left: -15px;
	width: 450px;
	height: 580px;
}

#type1 img {
	width: 100%;
	height: auto;
}

.typetitlebutton {
	right: 25px;
	width: 285px;
	height: 70px;
	border: solid 3px #000;
	font-family: Tahoma;
	font-size: 50px;
	justify-content: center;
	color: #FFF;
	background-color: #fbab33;
	border-radius: 15px;
	text-align: center;
  	cursor: pointer;
	transition: all 0.5s;
}

#typetitle1 {
	top: 200px;
	background-color: #fbab33;
}

#typetitle1:hover {
	background-color: #d28819;
}

#typetitle2 {
	top: 280px;
	background: #195891;
}

#typetitle2:hover {
	background-color: #0e3e6a;
}

#typetitleC {
	top: 360px;
	background: #848067;
}

#typetitleC:hover {
	background-color: #5f5b43;
}

/* For reference */
#ele4 {
  bottom: 150px;
  right: 200px;
  color: #fff;
  text-align: center;
  line-height: 100px;
}

/* ele4 hover */
#ele4:hover {
	cursor: pointer;
}

/* !!! */

#ele4:hover + #ele4hover { /* Selects element immidiately after inital element */
	opacity: 1;
	transform: scale(1.5);
}

#ele4hover {
  background: #fff;
	width: 150px;
	height: 150px;
  bottom: 150px;
  right: 150px;
  opacity: 0;
  transition: all 0.5s ease-out;
	border-radius: 15px;
}


/* for modals... can be used anywhere */
.overlay {
  	width: 80%;
  	height: 80%;
  	background: rgba(0, 0, 0, 0.8);
  	z-index: 2000;
  	display: none;
	left: 100px;
	top: 65px;
	border-radius: 50px;
}

.overlay h1 {
	font-size: 100px;
	left: 30%;
	top: 100px;
}

.close {
  color: #fff;
  top: 25px;
  right: 25px;
}

.overlayContent {
  color: #fff;
  top: 110px;
  text-align: center;
	margin: 25px;
}

.overlayContent p {
	font-size: 18px;
}

overlayContent span {
	font-style: italic;
}


/* SCREEN 3 STYLES aka mania */
#screen3 {
  background-color: #fbab33;
}

#screen3 h1 {
	top: 8%;
	left: 35%;
}

.maniacircles {
	position: absolute;
  	width: 200px;
  	height: 200px;
  	background: #FFF;
	border: solid 3px #674219;
	border-radius: 100px;
	text-align: center;
	color: #000;
	overflow: hidden;
}

.maniacircles img {
	width: 100px;
	height: auto;
	margin: 0;
	padding: 5px;
	position: relative;
}

#ms1 img {
	width: 125px;
	margin-top: 15px;
}

#ms4 img {
	
}

#ms5 img {
	
}

.maniacircles p {
	margin-top: 10px;
	font-size: 18px;
	margin-bottom: 10px;
}

#ms1 {
  	top: 53px;
  	left: 70px;
}

#ms2 {
  	top: 339px;
  	left: 27px;
}

#ms3 {
  top: 165px;
  left: 257px;
  padding: 20px;
  overflow: hidden;
}

#ms3 img {
	height: auto;
	margin-top: -5px;
}

#ms3 p {
	margin: -10px;
}

/*
#ele7instructions {
  color: #fff;
  left: 300px;
  bottom: 80px;
  width: 100px;
  text-align: center;
}
*/

/*
#ele7content {
  color: #fff;
  opacity: 0;
  width: 160px;
  pointer-events: none;
}
*/

/* racing */
#ms4 {
  bottom: 25px;
  left: 302px;
}

#ms4 img {
	width: 75%;
	height: auto;
	margin-top: 25px;
}

/* money */
#ms5 {
  top: 250px;
  left: 502px;
}

#ms5 img {
	width: 75%;
	height: auto;
	margin-top: 25px;
}

#ms6 {
  top: 76px;
  right: 112px;
}

#ms6 img {
	width: 75%;
	height: auto;
	margin-top: 10px;
}

#ms7 {
  top: 352px;
  right: 19px;
}

#ms7 p {
	margin-top: 0;
}

#blueeye {
	position: relative;
	width: 75%;
	margin-left: -35px;
}

#greeneye {
	position: relative;
	width: 50%;
	margin-top: 220px
	margin-left: -50px;
}

#pinkeye {
	position: relative;
	width: 25%;
	margin-top: 185px
	margin-left: -45px;
}





/*
#ele8hover {
  bottom: 250px;
  right: -200px;
}
*/









/* SCREEN 4 STYLES aka depression */
#screen4 {
  background-color: #195891;
}

#screen4 h1 {
	top: 5%;
	left: 30%;
}

.depressioncircles {
	position: absolute;
  	width: 175px;
  	height: 175px;
  	background: #FFF;
	border: solid 3px #000;
	border-radius: 100px;
	text-align: center;
	color: #000;
	overflow: hidden;
}

.depressioncircles img {
	width: 65%;
	height: auto;
	margin: 0;
	padding: 5px;
	position: relative;
}

.depressioncircles p {
	margin-top: 0px;
	font-size: 18px;
	margin-bottom: 10px;
}






/* Interactive bar for reference
#ele9 {
  top: 50px;
  left: 50px;
  width: 200px;
  height: 200px;
}

#ele9 p {
  text-align: center;
  color: #fff;
  margin: 5px;
}

.bars {
  float: left;
  height: 5px;
  width: 30px;
  background: #fff;
  bottom: 0;
}

#bar1 {
  left: 15px;
}

#bar2 {
  left: 50px;
}

#bar3 {
  left: 85px;
}

#bar4 {
  left: 120px;
}

#bar5 {
  left: 155px;
}
 */



/* top row*/
#ds1 {
  top: 155px;
  left: 100px;
}

#ds1 img {
	width: 75%;
	height: auto;
	margin-top: 25px;
}

#ds2 {
  top: 155px;
  left: 400px;
}

#ds2 img {
	width: 75%;
	height: auto;
}

#ds3 {
  top: 155px;
  right: 100px;
}

#ds3 img {
	width: 65%;
	height: auto;
}


/* bottom row */
#ds4 {
  top: 355px;
  left: 100px;
}

#ds4 img {
	width: 75%;
	height: auto;
	margin-top: 17px;
}

#ds5 {
  top: 355px;
  left: 400px;
}

#ds5 img {
	width: 75%;
	height: auto;
	margin-top: 25px;
}

#ds6 {
  top: 355px;
  right: 100px;
}

#ds6 img {
	width: 50%;
	height: auto;
}

#ds6 p {
	margin: 0;
}






/* SCREEN 5 STYLES aka doctor*/
#screen5 {
  background-color: #53b5e7;
}

#screen5 h1 {
	top: 5%;
	left: 37%;
}

#doctor {
  	bottom: 0;
  	left: 40%;
	width: 200px;
	height: 200px;
}

#doctorBG {
  bottom: 0;
  left: 36.75%;
	width: 260px;
	height: 260px;
}

#screen5content {
	top: 175px;
	left: 210px;
	width: 550px;
	height: auto;
	font-size: 30px;
	text-align: center;
}

#screen5content b {
	font-size: 30px;
	font-weight: bold;
	color: #195891;
}

/* SCREEN 6 STYLES aka credits*/
#screen6 {
  background-color: #53b5e7; /* For browsers that do not support gradients */
  background-image: linear-gradient(0deg, #1778a9, #53b5e7);
}


#screen6 h1 {
	top: 4%;
	left: 37%;
}

#screen6content {
	top: 113px;
	left: 245px;
	width: 470px;
	height: auto;
	font-size: 15px;
	text-align: center;
	overflow: default;
}

#screen6content h2 {
	font-size: 16px;
	font-weight: bold;
	color: #195891;
	margin-top: 16px;
}

#screen6content p {
	font-size: 14px;
	font-weight: normal;
	color: #FFF;
}

#ele15 {
  bottom: 10%;
  right: 10%;
  color: #fff;
  text-align: center;
  line-height: 100px;
  /* transform: rotate(-45deg); */
}

#ghost {
  	top: 10%;
  	left: 8%;
	width: 150px;
	height: auto;
}
