/* fonts */
@font-face {
  font-family: PressStart2p;
  src: url(fonts/PressStart2P.ttf);
}
@font-face {
  font-family: vcrmono;
  src: url(fonts/VCR_OSD_MONO_1.001.ttf);
}
@font-face {
  font-family: thunderstorm;
  src: url(fonts/thunderstorm.ttf);
}

html * {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html,
body {
  margin: auto 0;
  padding: 0;
  text-align: center;
  font-family: "Work Sans", sans-serif;
}
.main-preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999999999;
  background: repeating-linear-gradient(to bottom, #0f0a1e, #0f0a1e 2px, #140e29 2px, #140e29 4px);
  text-align: center;
}
	.main-preloader .main-preloader-inner {
	  position: absolute;
	  top: 45%;
	  width: 100%;
	}
	.main-preloader .preloader-percentage {
	  color: #ffffff;
	  margin: 0;
	}
	.main-preloader .preloader-percentage span {
	  display: inline-block;
	  float: center;
	  font-size: 50px;
	}
	.main-preloader .preloader-bar-outer{
		border: 5px solid white;
		width: 400px;
		margin: 0 auto;
		padding: 10px;
		box-shadow: 3px 1px 0 #2ea83687, -3px -1px 0 #b14392c4;
	}
		.main-preloader .preloader-bar{
			height: 10px;
			background-color: white;
			animation: 0.5s all;
			width: 0;
		}

#tv {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
	z-index: -100;
	pointer-events: none;
}
.tvOverlay{
	width: 100%;
	height: 100vh;
	background-image: url(../images/tvscreen.png);
	background-size: 100% 100%;
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	pointer-events: none;
	transition: 1s all ease;
	opacity: 0;
}
	.tvOverlay.shown{
		opacity: 1;
	}
canvas{
	transition: 1s all ease;
	opacity: 0;
}
	canvas.shown{
		opacity: 1;
	}
.blog-header {            
	background-size: cover;
	text-align: center;
	margin-bottom: 50px;
}
.blog-overlay {
	background: rgba(0, 0, 0, 0.42);
	color: #fff;
}
.header-content{
	padding: 100px 0;
}
.header-content img{
	margin-top: 30px;
}
.header-content a{
	padding: 20px 30px;
	color: #000;
	background: #fff;
	text-decoration: none;
	margin: 0 10px;
	font-size: 20px;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
	-ms-transition: all 0.4s ease-out;
	font-family: "Work Sans", sans-serif;
	border-radius: 2px;

} 
.header-content a:hover {
	color: #5C55FD;
	box-shadow: 0 10px 65px 0 rgba(248, 247, 255, 0.32);
	-moz-box-shadow: 0 10px 65px 0 rgba(248, 247, 255, 0.32);
	-webkit-box-shadow: 0 10px 65px 0 rgba(248, 247, 255, 0.32);
	-o-box-shadow: 0 10px 65px 0 rgba(248, 247, 255, 0.32);
}
.content {
	margin: 0 auto;
	margin-top: 30px;
	margin-bottom: 30px;
}
.content p {
	padding: 20px;
}
	.content.page  .pagetitle{
		color: #d9f0fb;
		font-size:60px; 
		padding:20px;
		font-family: thunderstorm;
		
	}
.preview{
	display: inline-block;
	padding: 20px;
	margin-bottom: 20px;
}
.preview img {
	box-shadow: 0px 5px 20px 0px rgba(51,73,94,0.05);
	transition: all 400ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
}
.preview a:hover img {
	box-shadow: 0px 20px 65px 0px rgba(51,73,94,0.15);
}
img {
	vertical-align: top;
}
h1 {
	text-align: center;
	font-family: "Work Sans", sans-serif;
	font-size: 36px;
	font-weight: 500;
	margin-bottom: 5px;
	color: #FFF;
	margin-top: 30px;
	margin-bottom: 60px;
}

.rating{
	margin-top: 60px;
}
.rating img{
	padding: 30px;
}
@media only screen and (max-width: 992px) {
	.preview {
		display: block;
		padding: 10px;
	}
	.preview img{
		max-width:100%;
		height:auto;
	}
	.header-content a{
		display: block;
		margin-bottom: 20px;
	}

}

