/*----------------------------------------------------------------------------*/
/*                        (c) 2015 Ivan Reyné Ferrando                        */
/*                                                                            */
/*                           http://ivanreyne.ninja                           */
/*----------------------------------------------------------------------------*/
@font-face {
  font-family: 'Bangers';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Bangers.woff2') format('woff2'), url('../fonts/Bangers.woff') format('woff');
}
@font-face {
  font-family: 'Permanent Marker';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/PermanentMarker.woff2') format('woff2'), url('../fonts/PermanentMarker.woff') format('woff');
}
@font-face {
  font-family: 'GameFont';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/PermanentMarker.woff2') format('woff2'), url('../fonts/PermanentMarker.woff') format('woff');
}
/* general properties
------------------------------------------------------------------------------*/
body {
  box-sizing: border-box;
  position: absolute;
  top: 0%;
  bottom: 0%;
  right: 0%;
  left: 0%;
  background-color: #000000;
  font-family: 'Permanent Marker', cursive;
  font-size: 100%;
  margin: 0%;
  padding: 0%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-shadow: -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  box-sizing: border-box;
  font-family: 'Bangers', cursive;
  /*font-weight: bold;*/

  margin: 0%;
  padding: 0% 0% 1% 0%;
  line-height: 1.25em;
  text-shadow: 3px 3px 0 #000000, -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;
}
p,
div,
span,
ul,
li {
  box-sizing: border-box;
  margin: 0%;
  padding: 0%;
}
p {
  margin-bottom: 1em;
  font-size: 120%;
}
ul {
  list-style: disc outside;
  padding: 0% 0% 0% 10%;
}
h1 {
  font-size: 400%;
}
h2 {
  font-size: 300%;
}
h3 {
  font-size: 200%;
}
h4,
h5 {
  font-size: 150%;
}
img {
  box-sizing: border-box;
  border: 1px none #000000;
}
a {
  color: #ffffff;
  text-decoration: none;
  outline-style: none;
  outline-width: 0;
}
a:hover {
  color: #ffff00;
}
/* main website page
------------------------------------------------------------------------------*/
div#website {
  position: absolute;
  width: 100%;
  height: 100%;
  font-size: 1.75%;
  margin: 0%;
  border: 1p none #000000;
  padding: 0%;
  overflow: hidden;
}
/* standard page distribution
------------------------------------------------------------------------------*/
div.stdPage {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #999999;
  background-image: url("../img/wwwBack0.png");
  background-size: contain;
  color: #ffffff;
}
div.stdPage h1,
div.stdPage h2 {
  display: block;
  text-align: center;
}
div.stdPage div.title {
  position: absolute;
  top: 2%;
  bottom: 80%;
  left: 0%;
  right: 0%;
}
div.stdPage div.content {
  position: absolute;
  top: 20%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  margin: 0% 10% 5% 10%;
}
div.stdPage div.content h1,
div.stdPage div.content h2,
div.stdPage div.content h3 {
  position: relative;
  margin-top: 2%;
}
div.stdPage div.content h1 a,
div.stdPage div.content h2 a,
div.stdPage div.content h3 a {
  text-shadow: 4px 4px 0 #000000, -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;
}
div.stdPage div.content .footer {
  position: absolute;
  bottom: 0%;
  left: 0%;
  right: 0%;
  text-align: center;
  margin: 0;
}
div.stdPage div.content.with_ad {
  position: absolute;
  right: 40%;
  margin: 0% 1% 5% 10%;
}
div.stdPage div.ad {
  position: absolute;
  top: 20%;
  bottom: 0%;
  left: 60%;
  right: 0%;
  margin: 0% 10% 5% 1%;
}
div.stdPage div.nav {
  position: absolute;
  top: 0%;
  bottom: 90%;
  left: 80%;
  right: 0%;
  font-size: 175%;
}
div.stdPage div.nav a {
  float: right;
  margin-right: 1em;
}
/* game phase easy
------------------------------------------------------------------------------*/
div.gmPage {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: transparent;
}
div.gmPage .gmWrap {
  position: relative;
  width: 100%;
  height: 100%;
  margin-right: auto;
  margin-left: auto;
}
div.gmPage .gmWrap .gameCanvas {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: transparent;
}
/* main menu
------------------------------------------------------------------------------*/
div.mainMenu {
  background-image: url("../img/wwwBack0.png");
}
div.mainMenu h3 {
  display: block;
  text-align: center;
}
div.mainMenu div.languageEntries {
  position: absolute;
  top: 1%;
  right: 1%;
  width: 25%;
  height: 10%;
  font-size: 100%;
}
div.mainMenu div.languageEntries a {
  float: right;
  width: 17%;
  margin-left: 3%;
}
div.mainMenu div.languageEntries a img {
  width: 100%;
  border-radius: 10%;
}
div.mainMenu div.languageEntries a img:hover {
  background-color: #ffff00;
}
div.mainMenu div.languageEntries a.selected img {
  background-color: #ffff00;
}
div.mainMenu div.content {
  top: 5%;
  bottom: 17%;
}
div.mainMenu div.ad {
  position: absolute;
  top: 20%;
  bottom: 17%;
  margin-bottom: 0%;
}
div.mainMenu div.apps {
  position: absolute;
  top: 86%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  margin: 0% 10% 3% 10%;
}
div.mainMenu div.apps div.app_box {
  display: inline-block;
  width: 32%;
  height: 100%;
  padding: 0% 5%;
}
div.mainMenu div.apps div.app_box a {
  height: 100%;
}
div.mainMenu div.apps div.app_box a img {
  height: 100%;
}
/* about
------------------------------------------------------------------------------*/
div.about {
  background-image: url("../img/wwwBack1.png");
}
/* help
------------------------------------------------------------------------------*/
div.help {
  background-image: url("../img/wwwBack2.png");
}
/* new
------------------------------------------------------------------------------*/
div.new {
  background-image: url("../img/wwwBack5.png");
}
/* game phase choose
------------------------------------------------------------------------------*/
div.phaseChoose {
  background-image: url("../img/wwwBack4.png");
}
div.phaseChoose h1,
div.phaseChoose h2,
div.phaseChoose h3,
div.phaseChoose h4,
div.phaseChoose h5 {
  display: block;
  position: relative;
  text-align: center;
}
div.phaseChoose h5 {
  margin-bottom: 2%;
}
div.phaseChoose a {
  text-shadow: 4px 4px 0 #000000, -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;
}
/* game over
------------------------------------------------------------------------------*/
div.gameOver .high_score,
div.gameOver .high_time {
  color: #ff8800;
  text-decoration: underline;
}
/* unlocks
------------------------------------------------------------------------------*/
div.unlocks {
  background-image: url("../img/wwwBack3.png");
}
div.unlocks .unlock_item_cont .unlock_item {
  float: left;
  width: 16.66%;
  height: 10%;
}
div.unlocks .unlock_item_cont .unlock_item div {
  background-size: cover;
  background-position: center;
  width: 96%;
  padding-top: 66%;
  margin: 2%;
}
/* clears, infos, errors and stuff
------------------------------------------------------------------------------*/
.clear {
  margin: 0%;
  padding: 0%;
  clear: both;
}
.right {
  float: right;
}
.left {
  float: left;
}
.centre,
.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.text_left {
  text-align: left !important;
}
.text_right {
  text-align: right !important;
}
.text_centre,
.text_center {
  text-align: center !important;
}
#debug {
  position: absolute;
  display: none;
  z-index: 1000;
  pointer-events: none;
  font-size: 3%;
  top: 0%;
  left: 0%;
  width: 25%;
  height: 50%;
  background-color: rgba(255, 0, 0, 0.5);
}
