body { font-family: sans-serif; }

.scenecdthick {
  width: 450px;
  height: 400px;
  border: 1px solid #CCC;
  margin: 60px;
  perspective: 400px;
  top: 0px;	
  left: -150px;
  
}

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

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


.cdthick__face {
  position: absolute;
  border: 1px none #999;
  font-size: 40px;
  font-weight: bold;
  color: white;
  text-align: center;
}

.cdthick__face--front,
.cdthick__face--back {
  width: 450px;
  height: 400px;
  line-height: 400px;
}

.cdthick__face--right,
.cdthick__face--left {
  width: 36px;
  height: 400px;
  left: 100px;
  line-height: 400px;
}

.cdthick__face--top,
.cdthick__face--bottom {
  width: 450px;
  height: 36px;
  top: 50px;
  line-height: 36px;
}

.cdthick__face--front  { background: #999;  }
.cdthick__face--right  { background: #999;  }
.cdthick__face--back   { background: #999;  }
.cdthick__face--left   { background: #999;  }
.cdthick__face--top    { background: #999;  }
.cdthick__face--bottom { background: #999;  }

.cdthick__face--front  { transform: rotateY(  0deg) translateZ( 18px); }
.cdthick__face--back   { transform: rotateY(180deg) translateZ( 18px); }

.cdthick__face--right  { transform: rotateY( 90deg) translateZ(330px); }
.cdthick__face--left   { transform: rotateY(-90deg) translateZ(120px); }

.cdthick__face--top    { transform: rotateX( 90deg) translateZ(68px); }
.cdthick__face--bottom { transform: rotateX(-90deg) translateZ(332px); }

label { margin-right: 10px; }


/* Test out changes to above - https://codepen.io/desandro/pen/MGpMOV */


 /* Animation DIV */ 
.moveinsquare  {
  width: 300px;
  height: 480px;
  position: relative;
  left:0px;
  top:-480px;
  visibility:hidden;
  z-index: -1;
  background:#CCC;
  animation-name: removecassette;
  animation-fill-mode:forwards;
  animation-delay: 1s;
  animation-duration: 6s;
}
.moveinsquare .animate  {  
  animation-name: removecassette;
  animation-fill-mode:forwards;
  animation-delay: 1s;
  animation-duration: 6s;
 }
	
/* The animation code */
@keyframes removecassette {
  0%   {left:0px; top:-400px; visibility:hidden;}
  25%  {left:0px; top:100px;transform:rotate(0deg); visibility:visible;}
  50%  {left:470px; top:100px;transform:rotate(-90deg);}
  75%  {left:470px; top:-400px;;transform:rotate(-90deg);}
  100% {left:470px; top:-400px;;transform:rotate(-90deg); visibility:visible;}
}


 /* Animation DIV */ 
.movesideways  {
  width: 400px;
  height: 400px;
  position: relative;
  left:0px;
  top:-400px;
  visibility:hidden;
  z-index: -1;
  background:#CCC;
  animation-name: removecdsideways;
  animation-fill-mode:forwards;
  animation-delay: 1s;
  animation-duration: 6s;
}
.movesideways .animate  {  
  animation-name: removecdsideways;
  animation-fill-mode:forwards;
  animation-delay: 1s;
  animation-duration: 6s;
  
 }
	
/* The animation code */
@keyframes removecdsideways {
  0%   {left:0px; top:-400px; transform:rotate(-45deg); visibility:hidden;}
  75%  {left:470px; top:-400px;;transform:rotate(-10deg); visibility:visible;}
  100% {left:470px; top:-400px;;transform:rotate(0deg); visibility:visible;}
}

.cdthickcomments  {
  width: 360px;
  height: 100px;
  position: relative;
  left:450px;
  top:-400px;
  background:#FFF;
  z-index:5;
  margin: 0 auto;
  text-align: center;
}
.cdthickcomments p {
text-align: center;
}

.realign {
  position: relative;
  left:-100px;
  top:-0px;	
  background:#FF0;
}