/* arcade text */
html,
body {
	margin: 0;
	padding: 0;
}
body {
	background: repeating-linear-gradient(to bottom, #513e88, #211938 2px, #100e1b 4px, #19132d 4px);
}

.arcadefont {
	font-family: 'PressStart2p', cursive;
	color: #fff;
	width: 100%;
	text-align: center;
	margin: auto;
	letter-spacing: 5px;
	text-shadow: 3px 1px 0 #2ea83687, -3px -1px 0 #b14392c4;
}
#title{
	position: absolute;
	top: 40px;
	left: 0;
	right: 0;
	height: 90px;
	font-size: 40px;
	line-height: 40px;
	z-index: 50;
}
	#title.newstyle{
		background:-webkit-linear-gradient(#378DBC 0%, #B6E8F1 46%, #ffffff 50%, #32120E 54%, #FFC488 58%, #582C11 90%, #EC9B4E 100%);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		text-shadow: none;
		height: auto;
	}
	#title.shown{
		top: unset;
		bottom: 40px;
	}
#title:hover{
	cursor: pointer;
}
.blink{
	animation: blink 1s steps(4, start) infinite;
}
@-moz-keyframes blink {
	to {
		visibility: hidden;
	}
}
@-webkit-keyframes blink {
	to {
		visibility: hidden;
	}
}
@keyframes blink {
	to {
		visibility: hidden;
	}
}

#home{
	display: none;
	overflow: hidden;
}
/* 	#home .container{
		transition: 1s all ease-in;
		transform: scale(1) translateX(0) translateY(0);
		opacity: 1;
	}
	#home .container.zoom{
		transform: scale(3.5);
		opacity: 0;
	} */

/* grid */
.container{
	width: 900px;
	display: inline-block;
	margin: 0 auto;
	margin-top: 100px;
}
.screen{
	width: 100%;
	height: 600px;
	float: left;
	display: block;
	position: relative;
	overflow: hidden
}
	.screen img{
		display: block;
		position: absolute;
		z-index: 100;
		width: 100%;
		pointer-events: none;
	}
	.screen video,.screen img.fallback{
		display: block;
		position: absolute;
		z-index: 50;
		height: 95%;
		top: 2.5%;
		margin-left: -13%;
		pointer-events: none;
	}
	.screen video::-webkit-media-controls {
		display:none !important;
	}
.screen2{
	width: 50%;
	height: 300px;
}
.screen3{
	width: 33.3333%;
	height: 200px
}

#footer{
	width: 100%;
	margin: 0 auto;
	margin-top: -4%;
	max-width: 1250px;
}
	@media (min-width: 1400px){
		#footer{
			margin-top: -3%;
		}
	}
	@media (min-width: 1800px){
		#footer{
			margin-top: -2%;
		}
	}
	@media (min-width: 2500px){
		#footer{
			margin-top: -1%;
		}
	}
#footer	img{
	width: 100%;
}
.background{
	background-image: url('../images/bg/background5.jpg');
	background-size: cover;
	min-height: 100vh;
	width: 100%;
	z-index: -1000;
	background-position: center;
	background-repeat: no-repeat;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	filter: blur(2px);
}
.btn_goback{
	width: fit-content;
	text-align: left;
	display: block;
	padding: 10px;
	color: #d0bee0;
}
#about .btn_goback{
	color: #242127;
}

.page{
/* 	min-height: calc(100vh - 100px);
 */	display: block;
}
.page:not(#home){
	width: 60%;
	display: none;
	font-family: vcrmono;
}


