@import url(https://fonts.googleapis.com/css?family=PT+Sans:400italic,700,400);

body {
	font-family: "PT Sans", "Helvetica", "Arial", sans-serif;
	font-size: 16px;
	background: #E1FFFF;
	color: rgba(0,0,0,.75);
}

a {
	color: initial;
}

#main {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

#story,
#currentword,
#choices,
footer {
	position: relative;
	z-index: 10;
}

#content {
	margin-bottom: 80px;
}

#aboutframe {
	display: none;
	position: fixed;
	bottom: 60px;
	left: 10px;
	z-index: 20;
}

#aboutbox {
	max-width: 300px;
	width: calc(100vw - 60px);
	max-height: 300px;
	max-height: calc(100vh - 140px);
	overflow-y: scroll;
	background: #fff;
	padding: 10px;
	border: 2px solid #FF00A9;
	text-align: left;
}

#aboutbox::after {
	content: " ";
	position: absolute;
	bottom: 2px;
	left: 2px;
	width: calc(100% - 4px);
	height: 40px;
	pointer-events: none;

	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 90%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 90%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#aboutarrow {
	display: block;
	position: absolute;
	bottom: -18px;
	left: 0;
}

#aboutarrow::before {
	content: " ";
	position: absolute;
	top: -18px;
	left: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 23px 35px 0 0;
	border-color: #FF00A9 transparent transparent transparent;
}

#aboutarrow::after {
	content: " ";
	position: absolute;
	top: -20px;
	left: 2px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 22px 32px 0 0;
	border-color: #fff transparent transparent transparent;
}

#aboutbox p {
	margin-top: 0;
}

#aboutbox .special {
	font-size: 120%;
}

.home #aboutbox .special {
	display: none;
}

#about {
	position: fixed;
	bottom: 10px;
	left: 10px;
	z-index: 21;
}

#aboutlabel {
	cursor: pointer;
	opacity: .5;
}

#about.interference #aboutlabel {
	opacity: 0;
}

#supportingcontent {
	display: none;
}

#story {
	display: none;
	font-size: 18px;
}

#story .paragraph {
	color: rgba(0,0,0,.3);
	transition: color 1s;
}

#story.finished .paragraph {
	color: rgba(0,0,0,1);
	transition: color 1s 2s;
}

#story .paragraph.latest {
	color: rgba(0,0,0,1);
	transition: color 1s;
}

#storytitle {
	margin: 60px 0 40px;
	font-weight: normal;
	font-size: 48px;
}

#network {
	position: absolute;
	top: -100px;
	left: calc(50% - 160px);
	z-index: 5;
}

#linecontainer,
#dots {
	position: absolute;
	top: 0;
	left: 0;
}

#cursorbox {
	position: relative;
}

#cursor {
	position: absolute;
	top: 0px;
	left: 3px;
	display: block;
	width: 2px;
	height: 20px;
	background: transparent;
	animation: blink 1.2s linear infinite;
}

@keyframes blink {
	0% {background-color: transparent;}
	30% {background-color: #FF00A9;}
	60% {background-color: transparent;}
}

@keyframes pulse {
	30% {transform: scale(1.1);}
	60% {transform: scale(1);}
}

#story .highlightedword {
	color: #FF00A9;
	font-weight: bold;
	cursor: pointer;
}

#currentword {
	margin: 100px 0 0;
	padding: 0 40px;
	text-align: center;
	font-weight: normal;
	opacity: .75;
}

#choices {
	text-align: center;
}

.choice {
	display: inline-block;
	position: relative;
	width: calc(50% - 25px);
	margin: 0;
	font-size: 14px;
	cursor: pointer;
	vertical-align: top;
}

.choice:nth-of-type(1) {
	margin-right: 20px;
}

.choice:nth-of-type(2) {
	margin-left: 20px;
}

.choice:nth-of-type(1) .definition {
	float: right;
}

.choice.pulse:nth-of-type(1) {
	animation: pulse .8s ease;
	animation-iteration-count: 1;
	animation-delay: 2s;
}

