/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html, body {
    color: #353535;
    font-size: 1em;
    line-height: 1.4;
	overflow-x: hidden;
	background: black;
	   margin: 0;
    font-family: 'Sanomet';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */


a{
	text-decoration: none;
}

@font-face {
    font-family: 'PerfectDOSVGA437Win';
    src: url('../fonts/PerfectDOSVGA437Win.eot');
    src: url('../fonts/PerfectDOSVGA437Win.eot') format('embedded-opentype'),
         url('../fonts/PerfectDOSVGA437Win.woff2') format('woff2'),
         url('../fonts/PerfectDOSVGA437Win.woff') format('woff'),
         url('../fonts/PerfectDOSVGA437Win.ttf') format('truetype'),
         url('../fonts/PerfectDOSVGA437Win.svg#PerfectDOSVGA437Win') format('svg');
}

@font-face {
    font-family: 'HelveticaBold';
    src: url('../fonts/HelveticaBold.eot');
    src: url('../fonts/HelveticaBold.eot') format('embedded-opentype'),
         url('../fonts/HelveticaBold.woff2') format('woff2'),
         url('../fonts/HelveticaBold.woff') format('woff'),
         url('../fonts/HelveticaBold.ttf') format('truetype'),
         url('../fonts/HelveticaBold.svg#HelveticaBold') format('svg');
}

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


@font-face {
    font-family: 'digital7_mono';
    src: url('../fonts/digital7_mono.eot');
    src: url('../fonts/digital7_mono.eot') format('embedded-opentype'),
         url('../fonts/digital7_mono.woff2') format('woff2'),
         url('../fonts/digital7_mono.woff') format('woff'),
         url('../fonts/digital7_mono.ttf') format('truetype'),
         url('../fonts/digital7_mono.svg#digital7_mono') format('svg');
}

@font-face {
    font-family: 'CenturyGothic';
    src: url('../fonts/CenturyGothic.eot');
    src: url('../fonts/CenturyGothic.eot') format('embedded-opentype'),
         url('../fonts/CenturyGothic.woff2') format('woff2'),
         url('../fonts/CenturyGothic.woff') format('woff'),
         url('../fonts/CenturyGothic.ttf') format('truetype'),
         url('../fonts/CenturyGothic.svg#CenturyGothic') format('svg');
}

@font-face {
    font-family: 'SynchroLETPlain';
    src: url('../fonts/SynchroLETPlain.eot');
    src: url('../fonts/SynchroLETPlain.eot') format('embedded-opentype'),
         url('../fonts/SynchroLETPlain.woff2') format('woff2'),
         url('../fonts/SynchroLETPlain.woff') format('woff'),
         url('../fonts/SynchroLETPlain.ttf') format('truetype'),
         url('../fonts/SynchroLETPlain.svg#SynchroLETPlain') format('svg');
}

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


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

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

.animated-fast{
-webkit-transition:all .2s ease-in;
	-moz-transition:all .2s ease-in;  
    -o-transition:all .2s ease-in;	
}

.animated-medium{
-webkit-transition:all .5s ease-in;
	-moz-transition:all .5s ease-in;  
    -o-transition:all .5s ease-in;	
}

.noshow{
	opacity: 0 !important;
}

.hiddens{
	opacity: 0;
	pointer-events: none;
}

.hiddens2{
	opacity: 0;
	pointer-events: none;
}

.assets {
  pointer-events: none;
}

.btn,
.btn_run {
  pointer-events: all;
}

#corridor,
#roomchange,
#roomchangeback,
#exit_bg {
  z-index: 1;
}

#kendo_strike,
#kendo_deflecting,
#kendo_hit,
#kendo_moves,
#kendo_fight,
#kendo_kill {
  z-index: 9;
}

#player_running,
#slash,
#player_hit,
#player_strike,
#player_death,
#player_stop,
#player_exit {
  z-index: 10;
}

#player_idle {
  z-index: 20;
}

.nonexistent{
	pointer-events: none;
}

