/* HUG CSS Template 1.0 */

/*====== General CSS ======*/
input::-webkit-input-placeholder {
  color: #4c4c4c;
}
input::-moz-placeholder {
  color: #4c4c4c;
}
input:-ms-input-placeholder {
  color: #4c4c4c;
}
input:-moz-placeholder {
  color: #4c4c4c;
}
input::placeholder {
  color: #4c4c4c;
}
textarea::-webkit-input-placeholder {
  color: #4c4c4c;
}
textarea::-moz-placeholder {
  color: #4c4c4c;
}
textarea:-ms-input-placeholder {
  color: #4c4c4c;
}
textarea:-moz-placeholder {
  color: #4c4c4c;
}
textarea::placeholder {
  color: #4c4c4c;
}
input:focus::-webkit-input-placeholder {
  color: transparent;
  transition: 0.4s all ease;
  -webkit-transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
}
input:focus:-moz-placeholder {
  color: transparent;
  transition: 0.4s all ease;
  -webkit-transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
}
input:focus::-moz-placeholder {
  color: transparent;
  transition: 0.4s all ease;
  -webkit-transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
}
input:focus:-ms-input-placeholder {
  color: transparent;
  transition: 0.4s all ease;
  -webkit-transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
}
input{
  outline: none;
}
html, body {
  min-height: 100%;
}
body {
  color: #ffffff;
  margin: 0;
  padding: 0;
  background: url("../images/bg.jpg")no-repeat;
  background-size: cover;
  font-family: 'Knockout-JuniorLiteweight';
}
a:hover, a:focus {
  text-decoration: none;
}

/* Embed Font */
@font-face {
  font-family: 'Archer-Bold';
  src: url('../fonts/Archer-Bold.eot');
  src: url('../fonts/Archer-Bold.eot') format('embedded-opentype'), url('../fonts/Archer-Bold.woff') format('woff'), url('../fonts/Archer-Bold.ttf') format('truetype'), url('../fonts/Archer-Bold.svg#Archer-Bold') format('svg');
}
@font-face {
  font-family: 'BebasNeue';
  src: url('../fonts/BebasNeue.eot');
  src: url('../fonts/BebasNeue.eot') format('embedded-opentype'), url('../fonts/BebasNeue.woff2') format('woff2'), url('../fonts/BebasNeue.woff') format('woff'), url('../fonts/BebasNeue.ttf') format('truetype'), url('../fonts/BebasNeue.svg#Archer-Bold') format('svg');
}
@font-face {
  font-family: 'DINNextLTArabic-Bold';
  src: url('../fonts/DINNextLTArabic-Bold.eot');
  src: url('../fonts/DINNextLTArabic-Bold.eot') format('embedded-opentype'), url('../fonts/DINNextLTArabic-Bold.woff') format('woff'), url('../fonts/DINNextLTArabic-Bold.ttf') format('truetype'), url('../fonts/DINNextLTArabic-Bold.svg#Archer-Bold') format('svg');
}
@font-face {
  font-family: 'FilmotypeLucky';
  src: url('../fonts/FilmotypeLucky.eot');
  src: url('../fonts/FilmotypeLucky.eot') format('embedded-opentype'), url('../fonts/FilmotypeLucky.woff') format('woff'), url('../fonts/DINNextLTArabic-Bold.ttf') format('truetype'), url('../fonts/DINNextLTArabic-Bold.svg#Archer-Bold') format('svg');
}
@font-face {
  font-family: 'BebasNeueRegular';
  src: url('../fonts/BebasNeueRegular.eot');
  src: url('../fonts/BebasNeueRegular.eot') format('embedded-opentype'), url('../fonts/BebasNeueRegular.woff') format('woff'), url('../fonts/DINNextLTArabic-Bold.ttf') format('truetype'), url('../fonts/DINNextLTArabic-Bold.svg#Archer-Bold') format('svg');
}
@font-face {
  font-family: 'BebasNeueBold';
  src: url('../fonts/BebasNeueBold.eot');
  src: url('../fonts/BebasNeueBold.eot') format('embedded-opentype'), url('../fonts/BebasNeueBold.woff') format('woff'), url('../fonts/DINNextLTArabic-Bold.ttf') format('truetype'), url('../fonts/DINNextLTArabic-Bold.svg#Archer-Bold') format('svg');
}
@font-face {
  font-family: 'BebasNeueBook';
  src: url('../fonts/BebasNeueBook.eot');
  src: url('../fonts/BebasNeueBook.eot') format('embedded-opentype'), url('../fonts/BebasNeueBook.woff') format('woff'), url('../fonts/DINNextLTArabic-Bold.ttf') format('truetype'), url('../fonts/DINNextLTArabic-Bold.svg#Archer-Bold') format('svg');
}

