/*
---------------------------------------------
	CLEAR FORMATTING
---------------------------------------------
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*
---------------------------------------------
	GENERAL
---------------------------------------------
*/

body {
  font-family: "Press Start 2P";
  font-size: 0.9em;
  line-height: 2em;
  background-color: #306230;
}

.wrapper {
  width: 960px;
  margin: 0px auto;
}

h2 {
  color: #9bbc0f;
  font-size: 1.1em;
  font-weight: bold;
}
h3 {
  font-weight: bold;
}

.menu {
  position: absolute;
  right: 24px;
  top: 24px;
  color: #9bbc0f;
}

.menu a {
  color: #9bbc0f;
}
.menu a:hover {
  color: #8bac0f;
}

.description a {
  color: #9bbc0f;
}
.description a:hover {
  color: #8bac0f;
}

.divider40 {
  padding-top: 40px;
}

.divider80 {
  padding-top: 80px;
}

/*
---------------------------------------------
	TILES
---------------------------------------------
*/

.tiles {
  z-index: -10;
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 960px;
  overflow: hidden;
  background-color: black;
}

.tile {
  position: relative;
  width: 48px;
  height: 48px;
  float: left;
  display: inline;
  background: url("../images/tileset.png") no-repeat;
}

.tile-topleft {
  background-position: 0px 0px;
}
.tile-top {
  background-position: -48px 0px;
}
.tile-topright {
  background-position: -96px 0px;
}
.tile-left {
  background-position: 0px -48px;
}
.tile-right {
  background-position: -96px -48px;
}
.tile-bottomleft {
  background-position: 0px -96px;
}
.tile-bottom {
  background-position: -48px -96px;
}
.tile-bottomright {
  background-position: -96px -96px;
}
.tile-horileft {
  background-position: -192px 0px;
}
.tile-horimiddle {
  background-position: -240px 0px;
}
.tile-horiright {
  background-position: -288px 0px;
}
.tile-verttop {
  background-position: -144px 0px;
}
.tile-vertmiddle {
  background-position: -144px -48px;
}
.tile-vertbottom {
  background-position: -144px -96px;
}
.tile-single {
  background-position: -288px -48px;
}
.tile-empty,
.tile-middle {
  background: none;
}

.tile-corner-topleft,
.tile-corner-topright,
.tile-corner-bottomleft,
.tile-corner-bottomright {
  background: url("../images/tileset.png") no-repeat;
  width: 48px;
  height: 48px;
  position: absolute;
}
.tile-corner-topleft {
  background-position: -240px -96px;
}
.tile-corner-topright {
  background-position: -192px -96px;
}
.tile-corner-bottomleft {
  background-position: -240px -48px;
}
.tile-corner-bottomright {
  background-position: -192px -48px;
}

/*
---------------------------------------------
	STUDIO LOGO
---------------------------------------------
*/

.studiologo {
  background-color: #0f380f;
  height: 78px;
  width: 100%;
}

.studiologo img {
  position: absolute;
  left: 12px;
  top: 12px;
}

/*
---------------------------------------------
	BANNER BACKGROUND
---------------------------------------------
*/

.banner-background {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 800px;
  z-index: -10;
  overflow: hidden;
  background: #306230;
  /*background-image: url("/images/header.png");*/
}

/*
---------------------------------------------
	BANNER
---------------------------------------------
*/

.banner {
  width: 100%;
  height: 800px;
  float: left;
}

img.logo {
  margin-top: 20px;
}

/*
---------------------------------------------
	MEDIA
---------------------------------------------
*/

.media {
  background: #8bac0f;
  width: 100%;
  float: left;
  border-top: 1px solid #0f380f;
  border-bottom: 1px solid #8bac0f;
}

.video {
  margin: -150px 0px 0px 0px;
  padding: 0px;
  line-height: 0;
  width: 100%;
  float: left;
}

.screenshots {
  width: 100%;
  float: left;
}

.screenshots img {
  width: 217px;
  margin: 20px 20px 20px 0px;
  padding: 0px;
  float: left;
  display: inline;
  padding: 4px;
  background: #306230;
}

.screenshots img.last {
  margin-right: 0px;
}

/*
---------------------------------------------
	DESCRIPTION
---------------------------------------------
*/

.description {
  width: 100%;
  float: left;
  padding: 40px 0px 40px 0px;
  border-bottom: 1px solid #0f380f;
  border-top: 1px solid #0f380f;
  color: #8bac0f;
  font-family: "Press Start 2P", sans-serif;
  font-size: 1.2em;
}

.info {
  font-size: 1.1em;
  width: 100%;
  float: left;
  display: inline;
}

/*
---------------------------------------------
	WALKER
---------------------------------------------
*/

.ground {
  background: url("/images/backgrounds/ground.png");
  width: 100%;
  height: 240px;
  padding: 0px;
  float: left;
  text-align: center;
}

@-webkit-keyframes walkeranim {
  0% {
    display: block;
    background-position: 0px 0px;
  }
  100% {
    background-position: -240px 0px;
  }
}
@keyframes walkeranim {
  0% {
    display: block;
    background-position: 0px 0px;
  }
  100% {
    background-position: -240px 0px;
  }
}

.walker-container {
  position: absolute;
  margin-top: -48px;
  width: 100%;
  height: 48px;
  overflow: hidden;
}

.walker {
  position: absolute;
  background: url("/images/walker1.png");
  width: 48px;
  height: 48px;
  -webkit-animation: walkeranim 0.8s steps(5) infinite;
  animation: walkeranim 0.8s steps(5) infinite;
}

/*
---------------------------------------------
	FOOTER
---------------------------------------------
*/

.footer {
  background-color: #0f380f;
  width: 100%;
  padding: 60px 0px 60px 0px;
  float: left;
  color: #9bbc0f;
}

.footer p {
  text-align: center;
}

.footer a {
  color: #9bbc0f;
}
.footer a:hover {
  color: #8bac0f;
}

/*
---------------------------------------------
	MOBILE + TINY WINDOWS
---------------------------------------------
*/

@media (max-width: 960px) {
  .wrapper {
    width: 100%;
  }

  .logo {
    width: 100%;
  }

  .video {
    box-shadow: none;
    margin-left: 10%;
    overflow: hidden;
    width: 80%;
  }

  .screenshots {
    text-align: center;
    margin-top: 20px;
    overflow: hidden;
  }

  .screenshots img {
    margin: 0px;
    margin-bottom: 10px;
    float: none;
  }

  .description {
    text-align: center;
  }

  .about-khamitovsteam {
    text-align: center;
  }

  .about-khamitovsteam img {
    float: none;
    display: inline;
  }

  .about-khamitovsteam p {
    text-align: center;
    width: 100%;
    margin: 0px;
    padding: 0px;
  }
}