/* contact page */
#contact{

}
	#contact .container{
		min-height: 350px;
		width: 100%;
		box-shadow: #ecccff 0px 0px 20px -5px;
		background: #5c0082; /* Old browsers */
		background: linear-gradient(to bottom,  #5c0082 1%,#2d1a3a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		background: -webkit-linear-gradient(to bottom,  #5c0082 1%,#2d1a3a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		border-radius: 3px;
	}
		#contact .container .inputcontact{
			width: 95%;
			padding: 13px 8px 2px;
			font-size: 20px;
			border: 0;
			margin: 20px 0;
			/* background-color: #4e256d; */
			background-color: unset;
			color: white;
			border-style: solid;
			border-radius: 0px;
			box-shadow: 0px 0px 0px rgba(66,66,66,.0);
			font-family: vcrmono;
			border-bottom: blue 2px solid;
		}
			#contact .container textarea.inputcontact{
				border: 2px dotted blue;
				resize: none;
				color: white;
			}
			#contact .container .inputcontact[type="submit"]{
				background: blue;
				color: white;
				width: 200px;
				padding: 10px 5px 5px;
				margin-bottom: 20px;
				font-size: 33px;
				font-family: thunderstorm;
			}
			#contact .container .inputcontact:hover[type="submit"]{
				cursor: pointer;
			}
		#contact .container .inputcontact:focus{
			outline: none;
		}
		#contact .inputcontact::-webkit-input-placeholder{
			color: blue;
		}
	#contactInfo{
		color: white;
		width: 100%;
	}
		#contactInfo > span{
			width: 33.3333%;
			float: left;
			text-align: center;
			display: block;
			padding-bottom: 15px;
		}
		#contactInfo > i{
			font-size: 1.2em;
		}
			#contactInfo > span > a{
				color: white;
				text-decoration: none;
			}
			#contactInfo > span > a:hover{
				color: #cccccc;
				text-decoration: underline;
			}


