@font-face {
    font-family: pixel;
    src: url(pixel.ttf);
}

@media (max-width: 991px) {
  .latest-posted-tasks-big {
    text-align: center;
  }
  .latest-posted-tasks-big > * {
    text-align: initial;
  }
  .latest-posted-tasks-big > .grid_task {
    display: inline-block;
    float: none;
  }
}

h1{
    font-family: pixel;
    text-align: center;
    margin-top: 0px;
    color: red;
    font-size: 60px;
}

h2{
    display: none;
    font-family: pixel;
    text-align: center;
    margin-top: 0px;
    color: red;
    font-size: 30px;
    margin-left: 730px;
}

h3{
    display: none;
    font-family: pixel;
    text-align: center;
    margin-top: -55px;
    margin-right: 800px;
    color: white;
    font-size: 30px;
}

menacep1{
    font-family: pixel;
    text-align: center;
    margin-top: 0px;
    margin-left: 240px;
    color: red;
    font-size: 40px;
}
perfectp1{
    font-family: pixel;
    text-align: center;
    margin-top: 0px;
    margin-left: 610px;
    color: red;
    font-size: 40px;
}

.intro{
    position: absolute;
    font-family: pixel;
    color: red;
    font-size: 40px;
    text-align: center;
    margin-left: -300px;
    float: inherit;
    white-space: nowrap;
}

p1{
    font-family: pixel;
    float: inherit;
    margin-right: 300px;
    text-align: center;
    color: white;
    font-size: 30px;  
}

p2{
    font-family: pixel;
    text-align: left;
    color: white;
    font-size: 40px;   
}
perfectp2{
    font-family: pixel;
    float: right;
    margin-right: -450px;
    text-align: center;
    color: white;
    font-size: 30px; 
}

.menaceinfo{
    white-space: nowrap;
    display: none;
    font-family: pixel;
    color: white;
    font-size: 30px;
    text-align: left;
    position: absolute;
    margin-left: -200px;
    margin-right: 100px;
    margin-top: 10px
    position: absolute;
    float:none;
}

.perfectinfo{
    white-space: nowrap;
    display: none;
    font-family: pixel;
    color: white;
    font-size: 30px;
    text-align: left;
    position: absolute;
    margin-left: -300px;
    margin-right: 100px;
    margin-top: 10px;
    postion: absolute;
    float: none;  
}

.humaninfo{
    display: none;
    font-family: pixel;
    color: white;
    font-size: 30px;
    text-align: left;
    position: absolute;
    margin-left: -300px;
    margin-right: 100px;
    margin-top: 10px;
    postion: absolute;
    float: left;  
}

.main-container {
    height: 450;
    width: 1100px;
    margin: auto;
    margin-top: 10px;

}

.control-container {
    height: 200px;
    width: 100%;
    margin-top: -200px;
    margin-left: auto;
    margin-right: auto;
}

body {
    background-image: url("../imgs/background1.png ");
    background-size: 1%; 
    background-repeat: repeat;
}

.active{
    background-color: black;
}

.board {
    border: 10px solid transparent;
    display: none;
    margin-left: -65px;
    postion: absolute;
    float: left;
    height: 410px;
    width: 420px;
    //border-image: url("../imgs/board.png") ;
    background-image: url("../imgs/board.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    //background-attachment: fixed;
    /*margin-left: -50px;
    margin-top: 30px;
    border-style: solid;
    border-color: white;
    border-radius: 5px; */
}

.board2 {
    display: none;
    postion: absolute;
    float: right;
    margin-right: -60px;
    margin-top: -510px;
    border: 10px solid transparent;
    height: 420px;
    width: 450px;
    /*margin-left: px;
    margin-top: px ;
    border-image: url("../imgs/board.png") 200 stretch; */
}

.cell {
    border: 1px solid transparent;
    postion: absolute;
    width: 120px;
    height: 120px;
    margin-left: 15px;
    margin-top: 12px;
    background: url("../imgs/boardcell.png");
    border-style: transparent;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    cursor:pointer;
    float: left;
    line-height: 120px;
    text-align: center;
    font-family: pixel;
    font-size: 80px;
}
.cell:hover {
  background: url("../imgs/boardcellpressed.png");
}

.bead {
    postion: absolute;
    width: 140px;
    height: 150px;
    background: url("../imgs/coin.png");
    background-repeat: no-repeat;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    cursor:pointer;
    float: right;
    line-height: 140px;
    text-align: center;
    font-family: pixel;
    font-size: 50px; 
}

.control {
    font-family: pixel;
    font-size: 40px;
    text-align: center;
    margin-top: 300px;
	color: RED;
}

.menace-skull {
    margin: auto;
    width: 500px;
    postion: absolute;
    height: 500px;
}

.training {
    margin-top: -400px;
    margin-left: -250px;
    position: absolute;
    font-family: pixel;
    font-size: 60px;
    display: none;
    color: white;
    text-align: center;

}

#progress {
    font-family: pixel;
    font-size: 40px;
    color: black;
    text-align: center;
    display: none;
    width: 1%;
    background-color: white;
    height: 40px;
    border-radius: 25px;
}

