
body {
  background-color: black;
}

/* ==============================================================================================
Nick Mkrtchyan
http://www.facebook.com/sonick.pk
http://www.Mkrtchyan.zz.mu
================================================================================================= */
* {
    margin: 0;
    padding: 0;
}
header {
    background-color:rgba(33, 33, 33, 0.9);
    color:#ffffff;
    display:block;
    font: 14px/1.3 Arial,sans-serif;
    height:50px;
    position:relative;
    z-index:5;
}
h2{
    margin-top: 30px;
    text-align: center;
}
header h2{
    font-size: 22px;
    margin: 0 auto;
    padding: 10px 0;
    width: 80%;
    text-align: center;
}
header a, a:visited {
    text-decoration:none;
    color:#fcfcfc;
}

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

@keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-webkit-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-moz-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-ms-keyframes move-clouds-back {
    from {background-position: 0;}
    to {background-position:10000px 0;}
}

.stars, .twinkling, .clouds {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.stars {
  background:#000 url(http://www.script-tutorials.com/demos/360/images/stars.png) repeat top center;
  z-index:0;
}

.twinkling{
  background:transparent url(http://www.script-tutorials.com/demos/360/images/twinkling.png) repeat top center;
  z-index:0;

  -moz-animation:move-twink-back 200s linear infinite;
  -ms-animation:move-twink-back 200s linear infinite;
  -o-animation:move-twink-back 200s linear infinite;
  -webkit-animation:move-twink-back 200s linear infinite;
  animation:move-twink-back 200s linear infinite;
}

.clouds{
    background:transparent url(http://www.script-tutorials.com/demos/360/images/clouds3.png) repeat top center;
    z-index:0;

  -moz-animation:move-clouds-back 200s linear infinite;
  -ms-animation:move-clouds-back 200s linear infinite;
  -o-animation:move-clouds-back 200s linear infinite;
  -webkit-animation:move-clouds-back 200s linear infinite;
  animation:move-clouds-back 200s linear infinite;
}
@font-face {
/*///////SPACE INVADERS FONT////////*/
font-family:"space invaders Regular";
src:url("../lib/fonts/space_invaders.eot?") format("eot"),
url("../lib/fonts/space_invaders.woff") format("woff"),
url("../lib/fonts/space_invaders.ttf") format("truetype"),
url("../lib/fonts/space_invaders.svg#Space-Invaders") format("svg");
font-weight:normal;
font-style:normal;
}

@font-face { font-family: Heavitas; src: url("../lib/fonts/Heavitas.ttf"); }

body {
width: 100%;
height: 100%;
}

.winner {
  position: absolute;
  top: 250px;
  left: 45%;
  font-family: "space invaders Regular";
  width: 180px;
  height: 100px;
  background-color: white;
  margin: 0 auto;

}

.winner > h1 {
  text-align: center;
  color: #00ff00;
  margin-top: 30px;
}

.loser {
    position: absolute;
    top: 250px;
    left: 45%;
    font-family: "space invaders Regular";
    width: 220px;
    height: 100px;
    background-color: #616161;
    margin: 0 auto;
}

.loser > h1 {
  text-align: center;
  color: firebrick;
  margin-top: 30px;
}

.score {
  font-family: "space invaders Regular";
  color: gray;
  position: absolute;
  left: 20px;
  font-size: 15px

}

.scoreNumber {
  color: green;
  position: absolute;
  bottom: 0px;
  left: 70px;
}

.startScreen {
  width: 100%;
  height: 600px;
  background-color: black;
  margin-top: 35px;
}

.mainBox {
  margin: 0 auto;
  text-align: center;
  position: absolute;
  top: 132px;
  left: 425px;
  width: 600px;
  height: 400px;
}

.mainBox > h1 {
  margin-top: 30px;
  font-size: 60px;
  font-family: 'Heavitas';
  color: white;

}



.controls {
margin: 0 auto;
width: 400px;
height: 80px;
margin-top: 30px;
font-family: arial;
color: white;
font-size: 20px;
}

.space,
.left,
.right {
  height: 40px;
  display: inline-block;
  margin-top: 10px;
  border: 1px solid white;
}

.space {
  border-radius: 15px;
  width: 150px;
  margin-right: 15px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
}


.left {
  border-radius: 15px;
  width: 80px;
  margin-right: 15px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
}


.right {
  border-radius: 15px;
  width: 80px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
}

.press {
  margin-top: 10px;
}

.spaceButton {
  margin-top: 30px;
  width: 500px;
  height: 50px;
  background-color: #ccc;
  border-radius: 30px;
  border: 5px solid white;
  font-size: 20px;
  font-family: arial;
  color: black;
  z-index: 1;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
}

.spaceButtonOn {
  margin-top: 30px;
  width: 500px;
  height: 50px;
  background-color: #eb0046;
  border-radius: 30px;
  border: 5px solid white;
  font-size: 20px;
  font-family: arial;
  color: white;
  z-index: 1;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
}

.spaceButton:hover {
  background-color: #eee;
}
.spaceButtonOn:hover {
  background-color: #da0343;
}


.space:hover {
  background-color: #eb0046;
}
.left:hover {
  background-color: #eb0046;
}
.right:hover {
  background-color: #eb0046;
}


.btn-5 {
  border: 0 solid;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  outline-color: rgba(255, 255, 255, .5);
  outline-offset: 0px;
  text-shadow: none;
  transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-5:hover {
  border: 1px solid;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 15px;
  text-shadow: 1px 1px 2px #427388;
}