/* Typography */
h1 {
  font-size: 48px;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 28px;
}
h4 {
  font-size: 18px;
}
h5 {
}
blockquote {
  font-size: 25px;
}
p {
  font-size: 16px;
}
label {
  font-family: 'Archer-Bold';
  color: #00704a;
  margin: 0 auto;
  display: block;
  text-align: center;
  margin-bottom: 5px;
}
label a {
  font-family: 'Archer-Bold';
  color: #00704a;
  text-align: center;
 }

/* Defaults */
.clearfix {
  display: block;
  clear: both;
}
.col-center {
  margin: auto;
  float: none;
}
.img-full img {
  width: 100%;
}
.alpha {
  padding-left: 0px;
}
.omega {
  padding-right: 0px;
}
.show-mobile {
  display: none;
}
.hide-mobile {
  display: block;
}
a {
  color: #ffffff;
}
a:focus, a:hover {
  color: #ffffff;
  outline: none;
}
img {
  max-width: 100%;
}
ul li {
  list-style: none;
}

/*==== End of general CSS ====*/

/* Buttons =================================================== */
.btn {
  background: #fdb825;
  color: #000000;
  border: 0;
  outline: 0;
  box-shadow: none;
  font-family: 'Archer-Bold';
  font-size: 22px;
  padding: 10px 18px;
  line-height: 36px;
  text-transform: uppercase;
  transition: 0.4s all ease;
  -webkit-transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
  border-radius: 20px;
}
.btn:hover, .btn:focus {
  outline: 0 !important;
  box-shadow: none !important;
  color: #ffffff;
  background: #000000;
}

