.scene {
  width: 200px;
  height: 200px;
  /* perspective: 600px; */
  /* margin: 100px; */
  transform: scale(0.4);
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.cube__face {
  position: absolute;
  width: 200px;
  height: 200px;
  text-align: center;
  box-sizing: border-box;
  padding: 10%;
  font-size: 229px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center;
}

.cube__face--left   { transform: rotateY(-90deg) translateZ(100px); }
.cube__face--front  { transform: rotateY(  0deg) translateZ(100px); }
.cube__face--right  { transform: rotateY( 90deg) translateZ(100px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(100px); }
.cube__face--top    { transform: rotateX( 90deg) translateZ(100px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(100px); }

.cube__face--front  { background-image: url('assets/P.png'); }
.cube__face--left   { background-image: url('assets/F.png'); }
.cube__face--bottom { background-image: url('assets/K.png'); }

.cube__face--bottom { background-size: 90% 100%; }


.cube {
  transition: all 0.5s;
  /* transform: rotateY( 39deg ) rotateX( 36deg ); */
  transform: rotateY( 51deg ) rotateX( 25deg) rotateZ(26deg);
  animation-name: rotate-cube;
  animation-duration: 5s;
  animation-timing-function: linear;
/*   animation-delay: 0; */
  animation-iteration-count: infinite;
/*   animation-direction: forward; */
  
}

@keyframes rotate-cube {
  
  from {
    transform: rotateY( 0deg ) rotateX( 25deg) rotateZ(26deg);
  }
  
  to {
    transform: rotateY( 360deg ) rotateX( 25deg) rotateZ(26deg);
  }

}