/* ###

:: APP CONTROLLER :: MAKE IMAGE DIR RELATIVE :: ../application/media/images/ ::

### */

.scene {
    width: 100px;
    height: 100px;
    perspective: 400px;
}

.cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-50px);
    transition: transform 1s;
}

.cube.show-front  { transform: translateZ(-50px) rotateY(   0deg); }
.cube.show-right  { transform: translateZ(-50px) rotateY( -90deg); }
.cube.show-back   { transform: translateZ(-50px) rotateY(-180deg); }
.cube.show-left   { transform: translateZ(-50px) rotateY(  90deg); }
.cube.show-top    { transform: translateZ(-50px) rotateX( -90deg); }
.cube.show-bottom { transform: translateZ(-50px) rotateX(  90deg); }

.cube__face {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid #7d9926;
    line-height: 100px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cube__face--front  { background: hsla(  74, 61%, 46%, 0.9); }
.cube__face--right  { background: hsla( 74, 61%, 46%, 0.9); }
.cube__face--back   { background: hsla(74, 61%, 46%, 0.9); }
.cube__face--left   { background: hsla(74, 61%, 46%, 0.9); }
.cube__face--top    { background: hsla(74, 61%, 46%, 0.9); }
.cube__face--bottom { background: hsla(74, 61%, 46%, 0.9); }

.cube__face--front  { transform: rotateY(  0deg) translateZ(50px); }
.cube__face--right  { transform: rotateY( 90deg) translateZ(50px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(50px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(50px); }
.cube__face--top    { transform: rotateX( 90deg) translateZ(50px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(50px); }

label { margin-right: 10px; }