/* 24/06/2022 Tous droits réservés */
.sceneContainer{
    margin-left: auto;
    margin-right: auto;
    width: 350px;
    box-sizing: border-box; 
    transform: scale(2);
    transform-origin: top;
    min-height: 160px;
    max-height: 160px;
}
.placeLibreCube{
    min-height: 220px;
}
@media screen and (max-width: 640px) {
    .sceneContainer{
        transform: scale(1);
        min-height: 150px;
        max-height: 150px;
    }
    .placeLibreCube{
        min-height: 25px;
    }
}

@media screen and (max-width: 420px) {
    .sceneContainer{
        transform: scale(0.8);
        min-height: 140px;
        max-height: 140px;
    }
    .placeLibreCube{
        min-height: 10px;
    }
}

.sceneContainer .scene {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    perspective: 400px;
}

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


}
.sceneContainer .cube__face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid black;
    line-height: 200px;
    font-size: 40px;
    font-weight: bold;
    color: blue;
    text-align: center;
    background-size: contain;
    opacity: 0.9;
}
/* couleurs par défaut
.cube__face--devant  { background: hsla(  0, 100%, 50%, 0.7); }
.cube__face--droite  { background: hsla( 60, 100%, 50%, 0.7); }
.cube__face--derriere  { background: hsla(120, 100%, 50%, 0.7); }
.cube__face--gauche   { background: hsla(180, 100%, 50%, 0.7); }
.cube__face--haut    { background: hsla(240, 100%, 50%, 0.7); }
.cube__face--bas { background: hsla(300, 100%, 50%, 0.7); }
*/
/*
.sceneContainer .cube__face--devant{ background-image: url('../../images/cube3d/001.jpg');}
.sceneContainer .cube__face--droite{ background-image: url('../../images/cube3d/002.jpg');}
.sceneContainer .cube__face--derriere{ background-image: url('../../images/cube3d/003.png');}
.sceneContainer .cube__face--gauche{ background-image: url('../../images/cube3d/004.jpg');}
.sceneContainer .cube__face--haut{ background-image: url('../../images/cube3d/005.jpg');}
.sceneContainer .cube__face--bas{ background-image: url('../../images/cube3d/006.png');}
*/
.sceneContainer .cube.show-devant  { transform: translateZ(-100px) rotateY(   0deg); }
.sceneContainer .cube.show-droite  { transform: translateZ(-100px) rotateY( -90deg); }
.sceneContainer .cube.show-derriere   { transform: translateZ(-100px) rotateY(-180deg); }
.sceneContainer .cube.show-gauche   { transform: translateZ(-100px) rotateY(  90deg); }
.sceneContainer .cube.show-haut    { transform: translateZ(-100px) rotateX( -90deg); }
.sceneContainer .cube.show-bas { transform: translateZ(-100px) rotateX(  90deg); }

.sceneContainer .cube__face--devant{ background-repeat: no-repeat;background-position: center;background-color: white;}
.sceneContainer .cube__face--droite{ background-repeat: no-repeat;background-position: center;background-color: white;}
.sceneContainer .cube__face--derriere{ background-repeat: no-repeat;background-position: center;background-color: white;}
.sceneContainer .cube__face--gauche{ background-repeat: no-repeat;background-position: center;background-color: white;}
.sceneContainer .cube__face--haut{ background-repeat: no-repeat;background-position: center;background-color: white;}
.sceneContainer .cube__face--bas{ background-repeat: no-repeat;background-position: center;background-color: white;}

.sceneContainer .cube__face--devant  { transform: rotateY(  0deg) translateZ(100px); }
.sceneContainer .cube__face--droite  { transform: rotateY( 90deg) translateZ(100px); }
.sceneContainer .cube__face--derriere   { transform: rotateY(180deg) translateZ(100px); }
.sceneContainer .cube__face--gauche   { transform: rotateY(-90deg) translateZ(100px); }
.sceneContainer .cube__face--haut    { transform: rotateX( 90deg) translateZ(100px); }
.sceneContainer .cube__face--bas { transform: rotateX(-90deg) translateZ(100px); }

.cube3d-radio-group{
    background-color: maroon;
    visibility: hidden;
}

