/*
Tělo (Celý dokument)
*/
body {
  background-color: #348C31;
  text-align: center;
  margin: 0;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/*
Pozadi
*/
.pozadi {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

/*
Obrázek monstra
*/
.obrazekMonstrum:hover {
  cursor: url('hraObrazky/ostatni/cursor.png'),auto;
}
.obrazekMonstrum {
  display: block;
  cursor: pointer;
  padding-left: 43%;
  position: relative;
  top: 50px;
}
.obrazekMonstrum:active {
  animation: vibrate 0.1s infinite;
}

/*
Hradba
*/
.bojiste {
  width: 100%;
  height: auto;
  padding: 5% 0 0 0;
  background-image: url("hraObrazky/ostatni/pozadi.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.bojiste .hradba img {
  max-width: 100%;
}
.bojiste .hradba{
  position: relative;
}
.bojiste .monstrumInfo {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: white;
  background-color: rgba(0, 0, 0, 0.658);
  border-radius: 20px;
  padding: 1% 2% 1% 2%;
  box-shadow: 0px 0px 50px 10px #000000;
}
.bojiste .monstrumInfo #progressBar {
  width: 300px;
  height: 50px;
  line-height: 50px;
  text-shadow: 0px 0px 7px rgba(0,0,0,1),
  0px 0px 7px rgba(0,0,0,1),0px 0px 7px rgba(0,0,0,1),
  0px 0px 7px rgba(0,0,0,1),0px 0px 7px rgba(0,0,0,1),
  0px 0px 7px rgba(0,0,0,1),0px 0px 7px rgba(0,0,0,1);
  letter-spacing: 2px;
  color: white;
}
.bojiste .monstrumInfo #monstrumJmeno{
  font-size: 30px;
  text-shadow: 0px 0px 7px rgba(0,0,0,1);
  letter-spacing: 2px;
}
#progressBar::before {
  content: attr(value);
}
#progressBar::after {
  content: attr(data-label) attr(max);
}
#progressBar{
  accent-color: coral;
}
/*
Pod hradbami
*/
.flexContainer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  align-content: center;
  width: 100%;
  height: auto;
  overflow: auto;
  flex-direction: row;
  text-align: center;
  margin: 0 auto;
}

/*
Obchod
*/
.obchod {
  display: flex;
  margin: auto;
  text-align: center;
  justify-content: center;
  width: 100%;
}
.polozkaObchodu {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid black;
  text-align: center;
  display: flex;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: .2;
  
  margin: 1% 2% 1% 2%;
}
.ukazatPolozkuObchodu {
  opacity: 1;
}

/*
Statistiky
*/
.statistiky {
  width: 100%;
  display: inline-block;
  /*
  flex-direction: column;
  text-align: center;
  margin: auto;
  */
}
.statistiky div {
  display: inline-table;
}
.toolTipText {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: .3% .8% .3% .8% !important;
  opacity: 0.8;
  /* Position the tooltip */
  position: relative;
  z-index: 1;
}
.statistiky div:hover .toolTipText {
  visibility: visible;
  opacity: 1;
}
#scoreIMG {
  -webkit-filter: drop-shadow(0px 0px 20px black);
  filter: drop-shadow(0px 0px 10px black)
  drop-shadow(0px 0px 10px black);
}

/*
INFOBAR
*/
.infoBar {
  width: 70%;
  flex: 1;
}
/*
Zivoty hrace
*/
.zivotyHrace {
  display: inline-block;
  position: relative;
  width: 30%;
  margin: auto;
  padding: 1% 2% 1% 2%;
  -webkit-filter: drop-shadow(0px 0px 20px black);
  filter: drop-shadow(0px 0px 10px black)
  drop-shadow(0px 0px 10px black);
}
.zivotyHrace #hracJmeno{
  font-size: 30px;
  text-shadow: 0px 0px 7px rgba(0,0,0,1);
  letter-spacing: 2px;
  color: white;
}
.zivotyHrace #progressBarHrace {
  width: 300px;
  height: 50px;
  line-height: 50px;
  text-shadow: 0px 0px 7px rgba(0,0,0,1),
  0px 0px 7px rgba(0,0,0,1),0px 0px 7px rgba(0,0,0,1),
  0px 0px 7px rgba(0,0,0,1),0px 0px 7px rgba(0,0,0,1),
  0px 0px 7px rgba(0,0,0,1),0px 0px 7px rgba(0,0,0,1);
  letter-spacing: 2px;
  color: white;
}
#progressBarHrace::before {
  content: attr(value);
}
#progressBarHrace::after {
  content: attr(data-label) attr(max);
}
#progressBarHrace{
  accent-color: rgb(42, 117, 117);
}
/*
Animace
*/
@keyframes vibrate {
  50% {
    transform: rotate(4deg) translateX(4px);
  }
  100% {
    transform: rotate(-4deg) translateX(-4px);
  }
}
  
.cursor {
  width: 20px;
  height: 20px;
  opacity: 0;
  position: absolute;
  z-index: 50;
}
#silaUtoku {
  width: 30px;
  height: 30px;
  position: absolute;
  z-index: 55;
}

@keyframes cursorAnim3 {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.expand {
  animation: cursorAnim3 .4s forwards;
}
.expandText {
  animation: cursorAnim3 .60s forwards;
}
#riznutiMonstrem {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  top: 15%;
  right: 0;
  text-align: center;
  z-index: 70 !important;
  display: none;
}
.zobrazRiznuti {
  animation: cursorAnim3 1s forwards;
}

/*
ScrollBar
*/
/* width */
::-webkit-scrollbar {
  width: 5px;
  background-color: grey;
}
  
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
   
/* Handle */
::-webkit-scrollbar-thumb {
  background: black; 
  border-radius: 10px;
}
  
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(48, 48, 48); 
}

/*
Responzivita
*/
@media screen and (max-width: 800px) {
  .infoBar {
    width: 100%;
  }
  .zivotyHrace {
    width: 100%;
  }
  .obrazekMonstrum{
    width: 40%;
    height: auto;
  }
  #monstrumJmeno{
    display: none;
  }
}