/* Header ==================================================== */
.navbar {
  background: #00704a;
  border: 0;
  border-bottom: 4px solid #fdb825;
  min-height: inherit;
  padding: 12px 0;
  margin: 0 0 0px;
  border-radius: 0;
}
.navbar-brand {
  padding: 0;
  height: auto;
  font-size: 0;
  color: transparent;
  line-height: normal;
}
.navbar-nav {
  margin-top: 16px;
}
.navbar-nav > li > a {
    font-size: 15px;
    text-transform: uppercase;
    padding: 5px 0;
    margin: 0px 10px;
  transition: 0.4s all ease;
  -webkit-transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
  font-family: 'Archer-Bold';
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
}
.navbar-nav > li > a:hover:before, .navbar-nav > li > a.active:before {
  left: 0;
  right: 0;
}
.navbar-nav > li > a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #fdb825;
  height: 3px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.navbar-nav > li > a.active, .navbar-nav > li > a:hover, .navbar-nav > li > a:focus {
  background: transparent;
}
.navbar-nav > li > a.active:before {
  background: transparent;
  border-bottom: 3px solid #fdb825;
}
.lang-switch {
  float: right;
  margin: 12px 0 0 20px;
}
.lang-switch .btn {
  font-family: 'DINNextLTArabic-Bold';
  font-size: 18px;
  padding: 2px 5px;
  height: 32px;
  display: inline-block;
  line-height: 18px;
  text-align: center;
  color: #00704a;
  background: #fff;
  min-width: 80px;
}
.lang-switch .btn:hover, .lang-switch .btn:focus {
  color: #fdb825;
  background: #ffffff;
}
.navbar-toggle {
  padding: 0;
  margin: 8px 0 0;
  width: auto;
  border: 0;
  width: 30px;
  height: 21px;
}
.navbar-toggle span {
  height: 4px;
  position: absolute;
  top: 8px;
  left: 0;
  background-color: transparent;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  width: 100%;
  transition-duration: 0.3s, 0.3s;
}
.navbar-toggle span:before, .navbar-toggle span:after {
  height: 4px;
  background: #fdb825;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  width: 100%;
  position: absolute;
  content: "";
  left: 0;
  transition-duration: 0.3s, 0.3s;
}
.navbar-toggle.collapsed span:before {
  top: -8px;
  transform: rotate(0);
}
.navbar-toggle span:before {
  top: 0;
  transform: rotate(45deg);
}
.navbar-toggle.collapsed span:after {
  bottom: -8px;
  transform: rotate(0);
}
.navbar-toggle span:after {
  bottom: 0;
  transform: rotate(-45deg);
}
.navbar-toggle.collapsed span {
  background-color: #fdb825;
}
input[type="submit"] {
  text-align: center;
  margin: 0 auto;
  display: block;
  background: #b91f2e;
  border: none;
  border-radius: 40px;
  padding: 15px 45px;
  font-family: 'Archer-Bold';
  text-transform: uppercase;
  font-size: 21px;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
input[type="submit"]:hover {
  background: #00704a;
  outline: none;
}
 section.score-board {
    background: #b91f2e;
    padding: 15px 0;
    margin: 0; 
}
 section.score-board span {
     padding: 0;
    margin: 0;
    font-size: 76px;
    line-height: 76px;
    font-family:'FilmotypeLucky';
    color: #fff;
    position: relative;
    top: 17px;
}
.counter {
   position: relative;
   float: left;
}
.counter:before{
  width: 60px;
  height: 78px;
  content: '';
  background: url("../images/counter.png")no-repeat;
  position: absolute;
  left: -67px;
  top: 0;
}
.score{
   position: relative;
   float: right;
}
.score:before{
  width: 69px;
  height: 69px;
  content: '';
  background: url("../images/nuts.png")no-repeat;
  position: absolute;
  left: -78px;
  top: 0;
}

.game-box a{
 font-family: "BebasNeueRegular";
 font-size: 72px;
 line-height: 72px;
 background: #b91f2e;
 text-transform: uppercase;
 max-width: 280px;
 padding:24px 78px;
 border-radius:25px;
 margin: 60px auto 110px;
 display: block;
  transition: 0.4s all ease;
  -webkit-transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
}
.game-box a:hover{ 
 background: #00704a;
}
.dummy-box{
  margin: 90px auto 0;
  display: block;
}
.instruction{
  margin:40px 0 0;
  padding: 0 15px;
}
canvas {
    margin: 0 auto;
    display: block;
}
.game-area h2{
 font-family: "BebasNeueRegular";
 font-size: 36px;
 line-height: 40px;
 color: #fff;
 text-transform: uppercase;
 text-align: center;
}
.game-area h2 span{
  display: block;
 font-family: "BebasNeueRegular";
 font-size: 68px;
 line-height: 70px;
 color: #fff;
 text-transform: uppercase;
}
#popnuts canvas {
 background:transparent;
}

.finalscore{
  position: relative;
}
.finalscore:before {
    width: 69px;
    height: 69px;
    content: '';
    margin-left: -40px;
    background: url(../images/nuts.png)no-repeat;
    position: absolute;
    top: 0;
}
.finalscore #finalscore {
  padding: 0;
    margin: 0;
    font-size: 76px;
    line-height: 76px;
    font-family: 'FilmotypeLucky';
    color: #fff;
    position: relative;
    top: 10px;
    left: 40px;
}
.gameover {
    text-align: center;
    margin: 100px 0;
}

.gameover h2 {
    padding: 0;
    margin: 0;
    font-size: 76px;
    line-height: 76px;
    font-family: 'FilmotypeLucky';
    color: #b91f2e;
    position: relative;
}

.gameover h3 {
    padding: 0;
    margin: 0;
    font-size: 50px;
    line-height: 70px;
    font-family: 'FilmotypeLucky';
    color: #b91f2e;
    position: relative;
}
.gameover a {
    font-family: "BebasNeueRegular";
    font-size: 60px;
    line-height: 60px;
    background: #b91f2e;
    text-transform: uppercase;
    /* max-width: 280px; */
    padding: 15px 30px;
    text-align: center;
    border-radius: 25px;
    margin: 40px auto;
    display: block;
    transition: 0.4s all ease;
    -webkit-transition: 0.4s all ease;
    -moz-transition: 0.4s all ease;
}
.content p {
    padding: 0;
    margin: 0;
    font-size: 25px;
    line-height: 30px;
    font-family: 'FilmotypeLucky';
    color: #b91f2e;
    position: relative;
}
.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}



#popnuts{
  position: relative;
}
 

#popnuts canvas{
  background: url("../images/rolling.svg")no-repeat; 
  background-position: 50%;
}
#popnuts canvas#canvas {
  background: none;
}