/* .world {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: -webkit-linear-gradient(#a3e5ff, #f7d9aa);
	background: linear-gradient(#a3e5ff, #f7d9aa);
} */

@font-face {
	font-family: '';
	font-weight: normal;
	font-style: normal;
	src: url('../fonts/starwars/starjedi/Starjedi.ttf');
	/* src: url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'), url('../fonts/codropsicons/codropsicons.woff') format('woff'), url('../fonts/codropsicons/codropsicons.ttf') format('truetype'), url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg'); */
}

*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	margin: 0;
	color: #444;
	background: #f6f6f6;
}

a {
	text-decoration: none;
	color: #aae1f7;
	outline: none;
}

a:hover,
a:focus {
	color: #aae1f7;
	outline: none;
}


/* Top Navigation Style */

.meta {
	font-size: 0.75em;
	line-height: 1;
	position: absolute;
	top: 1em;
	left: 1em;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	white-space: nowrap;
	border-top: 1px solid #aae1f7;
}

.meta::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 1px;
	height: 100%;
	background: #aae1f7;
}

.meta a {
	display: block;
	padding: 1em 1.35em;
	border: 1px solid #aae1f7;
	border-top: 0;
}

.meta a:not(:last-child) {
	border-right: 0;
}


/* Demo links */

.demo-link {
	font-family: 'Playfair Display';
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.demo-link--current {
	color: #bba077;
}

@media screen and (max-width:40em) {
	.meta {
		right: 1em;
	}
	.demo-link {
		-webkit-flex: 1;
		flex: 1;
	}
}

/* Styles for sponsor */
body #cdawrap { top: auto; right: auto; bottom: 12px; left: 12px; border: 1px solid #aae1f7; background: none; }
.partisan { position: absolute; bottom: 0; left: 0; width: 38em; padding: 4.5em 7.5em 1.5em 5.5em; }
.partisan__bg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.5; }
.partisan__link { position: relative; display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; }
.partisan__img, .partisan__title { opacity: 0.85; -webkit-transition: opacity 0.1s; transition: opacity 0.1s; }
.partisan__link:hover .partisan__img, .partisan__link:hover .partisan__title { opacity: 1; }
.partisan__img { max-width: 42%; }
.partisan__title { font-family: 'Playfair Display'; font-weight: bold; position: relative; margin: 0.5em 0 0 0.85em; color: #555d27; }
.partisan__title::before { content: 'Sponsored by:'; font-size: 0.5em; font-weight: bold; position: absolute; bottom: 100%; left: 0; padding: 0 0 1em 0; letter-spacing: 0.25em; text-transform: uppercase; color: #95a534; }
@media screen and (max-width:80em) {
	.partisan { font-size: 76%; }
	.partisan__title::before { font-size: 0.25em; }
}
@media screen and (max-width:60em) {
	.game-holder .message--instructions { bottom: 5.5em; }
	.partisan { width: 100%; height: auto; padding: 1.75em 0.5em 0.5em; text-align: center; background: rgba(190, 215, 48, 0.5); }
	.partisan__bg { display: none; }
	.partisan__img { display: none; }
	.partisan__title { margin: 0; }
	.partisan__title::before { width: 100%; padding: 0 0 0.25em; }
}

.game-holder {
	position: absolute;
	width: 100%;
	height: 100%;
	background: -webkit-linear-gradient(#e4e0ba, #f7d9aa);
	background: linear-gradient(#182f3f, #224c68);
}

.world {
	position: absolute;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	pointer-events: none;
}

.header h1 {
	font-family: 'Playfair Display';
	font-size: 4.5em;
	line-height: 1;
	margin: 0;
	letter-spacing: -0.025em;
	color: #aae1f7;
}

.header h1 span {
	font-size: 0.2em;
	font-style: italic;
	display: block;
	margin: 0 0 -1.5em -7em;
	letter-spacing: 0px;
}

.header h2 {
	font-size: 0.585em;
	margin: 0.25em 0;
	white-space: nowrap;
	text-indent: 1em;
	letter-spacing: 1em;
	text-transform: uppercase;
	color: #87e2de;
}


.health_content_left {
	position: absolute;
	top: 20;
	left: 30;

	transform: skew(10deg, 10deg) rotate(9deg);
}
.health_content_right {
	position: absolute;
	top: 20;
	right: 30;
	
	transform: skew(-10deg, -10deg) rotate(-9deg);
}

.score {
	width: 100%;
	margin: 2em 0 0;
	text-align: center;
	white-space: nowrap;
} 

.score__content {
	position: relative;
	display: inline-block;
	padding: 0 1em;
	vertical-align: top;
}

.score__content:nth-child(2) {
	/* border-right: 1px solid #aae1f7; */
	border-left: 1px solid #aae1f7;
}

.score__label {
	font-size: 9px;
	position: relative;
	margin: 0 0 0.5em 0;
	text-align: center;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #aae1f7;
}

.score__value {
	font-family: 'Playfair Display';
	font-weight: bold;
	color: #aae1f7;
}

.score__value--level {
	font-size: 26px;
}

.score__value--dist {
	font-size: 30px;
}

.level-circle {
	position: absolute;
	left: 50%;
	width: 46px;
	margin: -37px 0 0 -23px;
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

.score__value--energy {
	position: relative;
	width: 100px;
	height: 20px;
	margin-top: 5px;
	border-radius: 0px;
	background-color: #aae1f7;
}

.score__value-bar {
	position: relative;
	width: 100px;
	height: 20px;
	margin-top: 10px;
	margin-bottom: 5px;
	border-radius: 0px;
	background-color: #aae1f7;
} 

.energy-bar {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 2px;
	background-color: #87e2de;
	-webkit-animation-name: none;
	animation-name: none;
	-webkit-animation-duration: 150ms;
	animation-duration: 150ms;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

.message {
	font-weight: bold;
	position: absolute;
	left: 0;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	pointer-events: none;
}

.message--replay {
	font-size: 1.25vw;
	bottom: 33vh;
	display: none;
	text-indent: 0.5em;
	letter-spacing: 0.5em;
	color: #aae1f7;
}

.message--landscape {
	font-size: 2.25vw;
	bottom: 40vh;
	display: none;
	text-indent: 0.5em;
	letter-spacing: 0.5em;
	color: #aae1f7;
	animation: blinking 0.9s infinite; 
}

.message--instructions {
	font-family: 'Playfair Display';
	font-size: 0.85em;
	bottom: 8vh;
	letter-spacing: 0.2em;
	color: #f25346;
}

.message--instructions span {
	display: block;
	color: #f2544698;
	white-space: nowrap;
}


.form_name {
	display: none;
	width: 100%;
	top: 35vh;
	position: absolute;
	align-content: center;
	text-align: center;
}

.form_name>.form_box {
	width: 50%;
	padding: 30px 0;
	margin: 0 auto;
	background-color: #AAE1F7;
}

input[type=text] {
	padding: 8px;
	border: none;
	background-color: #fff;
	width: 80%;
	margin-bottom: 10px;
}

button {
	padding: 8px;
	border: none;
	background-color: #68C3C0;
	width: 80%;
	cursor: pointer;
}

.score_board {
	display: none;
	width: 100%;
	top: 20vh;
	position: absolute;
	align-content: center;
	text-align: center;
}

.score_board--table {
	width: 80%;
	padding: 30px 0;
	margin: 0 auto;
	background-color: #AAE1F7;
}

.score_board--table > table {
	width: 100%;
	background-color: transparent;
	border-collapse: collapse;
	border-width: 1px;
	border-style: none; 
}

.score_board--table > table  td,
.score_board--table > table th {
	border-width: 1px; 
	border-style: none;
	padding: 3px;
	text-align: center;
}


@-webkit-keyframes blinking {
	0% { opacity: 1; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes blinking {
	0% { opacity: 1; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

@media screen and (max-width: 40em) {
	.header {
		font-size: 0.75em;
		top: 6.5em;
	}
	.header h2 {
		letter-spacing: 0.65em;
	}
}
