
body {
background-color: black;
background-image: url(img/cboard.jpg);
background-size: 100% auto;
background-position: center;
margin: 0;
image-rendering: optimizeSpeed;             /* GIVE ME SPEED                  */
  image-rendering: -crisp-edges;          /* Firefox                        */
  image-rendering: -o-crisp-edges;            /* Opera                          */
  image-rendering: -optimize-contrast; /* Chrome (and eventually Safari) */
  image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
  font-smooth: never;
  -webkit-font-smoothing : none;
  -webkit-perspective-origin: center;
  -webkit-perspective: 1500;
  font: 18px "andale mono";
  margin: 0;

}

tw-story {
	width: 100%;
	height: 100%;
	margin: 0;
	line-height: normal;
}
tw-passage {
width: 100%;
height: 100%;
padding: 0;
margin: auto;
border: none;
border-radius: 0;
font-family: "andale mono", "lucida console", monospace;
font-size: inherit;
color: lime;
text-align: left;
background-color: none;
box-shadow: none;
font-smooth: never;
}

tw-sidebar {
	display: none;
}


tw-link, tw-hook[name*="c"] {
	color: lime;
	text-decoration: underline;
}

tw-link:hover {
	color: lime;
	cursor: help;
}

tw-link.visited {
	color: lime;
}

iframe {
	border: none;
	margin: 0 auto 0 auto;
	width: 100%;
	height: 100%;
	z-index: 0;
}

@keyframes spin3d {
	  0% { transform: rotateY(0deg); }
	  100% { transform: rotateY(359deg); }
}

#hudelement {
	background-image: url(img/frame.png);
	background-size: 100% 100%;
	background-position: center;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
	pointer-events: none;
}

#element2 {
	background-image: url(img/fragments/taggar_h.png);
	background-size: auto 150%;
	background-position: center;
	width: 50%;
	height: 60%;
	margin: 15%;
	margin-left: 25%;
	z-index: 0;
	position: absolute;
	top: -5%;
	pointer-events: none;
	animation: objecsion 19s infinite, objecsionII 19s infinite;
}
#element3 {
	-mask-image: url(img/fragments/icon_memo.png);
	-mask-origin: center;
	-mask-image: url(img/fragments/icon_memo.png);
	-mask-origin: center;
	background-image: url(img/fragments/doll_nobg.png);
	background-size: auto 100%;
	background-position: center;
	width: 40%;
	height: 50%;
	margin: 20%;
	margin-left: 30%;
	z-index: 1;
	position: absolute;
	top: -10%;
	pointer-events: none;
	animation: objecsion 18s infinite, objecsionII 18s infinite;
}

@keyframes glitch {
	0% {
		background-color: brown ;
	}
	10% {
		background-color: white ;
	}
	20% {
		background-color: yellow ;
	}
	30% {
		background-color: pink ;
	}
	40% {
		background-color: orange ;
	}
	50% {
		background-color: blue ;
	}
	60% {
		background-color: purple ;
	}
	70% {
		background-color: teal ;
	}
	80% {
		background-color: red ;
	}
	90% {
		background-color: aqua ;
	}
}

@keyframes objecsion {
	0% {transform: translate(0%, 0%);
	}
	50% {transform: translate(10%, 1%);

	}
	100% {transform: translate(0%, 0%);
	}
}
@keyframes objecsionII {
	0% {
		top:0%; left:0%;		}
	50% {
		top:-3%; left:-1%;
	}
	100% {
		top:0%; left:0%;
	}
}

.object {
	background: url(img/fragments/icon_memo.png) center #38ff00;
	background-size: cover;
	width: 100px;
	height: 100px;
	margin-top: 2%;
	margin-bottom: 5%;
	margin-left: 7%;
	display: inline-block;
	position: relative;
	animation: objecsion 5s steps(5)
	infinite, objecsionII 4s steps(13) infinite, glitch 0.1s steps(1) infinite;
	transition-duration: 1s;
	z-index: 5;
	transform: translateZ(100px);
	text-align: center;
	vertical-align: bottom;
}

.object:hover {
		width: 150px;
		height: 150px;
		transition-duration: 1s;
	cursor: help;
	background-color: #38ff00;
	animation: objecsion, objecsionII, none;
	margin-bottom: 0%;
	margin-top: 0%;
	z-index: 10;
	transform: translateZ(150px);
}

.object span {
	background-color: #38ff00;
	padding: 2px;
	position: relative;
	top: 105%;
	text-shadow: none;
	color: black;
	font-size: 16px;
	text-transform: uppercase;
}

.fragment {
	background-color: rgba(0, 0, 0, 0.5);
	color: #38ff00;
	font: 26px "andale mono";
	padding: 20px;
	z-index: 10;

	transform: translateZ(100px) rotateX(-30deg);
	border: 2px solid #38ff00;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15%;
	width: 50%;
	text-align: left;
	vertical-align: center;
	max-height: 50%;

}

.windows {
	margin-left: auto;
	margin-right: auto;
	margin-top: 10%;
	width: 70%;
	text-align: left;
	vertical-align: center;
	max-height: 50%;
	font-size: 26px;
	text-shadow: 0 0 5px #000000;
	color: lime;
	vertical-align: center;
	font-weight: bold;
}

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

@keyframes reboot {
	0% {
		height: 0%;
	}
	50% {
		height: 100%;
		top: 0%;
	}
	100% {
		height: 0%;
		top: 100%;
	}
}

@keyframes bluscreen {
	from{
		background-color: navy;

	}
	to {
		background-color: blue;

	}

}

body.[data-tags~="reboot"] {
 	background-color: white;
 	animation: glitch 1s steps(1) infinite;
 	background-image: none;
}

#restart {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	background-color: blue;
	animation: reboot 5s linear 0s infinite, glitch 0.01s steps(1) infinite;
	z-index: -2;
}

.kernel {
	font-size: 24px;
	z-index: 2;
	position: absolute;
	top: 20%;
	left: 20%;
	color: #38ff00;
	width: 60%;
}

video.bgvid {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 0;
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}

.indexlink {
  border-bottom: 1px lime solid;
}