.level1 {
    margin-left: 80px;
    text-align: center;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

.not-selected {
    opacity: 0.5;
    /* was 0.5 before */
}

.not-selected:hover {
    opacity:1;
}

.selected{
    
}
.start {
    margin-top: 20px;
    width: 150px;
    height: 100px;
    background: transparent url('../imgs/button.png');
    line-height: 100px;
    text-align: center;
    color: white;
    margin-left: auto;
    margin-right: auto;
    cursor:pointer;
    opacity:1;
    font-size: 30px;
    /* was 0.5 before */
}

.restart {
    width: 150px;
    height: 100px;
    background: transparent url('../imgs/button.png');
    line-height: 100px;
    text-align: center;
    font-size: 30px;
    color: white;
    margin-left: auto;
    margin-right: auto;
    cursor:pointer;
    opacity:1;
    /* was 0.5 before */
}
.return {
    position: relative;
    margin-top: -100px;
    width: 150px;
    height: 100px;
    background: transparent url('../imgs/button.png');
    line-height: 100px;
    text-align: center;
    font-size: 30px;
    color: white;
    margin-right: auto;
    margin-left: 30%;
    cursor:pointer;
    opacity:1;
    /* was 0.5 before */
}
.fastforward {
    position: relative;
    display: none;
    margin-top: -100px;
    width: 150px;
    height: 100px;
    background: transparent url('../imgs/button.png');
    line-height: 100px;
    text-align: center;
    font-size: 30px;
    color: white;
    margin-right: 30%;
    margin-left: auto;
    cursor:pointer;
    opacity:1;
    /* was 0.5 before */
}

.counter {
    position: absolute;
    float: left;
    color: red;
    margin-top: 600px;
    font-family: pixel;
    font-size: 50px; 
}

.thinking {
    position: absolute;
    margin-left: 900px;
    margin-bottom: 40px;
    color: red;
    margin-top: 0px;
    font-family: pixel;
    font-size: 50px; 
}

.restartPopUp {
    display: none;
    position: absolute;
    margin-left: 1000px;
    margin-top: -40px;
    background-image: url('../imgs/speechbubble.png');
    background-size: 100%;
    width: 200px;
    height: 150px;
    opacity: 1;
}
.popUpText{
    margin: auto;
    margin-top: 20px;
    font-family: pixel;
    font-size: 20px;
    width:170px;
    height: 170px;
    color: black;
    text-align: center;
}

.restart:hover {
   -webkit-filter: drop-shadow(10px 10px 5px #222);
  filter: drop-shadow(10px 10px 5px #222);
}
.fastforward:hover {
   -webkit-filter: drop-shadow(10px 10px 5px #222);
  filter: drop-shadow(10px 10px 5px #222);
}

.return:hover {
   -webkit-filter: drop-shadow(10px 10px 5px #222);
  filter: drop-shadow(10px 10px 5px #222);
}

.start:hover {
   -webkit-filter: drop-shadow(10px 10px 5px #222);
  filter: drop-shadow(10px 10px 5px #222);
}

.ingame {
    display:none;
    color:white;
}

.ingame > p {
    margin:0px;
}