/* shop */
#shop{

}
	#shop > .container{
		width: 100%;
		box-shadow: #ecccff 0px 0px 20px -5px;
		background: #E13597; /* Old browsers */
		background: linear-gradient(to bottom,  #E13597 1%,#5A0690 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		background: -webkit-linear-gradient(to bottom,  #E13597 1%,#5A0690 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		border-radius: 3px;
	}
	#shop .shopCont{
		width: 100%;
		display: inline-block;
	}
		#shop.content p{
			padding: 10px 20px 30px;
			color: #bae8ff;
		}
			#shop.content .shopCont p:nth-of-type(1){
				font-size: 2em;
				font-style: oblique;
			}
			#shop.content .shopCont p:nth-of-type(2){
				font-size: 1.5em;
			}
			#shop.content p a{
				color: #b4e6ff9e;

			}
			#shop.content p small{
				color: #b4e6ff9e;
				font-size: 11px;
			}
		#shop .shopCont .shopHalf{
			width: 50%;
			float: left;
			display: inline-block;
			overflow: hidden
		}
			#shop .shopCont:nth-of-type(even) .shopHalf{
				float: right;
			}
			#shop .shopCont .shopHalf video{
				width: 127%;
				margin-left: -25%;
				filter: grayscale(0.3);
				transition: 0.5s all;
			}
				#shop .shopCont .shopHalf video:hover{
					filter: grayscale(0);
				}
	#shop .shopCont .shopHalf >a{
		background: blue;
		color: white;
		width: 200px;
		padding: 15px 10px;
		font-size: 16px;
		display: inline-block;
	}

	.portfolio > .container{
		width: 100%;
		max-width: 750px;
		box-shadow: #ecccff 0px 0px 20px -5px;
		background: #495f9e; /* Old browsers */
		background: linear-gradient(to bottom,  #495f9e 1%,#fd77ff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		background: -webkit-gradient(to bottom,  #495f9e 1%,#fd77ff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		border-radius: 3px;
		margin-bottom: 50px;
	}
	.portfolio .portfolioCont{
		width: 100%;
	}
	.portfolio .videos{
		width: 100%;
		padding-top: 50px;
	}
		.portfolio .videos .subtitle{
			background: aqua;
			position: absolute;
			z-index: 1000;
			bottom: 0;
			left: 0;
			pointer-events: none;
			padding-left: 5px;
			padding-bottom: 1px;
		}
		.portfolio .videos .videoIframe .subsubtitle{
			position: absolute;
			bottom: -11px;
			color: white;
			opacity: 0.8;
			font-size: 9px;
		}
			.portfolio .videos .videoIframe:nth-of-type(even) .subsubtitle{
				right: 2px;
			}
			.portfolio .videos .videoIframe:nth-of-type(odd) .subsubtitle{
				left: 2px;
			}
			.portfolio .videos .videoIframe .subsubtitle a{
				z-index: 100000;
			}
		.portfolio .videos .videoIframe{
		
			box-shadow: 0 0 0 2px white, 0 0 0 5px black, 0 0 0 7px white, 0px 0px 30px -10px white;
		}
			.portfolio .videos .videoIframe:hover{
				cursor: pointer;
			}
		.portfolio .videos .videoIframe img{
			width: 100%;
			position: relative;
			margin: auto;
		}
		.portfolio .videos .videoIframe{
			width: 60%;
			display: inline-block;
			margin-top: -50px;
			box-shadow: white 0px 0px 30px -10px;
			background-color: black;
			position: relative;
		}
			.portfolio .videos .videoIframe:nth-of-type(even){
				float: right;
			}
			.portfolio .videos .videoIframe:nth-of-type(odd){
				float: left;
			}

	.portfolio .videoGameButtonsDiv{
		position: absolute;
		right: -50px;
	}
	.portfolio .video-game-button {
		text-shadow: 1px 1px pink, -1px -1px maroon;
		line-height: 1.5em;
		display: block;
		text-align: center;
		display: inline-block;
		width: 1.5em;
		-webkit-border-radius: .75em;
		-moz-border-radius: .75em;
		-o-border-radius: .75em;
		border-radius: .75em;
		background-color: red;
		-webkit-box-shadow:  0 .2em maroon;
		-moz-box-shadow:  0 .2em maroon;
		-o-box-shadow:  0 .2em maroon;
		box-shadow:  0 .2em maroon;
		color: red;
		margin: 5px;
		background-color: red;
		background: linear-gradient(left top, pink 3%, red 22%, maroon 99%);
		background: -webkit-linear-gradient(left top, pink 3%, red 22%, maroon 99%);
		cursor: pointer;
		padding-left: 5px;
		font-family: PressStart2p;
	}
		.portfolio .video-game-button:active, .start-btn:active {
			box-shadow: none;
			position: relative;
			top: .2em;
		}

/* hack */
.videos div.videoIframe:nth-child(1){
    z-index:20; 
}
.videos div.videoIframe:nth-child(2){   
    z-index:19;  
}
.videos div.videoIframe:nth-child(3){
    z-index:18;  
}
.videos div.videoIframe:nth-child(4){   
    z-index:17;  
}
.videos div.videoIframe:nth-child(5){
    z-index:16;  
}
.videos div.videoIframe:nth-child(6){   
    z-index:15;  
}
.videos div.videoIframe:nth-child(7){   
    z-index:14;  
}
.videos div.videoIframe:nth-child(8){   
    z-index:13;  
}
.videos div.videoIframe:nth-child(9){   
    z-index:12;  
}
.videos div.videoIframe:nth-child(10){   
    z-index:11;  
}
.videos div.videoIframe:nth-child(11){   
    z-index:10;  
}
.videos div.videoIframe:nth-child(12){   
    z-index:9;  
}
.videos div.videoIframe:nth-child(13){   
    z-index:8;  
}
.videos div.videoIframe:nth-child(14){   
    z-index:7;  
}
.videos div.videoIframe:nth-child(15){   
    z-index:6;  
}
.videos div.videoIframe:nth-child(16){   
    z-index:5;  
}
.videos div.videoIframe:nth-child(17){   
    z-index:4;  
}
.videos div.videoIframe:nth-child(18){   
    z-index:3;  
}
.videos div.videoIframe:nth-child(19){   
    z-index:2;  
}
.videos div.videoIframe:nth-child(20){   
    z-index:1;  
}
.videos div.videoIframe:hover,.videos div.videoIframe:hover{
	z-index: 100;
}

#about{

}
	#about > .container{
		width: 100%;
		box-shadow: #ecccff 0px 0px 20px -5px;
		background: #3cb534; /* Old browsers */
		background: linear-gradient(to bottom,  #E13597 1%,#5A0690 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		background: -webkit-linear-gradient(to bottom,  #E13597 1%,#5A0690 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		border-radius: 3px;
		min-height: 500px;
	}
		#about .text{
			color: white;
			text-align: center;
		}
		#about .contact{
			background: blue;
			color: white;
			width: 200px;
			padding: 15px 10px;
			margin-bottom: 20px;
			font-size: 16px;
		}


