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


#swexit {
	
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 15px;
    font-size: xx-large;
    letter-spacing: 7px;
    font-kerning: 3;
    color: #000;
    text-shadow: -2px -2px 0 #ff6, 2px -2px 0 #e4eaae, -2px 2px 0 #ff6, 2px 2px 0 #ff6;
    opacity: 0.2;
    transition: 0.5s;
	z-index: 15005;
}

#swexit:hover {
   opacity: 1.0;
text-shadow: -2px -2px 3px #ff6, 2px -2px 3px #e4eaae, -2px 2px 3px #ff6, 2px 2px 3px #ff6;
}
div#storycontent {
    width: 20em;
}
#swoverlay
{

   	width: 100%;
	height: 100%;
	overflow: hidden;
        position: fixed;
        top:0px;
        z-index:15000;
}

.swoverlay
{
    background-image: url("../websiteImages/starfield.png");
    visibility: hidden;
    font-family: "Droid Sans", arial, verdana, sans-serif;
   font-weight: 700;
   color: #ff6;
   background-color: #000;
   opacity: 0.0;
   transition: 1s;
}

.swoverlay_show
{
   visibility: visible;
}

.swoverlay_fade
{   
   opacity: 1.0;
}

#sw_prescrollintro
{
	position: relative;
	width: 16em;
	font-size: 200%;
	font-weight: 400;
	margin: 20% auto;
	color: #4ee;
	opacity: 0;
	z-index: 1;
}

.sw_prescrollintro_start
{
	-webkit-animation: intro 3s ease-out;
	-moz-animation: intro 3s ease-out;
	-ms-animation: intro 3s ease-out;
	-o-animation: intro 3s ease-out;
	animation: intro 3s ease-out;
}



@-webkit-keyframes intro {
	0% { opacity: 1; }
	90% { opacity: 1; }
	100% { opacity: 0; }
}

@-moz-keyframes intro {
	0% { opacity: 1; }
	90% { opacity: 1; }
	100% { opacity: 0; }
}

@-ms-keyframes intro {
	0% { opacity: 1; }
	90% { opacity: 1; }
	100% { opacity: 0; }
}

@-o-keyframes intro {
	0% { opacity: 1; }
	90% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes intro {
	0% { opacity: 1; }
	90% { opacity: 1; }
	100% { opacity: 0; }
}

#sw_title
{
    position: absolute;
    text-align: center;
    top: 0%;
    font-size: 10em;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
   /* letter-spacing: -0.05em;*/
    color: #000;
    text-shadow: -2px -2px 0 #ff6, 2px -2px 0 #e4eaae, -2px 2px 0 #ff6, 2px 2px 0 #ff6;
    opacity: 0;
    z-index: 1;
}

.sw_title_start
{
    -webkit-animation: logo 5s ease-out 3.5s;
    -moz-animation: logo 5s ease-out 3.5s;
    -ms-animation: logo 5s ease-out 3.5s;
    -o-animation: logo 5s ease-out 3.5s;
    animation: logo 5s ease-out 3.5s;
}

.sw_title sub
{
	display: block;
	font-size: 0.3em;
	letter-spacing: 0;
	line-height: 0.8em;
}

@-webkit-keyframes logo {
	0% { -webkit-transform: scale(1); opacity: 1; }
	50% { opacity: 1; }
	100% { -webkit-transform: scale(0.1); opacity: 0; }
}

@-moz-keyframes logo {
	0% { -moz-transform: scale(1); opacity: 1; }
	50% { opacity: 1; }
	100% { -moz-transform: scale(0.1); opacity: 0; }
}

@-ms-keyframes logo {
	0% { -ms-transform: scale(1); opacity: 1; }
	50% { opacity: 1; }
	100% { -ms-transform: scale(0.1); opacity: 0; }
}

@-o-keyframes logo {
	0% { -o-transform: scale(1); opacity: 1; }
	50% { opacity: 1; }
	100% { -o-transform: scale(0.1); opacity: 0; }
}

@keyframes logo {
	0% { transform: scale(1); opacity: 1; }
	50% { opacity: 1; }
	100% { transform: scale(0.1); opacity: 0; }
}


#sw_container
{
	position: absolute;
	width: 20em;
	height: 50em;
	bottom: 0;
	left: 50%;
	margin-left: -10em;
	font-size: 350%;
	text-align: justify;
	overflow: hidden;
	-webkit-transform-origin: 50% 100%;
	-moz-transform-origin: 50% 100%;
	-ms-transform-origin: 50% 100%;
	-o-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
	-webkit-transform: perspective(300px) rotateX(25deg);
	-moz-transform: perspective(300px) rotateX(25deg);
	-ms-transform: perspective(300px) rotateX(25deg);
	-o-transform: perspective(300px) rotateX(25deg);
	transform: perspective(300px) rotateX(25deg);
}

#sw_container:after
{
	position: absolute;
	content: ' ';
	left: 0;
	right: 0;
	top: 0;
	bottom: 60%;
	background-image: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%);
	background-image: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%);
	background-image: -ms-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%);
	background-image: -o-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%);
	background-image: linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%);
	pointer-events: none;
}

#sw_container p
{
	text-align: justify;
	margin: 0.8em 0;
}

#sw_container p.center
{
	text-align: center;
}

#sw_container a
{
	color: #ff6;
	text-decoration: underline;
}



#sw_content
{
	position: absolute;
	top: 100%;
}

.sw_content_start
{		
	animation: scroll 350s linear 4s infinite;
	-webkit-animation: scroll 350s linear 4s infinite;
	-moz-animation: scroll 350s linear 4s infinite;
	-ms-animation: scroll 350s linear 4s infinite;
	-o-animation: scroll 350s linear 4s infinite;
}

/* animation */
@-webkit-keyframes scroll {
	0% { top: 100%; }
	100% { top: -600%; }
}

@-moz-keyframes scroll {
	0% { top: 100%; }
	100% { top: -600%; }
}

@-ms-keyframes scroll {
	0% { top: 100%; }
	100% { top: -600%; }
}

@-o-keyframes scroll {
	0% { top: 100%; }
	100% { top: -600%; }
}

@keyframes scroll {
	0% { top: 100%; }
	100% { top: -600%; }
}
