.dice {
  height: 50px;
  width: 50px;
  position: absolute;
  transform-style: preserve-3d;
  transform: translateZ(-100px) rotateY(-45deg) rotateX(-45deg);
  transform: translateZ(-100px) rotateY(150deg) rotateX(-147deg);
  transform: translateZ(-100px) rotateY(-323deg) rotateX(-147deg);
  
  /*transition: all 1s;*/
}

.panel {
  border-radius: 10px;
  width: 20px;
  height: 50px;
  perspective: 400px;
  position: absolute;
  left: 50%;
  top: 150px;
  transform: translate(-50%, -50%);
}
.dot {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 5px;
  background-color: gold;
}
.side {
  position: absolute;
  background-color: black;
  background-color: transparent;
  
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border-radius: 0px;
  line-height: 50px;
}
.one {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateX(-90deg) translateZ(100px);
  transform: rotateX(-90deg) translateZ(25px);
  z-index: 1;
  background-image : url(1.png);
  background-position:-12px -8px;
  background-image : url(3.png);
  background-position:-783 -15;
  background-image : url(3.png);
  background-position: -523px -98px;
  /*background-position: -532 -828;*/
  
  
}
.two {
  display: flex;
  justify-content: space-between;
  transform: rotateY(180deg) translateZ(25px);
  z-index: 2;
  background-image : url(1.png);
  background-position:-81 -8;
  background-image : url(3.png);
  background-position:-698 -15;
  background-image : url(3.png);
  background-position: -535px -1154px;
}
.two .dot:nth-of-type(2) {
  align-self: flex-end;
}
.three {
  display: flex;
  justify-content: space-between;
  transform: rotateY(90deg) translateZ(25px);
  z-index: 3;

  background-image : url(3.png);
  background-position:-618px -1152px;
  
  background-image : url(3.png);
  background-position: -535px -1074px;
  
 
}

.three .dot:nth-of-type(2) {
  align-self: center;
}

.three .dot:nth-of-type(3) {
  align-self: flex-end;
}
.four {
  z-index: 4;
  transform: rotateY(0deg) translateZ(25px);
  
  background-image : url(3.png);
  background-position: -535px -992px;
  

}
.four,
.six {
  display: flex;
  justify-content: space-between;
}

.four .kolona,
.six .kolona {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.five {
  display: flex;
  justify-content: space-between;
  transform: rotateY(-90deg) translateZ(25px);
  z-index: 5;
  
  background-image : url(3.png);
  background-position: -531px -911px;
}

.five .kolona {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.five .kolona:nth-of-type(2) {
  justify-content: center;
}
.six {
  transform: rotateX(90deg) translateZ(25px);
  z-index: 6;
  
  background-image : url(3.png);
  background-position: -507px -829px;
}


.dice_h{
	position:absolute;
	top:170px;
	left:170px;
	z-index:9;
	z-index:15;
}