.assets{
	position: absolute;
	width: 100%;
	height: 100%;
}

.main{
	width: 100%;
	height: 100vh;
	
	position: relative;
}

.btn, .btn_run{
	position: fixed;
	top: 50%;
	transform: translate(0, -50%);
	pointer-events: all;
	cursor: pointer;
	z-index: 21000;
	width: 500px;
	height: 300px;
	right: 60px;
	
}

.game_holder{
	position: absolute;
	max-width: 1280px;
	top: 50%;
	width: 80%;
	left: 50%;
	height: 100%;
	transform: translate(-50%, -50%);
	
}

.over{
	position: fixed;
	z-index: 1000;
	height: 100%;
	width: 100%;
	top: 0;

}

.taphere.vanish {
  animation: tapFlicker 10s steps(1) forwards;
}

@keyframes tapFlicker {
  0%   { opacity: 1; }
  5%   { opacity: 0; }
  10%  { opacity: 1; }
  15%  { opacity: 0; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  30%  { opacity: 1; }
  35%  { opacity: 0; }
  40%  { opacity: 1; }
  45%  { opacity: 0; }
  50%  { opacity: 1; }
  55%  { opacity: 0; }
  60%  { opacity: 1; }
  65%  { opacity: 0; }
  70%  { opacity: 1; }
  75%  { opacity: 0; }	
  80%  { opacity: 1; }
  85%  { opacity: 0; }
  90%  { opacity: 1; }
  95%  { opacity: 0; }
  100% { opacity: 0; visibility: hidden; }
}

.strike-btn{
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	right: 60px;
	z-index: 1110000;
	pointer-events: none;
	display: flex;
	justify-content: space-between;
	width: 300px;
	align-items: center;
}

.tapbtn{
	width: 25%;
	cursor: pointer;
	  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;      /* IE 10 and IE 11 */
  user-select: none;         /* Standard syntax */
}

.clickks{
	-webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.taphere{
	width: 65%;
	margin-right: 10%;
}


.over-bg{
	background: #000;
	opacity: .9;
	width: 100%;
	height: 100%;
	position: absolute;
}

.over-main-text{
	position: absolute;
	left: 50%;
	background: none;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
    font-family: 'digital7_mono';
	font-size: 16px;
	color: white;
}

.over-death{
	font-size: 160px;
	color: #D90000;
	font-family: 'AkzidenzGrotesk-Bold';
}

.main-btn{
	color: white;
	-webkit-transition:all .2s ease-in;
	-moz-transition:all .2s ease-in;  
    -o-transition:all .2s ease-in;
	cursor: pointer;
}

.main-btn:hover{
	color: #D90000;
}


.loader_inner{
	height: 1px;
    width: 100%;
    background: #999;
	margin-left: 0;
	position: relative;
	z-index: 11;
	left: 0;
	top: 0;
	-webkit-transition: all 0.9s ease-in-out;
    -moz-transition: all 0.9s ease-in-out;
    transition: all 0.9s ease-in-out;
}

.load_under{
	height: 1px;
	z-index: 10;
    width: 100%;
    background: #333;
	margin-left: 0;
	left: 0;
	top: 0;
	position: absolute;
	
}

.load_over{
	margin-left: -100% !important;
}

.page_loader{
	width: 220px;
	position: absolute;
	left: 50%;
	top: 50%;
	overflow: hidden;
	transform: translate(-50%, -50%);
	z-index: 2;
	
}

.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 119999;
	background-color: black;
}


.loader{
	width: 36px;
	position: absolute;
	left: 50%;
	top: 200px;
	transform: translate(-50%, 0%);
	z-index: 2;
	display: none;

}

.load_bar{
	width: 100%;
	height: 10px;
	background: #ff0000;
	margin-top: 5px;
	overflow-x: hidden;
	-webkit-transition: all .6s ease;
    -moz-transition: all .6s ease;
    transition: all .6s ease;
}

.l_closed{
	width: 0;
}

@media screen and (max-width:1890px) {

.game_holder{
	max-width: 1580px;
	
}
	
}
