.animatingDiv {

	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
	
	left: -50px;
	top: -50px;
	position: absolute;
	background: blue;
	z-index:1000000
}

.dice{
	transform-origin: center center;
	position: absolute;
	width: 50px;
	height: 50px;
	transform-style: preserve-3d;
}

.dice > div {
  
  background: #D54056;
    border: 1px solid #922e3b;
    box-sizing: border-box;
    backface-visibility: hidden;
	    position: absolute;
    width: 50px;
    height: 50px;
	transform-origin: center center;
}

.dice span {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: block;
  position: absolute;
}

.dice .front span:nth-child(1) {
  top: 8.3px;
  left: 8.6px;
}
.dice .front span:nth-child(2) {
  top: 8.3px;
  right: 8.6px;
}
.dice .front span:nth-child(3) {
  top: 20px;
  left: 8.6px;
}
.dice .front span:nth-child(4) {
  top: 20px;
  right: 8.6px;
}
.dice .front span:nth-child(5) {
  bottom: 8.3px;
  left: 8.6px;
}
.dice .front span:nth-child(6) {
  bottom: 8.3px;
  right: 8.6px;
}

.dice .back span {
  top: 21px;
  left: 21px;
}

.dice .right span:nth-child(1) {
  top: 8.6px;
  left: 8.6px;
}
.dice .right span:nth-child(2) {
  top: 8.6px;
  right: 8.6px;
}
.dice .right span:nth-child(3) {
  top: 21px;
  left: 21px;
}
.dice .right span:nth-child(4) {
  bottom: 8.6px;
  left: 8.6px;
}
.dice .right span:nth-child(5) {
  bottom: 8.6px;
  right: 8.6px;
}

.dice .left span:nth-child(1) {
      top: 8.6px;
    right: 8.6px;
}
.dice .left span:nth-child(2) {
      bottom: 8.6px;
    left: 8.6px;
}

.dice .top span:nth-child(1) {
  top: 8.6px;
    right: 8.6px;
}
.dice .top span:nth-child(2) {
      bottom: 8.6px;
    left: 8.6px;
}
.dice .top span:nth-child(3) {
  bottom: 21px;
  left: 21px;
}

.dice .bottom span:nth-child(1) {
  top: 8.6px;
  right: 8.6px;
}
.dice .bottom span:nth-child(2) {
  top: 8.6px;
  left: 8.6px;
}
.dice .bottom span:nth-child(3) {
  bottom: 8.6px;
  left: 8.6px;
}
.dice .bottom span:nth-child(4) {
  bottom: 8.6px;
  right: 8.6px;
}