
#win {
  display: none;
  width: 380px;
    margin: 0 auto;
}
 .overlay {
  background: #0000003b;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
  opacity: .5;
}
.visible {
  background: #fff;
  position: fixed;
  top: 50%;
  margin-top: -200px;
  overflow: hidden;
  z-index: 2000;
  width: 360px;
  padding: 20px;
  border-radius: 25px;
}
#win button {
  float: right;
  line-height: 20px;
  margin: 1.2em;
  color: #040404;
}
#win button[type="button"]:hover {
  cursor: pointer;
}
#win span {
  text-align: center;
  color: #555;
  font-size: 22px;
  font-weight: bold;
}
.content {
  padding: 0 1em;
}

#winImg {
  width: 100px;
  float: left;
}

#winTxt {
  width: 200px;
    float: left;
    font-size: 20px;
    margin-top: 40px;
    margin-left: 20px;
}

#dobre, #nedobre {
    display:none;
   }

#dobre, #nedobre {
  width: 150px;
  margin: 0 auto;
}

.visibleDobre {
  background: #fff;
  position: fixed;
  top: 50%;
  margin-top: -100px;
  overflow: hidden;
  z-index: 2000;
  width: 170px;
  padding: 20px;
  border-radius: 25px;
}
.winImgDobre {
  width: 100px;
  height: 100px;
  float: left;
}
.winImgOk {
  float: right;
  margin-top: 20px; 
}

  .bstart {
    display: block;
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 16px;
  background: #4eba3d;
  padding: 5px 10px 5px 10px;
  text-decoration: none;

}

.bstart:hover {
  background: #4eba3d;
  text-decoration: none;
  color: #ffffff;
}

.bend {
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 16px;
  background: rgb(251, 168, 0);
  padding: 5px 10px 5px 10px;
  text-decoration: none;
  float: left;
}

.bend:hover {
  background: rgb(251, 168, 0);
  text-decoration: none;
  color: #ffffff;
}

#stage {
    width: 528px;
    position: relative;
    margin: 0 auto;
    margin-top: 0px;
    background: rgba(240, 255, 255, 0.79);
    height: 415px;
    border: 2px solid rgb(119, 179, 108);
    border-top: 0px;
}
.stageCanvas {
  width: 100%; 
  height: 215px;
}
canvas { position: relative; }

h1 {
  padding-left: 20px;
  padding-top: 20px;
}
.answer {
  font-size: 20px;
  font-weight: bold;
}
#gameMenu {
  width: 528px;
  height: 100px;
    margin: 0 auto;
    border: 2px solid rgb(119, 179, 108); 
   border-bottom: 0px; 
}
.gameMenuLeft {
  width: 25%;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}
.gameMenuRight {
  width: 70%;
  float: right;
  margin-top: 30px;
}

div#sidebar {
  width: 100%;
  margin-left: 0px;
}
.padder1 {
  width: 650px;
  margin: 0 auto;
}
.widget {
  float: left;
  width: 200px;
  padding-right: 50px;
}
.widgettitle {
  text-align: center;
}
.myh3 {
  margin: 0px;
  padding-bottom: 10px;
  margin-top: -10px;
}
.sub-button {
  font-size: 15px;
    padding: .46em 1.5em .54em;
    min-width: 135px;
    height: 30px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    color: #fff;
    border: 0 solid #999;
    border: none transparent;
    background: -webkit-linear-gradient(top, #4aca5f 0%,#0e9c3a 100%);
    text-decoration: none;
    border-radius: 5px;
    -webkit-font-smoothing: antialiased;
    -webkit-transition: .1s linear -webkit-box-shadow;
    -moz-transition: .1s linear -moz-box-shadow;
    -ms-transition: .1s linear box-shadow;
    -o-transition: .1s linear box-shadow;
    transition: .1s linear box-shadow;
}
.sub-button:hover{
  color:#fff;
  background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),
    color-stop(40%,rgba(0,0,0,.05)),to(rgba(0,0,0,.1))); 
  background-color: #9de20e;
}
button.btclick {
  width: 45px;
  height: 44px;
    border-radius: 16px;
    border-style: solid;
    border-width: 2px 2px 4px;
    color: #4b4b4b;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    margin: 2px;
    transform: translateZ(0);
    transition: filter .2s;
    padding: 5px;
}
#placeBtn {
  width: 380px;
  height: 60px;
  margin: 0 auto;
}
#placeBtnLeft {
  width: 100%;
    float: left;
}
#placeBtnRight {
  width: 260px;
  margin: 0 auto;
}
#countNumber {
  color: red;
  font-weight: bold;
  font-size: 22px; 
}
@media only screen and (max-width: 600px) { 
  #placeBtn {
    width: 100%;
  }
  .stageCanvas {
    width: 100%;
  }
  #stage {
    width: 100%;
  }
  #gameMenu {
    width: 100%;
  }
  canvas {
    width: 100%;
  }
  .gameMenuRight {
    width: 60%;
  }
}