html{
	width: auto;
}
body{
		background-image:url(/img/background.webp);
		background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.nevidno{
	display: none;
}
.rstrbutt{
	margin:20px;
	font-size: 50px;
	text-transform: uppercase;
	font-weight: 600;
	background: #dfde48;
	border-radius: 30px;
	border: none;
    cursor: pointer;
    color:#2e4f79;
    padding: 10px;
	
}
.rstrbutt:hover{
	background: #6fcd64;
	scale: 1.3;
	margin:20px;
	color:#fffd17;

	
}
.Uscore{
	padding:20px;
	margin:20px;
	font-size: 20px;
	background: #ffffff70;
	border-radius: 30px;
}
#topScoresList{
    font-size: 14px;
}
#topScoresList li{
    margin-top:5px;
    margin-bottom: 5px;
}
.gameisover{
	font-family: 'Press Start 2P';
	display: flex;
	flex-direction: column;
    align-items: center;
	font-size: 105px;
    position: absolute;
    top: 191px;
    left: 10px;
}
.full .gameisover{
	left:25%;
}
.noselect{
	overscroll-behavior-y: none;
	overflow: hidden;
}
#preloader {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: #000;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 9999;
}

#progress-bar {
   width: 300px;
   height: 20px;
   background-color: #fff;
   border-radius: 10px;
   overflow: hidden;
}

#progress {
   height: 100%;
   width: 0;
   background-color: #2699d7;
   
}
#progres-blok{
	width: 0px;
	background: white;
	animation: progressAnimation 5s linear infinite;
}

@keyframes progressAnimation {
   0% {
      width: 0;
      ;
   }
   100% {
      width: 100%;
      ;
   }
}

#progress-text {
   color: #fff;
   margin-top: 10px;
   font-family: 'Press Start 2P', cursive;
  margin-left: 20px;
}



.holst{
	display:block;
	
	
}
.bgimage{
	position: fixed;
    left: 0; right: 0;
    top: 0; bottom: 0;
	height:100%;
	background-image:url(/img/background.webp);
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.htgreed {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    padding: 1rem;
    margin: 0;
    grid-template-columns:220px 220px ;
    align-content: flex-start;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    
    justify-items: center;
}
.icname {
    position: relative;
    pointer-events: none;
    text-transform: uppercase;

    text-align: center;
    font-size: 1.4rem;
	margin-top:8px;
   font-family: 'Press Start 2P', cursive;
   
    -webkit-letter-spacing: 0.1rem;
    -moz-letter-spacing: 0.1rem;
    -ms-letter-spacing: 0.1rem;
    letter-spacing: 0.1rem;
    color: #ffffff;
  
}
.ic{
	
    pointer-events: auto;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    width: 110px;
	margin-top:20px;
}

.imgkartinki img{
  
    width: -webkit-fill-available;
    width: 100%;
    background-image:url(/img/noise-animated.webp);
}


.imgkartinki {
    
    
    width: -webkit-fill-available;
    
    align-items: left;
}
.ebaki img{
	
	    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    width: 50%;

}

.full .ebaki img{
	width: 20%;
}


.ebaki {
   
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;
	user-select: none;
    padding: 10px;
   
}

.figurki {
   
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;

    padding: 10px;
   
}


.figurki img {
	width:100%;
}
.full .figurki img {
	width:60%;
}


.owertype{
    position: absolute;
    z-index: 100;
    mix-blend-mode: hard-light;
}
.swiper {
  width: 600px;
  height: 300px;
}




 #modal {
      display: none;
      position: fixed;
      z-index: 9999;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      text-align: center;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.7);
    }

    #modal-content {
      display: inline-block;
      margin-top: 2%;
    }

    #modal img {
      width: 90%;
      height: 90%;
      cursor: pointer;
      overflow: hidden;
    }
	
	#modal img::selection{
		background-color:red;
	}
	
    #close {
      position: absolute;
      top: 50px;
      right: 120px;
      color: #fff;
      font-size: 150px;
      font-weight: bold;
      cursor: pointer;
      
    }
    
    .image-container {
      display: inline-block;
      margin: 10px;
      cursor:pointer;
    }
    .dungeon-game{
    	display:flex;    
    	flex-wrap: wrap;
    	flex-direction: column;
    	margin-top:60px;
    	align-items: center;
    }
    
    #Pravila{
	display: flex;
    position: inherit;
    top: 90px;
    padding: 15px;
    flex-wrap: wrap;
    justify-content: center;
    }
    #Pravila span{
    	margin:10px;
    }