.choice.pulse:nth-of-type(2) {
	animation: pulse .8s ease;
	animation-iteration-count: 1;
	animation-delay: 2.1s;
}

.choice:hover {
	transform: scale(1.1);
	transition: transform .2s;
}

.choice .snippetbody {
	display: inline;
}

.choice .highlightedword {
	color: #FF00A9;
}

.choice .definition {
	margin-top: 20px;
	font-size: 16px;
	text-align: left;
	color: #FF00A9;
}

.choice .partofspeech {
	text-transform: uppercase;
	font-size: 10px;
	font-style: italic;
}

.choice .meaningbody {
	display: inline;
}

.highlight {
	color: #FF00A9;
}

.highlightgone {
	background: transparent;
	transition: background 1s;
}

a {
	text-decoration: none;
}

ul, li {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

.logo {
	font-weight: normal;
	font-size: inherit;
}

.logo a {
	color: #FF00A9;
}

.home .logo {
	display: none;
}

#story_1 {
}

.action {
	color: white;
	background: #FF00A9;
	cursor: pointer;
}

.primaryemoticon {
	display: none;
	position: absolute;
	top: 30px;
	left: -25px;
	width: 60px;
	height: auto;
	z-index: 6;
}

.again .primaryemoticon {
	-ms-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
	transition: transform .5s 2s;
}

.again #startover {
	opacity: 1;
	transition: opacity .5s 2s;
}

#tray {
	position: absolute;
	top: 0;
	left: 0;
}

#tray.compact {
	position: static;
	display: inline-block;
	width: 100%;
	margin-top: 20px;
	text-align: center;
}

#tray.compact #startover {
	position: static;
	display: inline;
}

#tray.compact img {
	position: static;
	display: block !important;
	margin: 10px auto 0 !important;
}

#startover {
	position: absolute;
	top: 50px;
	right: 40px;
	white-space: nowrap;
	color: #FF00A9;
	opacity: 0;
	cursor: pointer;
}

.choiceemoticon {
	position: absolute;
	top: 0;
	left: -50px;
	width: 40px;
	height: auto;

	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
}



.hometitle {
	margin: -20px 0 0;
	font-size: 90px;
	font-weight: normal;
	color: #FF00A9;
}

.getstarted {
	color: #FF00A9;
}

.hide {
	display: none;
}

.untouchable {
	pointer-events: none;
}

nav {
	margin-bottom: 20px;
	text-align: center;
}

nav a.current span {
	color: white;
	background: #FF00A9;
}

nav li {
	display: inline;
}

nav li:nth-child(2) {
	padding: 0 20px;
}

nav li a {
	display: inline-block;
}

nav a.current span {
	color: white;
	background: #FF00A9;
}


@media all and (min-width: 480px) {

nav {
	text-align: left;
}

#about.interference #aboutlabel {
	opacity: inherit;
}
}



@media all and (min-width: 640px) {

header {
	width: 160px;
	float: left;
}

nav {
	padding-bottom: 0;
}

nav li a {
	display: block;
	margin-top: 40px;
	transition: transform 50ms;
}

nav li a:hover {
	transform: scale(1.1);
	transition: transform 200ms;
}

nav a.current span {
	font-size: 21px;
}

nav li {
	width: 100%;
}

#content {
	position: relative;
	float: left;
	width: calc(100% - 200px);
	padding-top: 40px;
}

.home .getstarted:before {
	content: "\2190 ";
	padding-right: 5px;
}
}


@media all and (min-width: 900px) {

header {
	width: 240px;
	margin-top: 100px;
	float: left;
}

nav li a {
	margin-top: 60px;
}

nav a.current span {
	font-size: 25px;
}

#content {
	width: calc(100% - 240px);
	padding-top: 160px;
}

.choice {
	width: calc(50% - 45px);
}

.choice:nth-of-type(1) {
	margin-right: 40px;
}

.choice:nth-of-type(2) {
	margin-left: 40px;
}

#about {
	left: initial;
}

#aboutframe {
	left: initial;
}

.logo {
	margin-top: -17px;
}
}