
html{
  background-color: #811902;
  font-weight: bold;
}
header{
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 375px;
  height: 50px;
  background-color: red;
}

#bone_pict_score{
  height: 30px;
}
#score{
  display: flex;
  align-items: center;
  width: 75%;
  height: 100%;
  padding-left: 5%;
  background-color: #FFD169;

}

#bones{
  font-size: 30px;
  margin-left: 5%;
}
#menu{
  background-color: orange;
  width: 20%;
  height:50px;
  text-align: center;
}

body{
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 375px;
  height: 500px;
}

#shop{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  height: 100px;
  background-color: grey;
}

#item_1{background-image: url('img/assets-04.png');}
#item_2{background-image: url('img/assets-02.png');}
#item_3{background-image: url('img/assets-05.png');}
#item_4{background-image: url('img/assets-11.png');}
#item_5{background-image: url('img/assets-03.png');}
#item_6{background-image: url('img/assets-07.png');}
#item_7{background-image: url('img/assets-10.png');}
#item_8{background-image: url('img/assets-12.png');}

.item{
  width: 33.33333%;
  height: 100%;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-weight: bold;
  font-size: 20px;
  color: #E2E9F7;
}

.itemhide{
  display: none;
}

.locked {

}

button.locked{
  background-color: #83817F;
  z-index: auto;
}

button.unlocked{
  background-color: #F08E2D;
  animation: pop 0.7s alternate 0s ease-in;
  z-index: auto;
}

@keyframes pop {
  0%   {transform: scale(1);}
  50% {transform: scale(1.1);}
  100% {transform: scale(1);}
}

#necromant{
  width: 33.33333%;
  height: 300px;
  background-color: #42497A;
  background-image: url('img/background-necro.png');
  background-size: 138%;
  background-repeat: no-repeat;
  background-position: center;
}

#jack{
  position: relative;
  height: auto;
  width: 120%;
  left: -33px;
  top: 30px;
}

.slot{
  position: relative;
}

.slothide{
  visibility: hidden;
}
#head{left: 40px; top: -250px;  width : 53px; height: 53px;}
#shoulder1{left: 7px; top:-255px;  width : 50px; height: 100px; z-index: 3;}
#shoulder2{left: 80px; top:-348px;  width : 50px; height: 65px; z-index: 3;}
#back{left: -44px; top:-420px; height: 234px; z-index: 3;}
#chest{left: 33px; top:-637px;  width : 100px; height: 84px; z-index: 1;}
#belt{left: 49px; top:-630px;  width : 100px; height: 78px; z-index: 3;}
#gloves{left: 12px; top:-656px;  width : 100px; height: 50px; z-index: 3;}
#sceptre{left: -13px; top:-700px;  width : 100px; height: 58px; z-index: 1;}

#army{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 66.66666%;
  height: 300px;
}

.box{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  height: 100px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  align-items: flex-end;
}

button.armybutton{
  width: 20%;
  height: 100px;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  color: #E2E9F7;
}

.dig img{width:auto; height: 92px;}
.war img{width:auto; height: 92px;}
.mag img{width:auto; height: 92px;}
.box#diggers{background-image: url('img/background-dig.png');}
.box#warriors{background-image: url('img/background-war.png');}
.box#magician{background-image: url('img/background-mag.png');}

.box div{
  width: 20%;
  height: 100px;
  z-index: 3;
}


#clicker{
  width: 100%;
  height: 100px;
}

#clicker button{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #FFD169;
  font-weight: bold;
  font-size: 25px;
  cursor: pointer;

}

#bone_pict_click{
  height:70px;
  margin-right: 2%;
  animation: crescendo 1.5s alternate infinite ease-in;
}

@keyframes crescendo {
  0%   {transform: scale(.8);}
  100% {transform: scale(1);}
}

footer{
  margin: auto;
  max-width: 375px;
  width: 100%;
}

.cover{
  filter: contrast(25%);
}

#tutorial{
}

.tuto{
  background-image: url('img/assets-tuto.png');
  background-size: 97%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 9;
  text-align: center;
  position: relative;
  font-family: Arial;
}

#tuto_1{left: 150px; top: -375px; width : 200px; height: 100px; z-index: 9; cursor: pointer;}
#tuto_2{left: 150px; top:-375px;  width : 200px; height: 100px; z-index: 9; cursor: pointer;}
#tuto_3{left: 150px; top:-540px;  width : 200px; height: 100px; z-index: 9; cursor: pointer;}
#tuto_4{left: 100px; top:-190px;  width : 200px; height: 100px; z-index: 9;}
#tuto_5{left: 150px; top:-500px;  width : 200px; height: 100px; z-index: 9;}
#tuto_6{left: 100px; top:-190px;  width : 200px; height: 100px; z-index: 9;}
#tuto_7{left: 55px; top:-300px;  width : 200px; height: 100px; z-index: 9;}