/* responsive */
@media (max-width: 1200px) and (min-width: 960px){

}

@media (max-width: 960px) and (min-width: 650px){
	#contactInfo > span{
		width: 50%;
	}
		#contactInfo > span:last-of-type{
			width: 100%;
		}
	.container{
		width: 600px;
	}
	.screen{
		height: 400px;
	}
	.screen2{
		height: 200px;
	}
	.screen3{
		width: 33.333%;
		height: 133px;
	}
	#shop .shopCont .shopHalf{
		width: 100%;
	}
	#portfolio .videos,#portfolioPersonal .videos{
		padding-top: 0;
	}
	#portfolio .videos .videoIframe,#portfolioPersonal .videos .videoIframe{
		box-shadow: white 0px 9px 30px -10px;
		width: calc(50% - 10px);
		margin: 0 5px 5px;
	}

	.videos .videoIframe.hassubsubtitle{
		margin-bottom: 15px !important;
	}
	.subsubtitle{
		display: block;
		position: relative !important;
		top: 10px;
		width: 100%;
		text-align: left;
		padding-top: 0px;
		left: 0;
		right: unset;
	}
}

@media (max-width: 650px){
	#contactInfo > span{
		width: 100%;
	}
	.tvOverlay{
		display: none;
	}
	.container{
		width: 300px;
	}
	.screen, .screen2{
		width: 100%;
		height: 200px;
	}
	.screen3{
		width: 50%;
		height: 100px;
	}
		.screen3:nth-of-type(3){
			width: 100%;
			height: 200px;
		}
	.main-preloader .preloader-bar-outer{
		width: 80%;
	}
	.page{
		width: 95% !important;
	}
	#shop .shopCont .shopHalf{
		width: 100%;
	}
	#portfolio .videos,#portfolioPersonal .videos{
		padding-top: 0;
	}
	#portfolio .videos .videoIframe,#portfolioPersonal .videos .videoIframe{
		box-shadow: white 0px 9px 30px -10px;
		width: calc(100% - 10px);
		margin: 0 5px 5px;
	}
	.videos .videoIframe.hassubsubtitle{
		margin-bottom: 15px !important;
	}
	.subsubtitle{
		display: block;
		position: relative !important;
		top: 10px;
		width: 100%;
		text-align: left;
		padding-top: 0px;
		left: 0;
		right: unset;
	}
}

@media (max-width: 400px){
	#title{
		font-size: 1.9em;
		height: 50px;
	}
}





/* TV effect */
*,
:before,
:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
.hide {
  display: none;
}

.animate_content_out {
  animation: animate_out 1.5s ease;
}
.animate_content_in {
  animation: animate_in 1.5s ease;
}
.fadeIn {
  z-index: 10;
}
/* animate out */
@-moz-keyframes animate_out {
  20% {
    transform: scale(1, 0.002);
  }
  70% {
    transform: scale(0.2, 0.002);
    opacity: 1;
  }
  100% {
    transform: scale(0.2, 0.002);
    opacity: 0;
    display: none;
  }
}
@-webkit-keyframes animate_out {
  20% {
    transform: scale(1, 0.002);
  }
  70% {
    transform: scale(0.2, 0.002);
    opacity: 1;
  }
  100% {
    transform: scale(0.2, 0.002);
    opacity: 0;
    display: none;
  }
}
@keyframes animate_out {
  20% {
    transform: scale(1, 0.002);
  }
  70% {
    transform: scale(0.2, 0.002);
    opacity: 1;
  }
  100% {
    transform: scale(0.2, 0.002);
    opacity: 0;
    display: none;
  }
}

/* animate in */
@-moz-keyframes animate_in {
  0% {
    transform: scale(0.2, 0.002);
    opacity: 0;
  }
  66% {
    transform: scale(1, 0.002);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
  }
}
@-webkit-keyframes animate_in {
  0% {
    transform: scale(0.2, 0.002);
    opacity: 0;
  }
  66% {
    transform: scale(1, 0.002);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
  }
}
@keyframes animate_in {
  0% {
    transform: scale(0.2, 0.002);
    opacity: 0;
  }
  66% {
    transform: scale(1, 0.002);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
  }
}
