
.mycube-con {
    position: relative;
    width: 300px !important;
    display:inline-block;
    box-shadow: 0 30px 80px rgb(0 0 0 / 14%), 0 20px 70px rgb(0 0 0 / 12%);
    padding-right: 16em;
    padding-top: 1em;
    margin: 1em;
}
.mycube-con h3 {
    text-align: center !important;
    width: 300px !important;
}
.mycube {
    position: relative;
    width: 300px !important;
    user-select: none;
    background-size: cover;
    background-position: center;
    display:inline-block;
}
.rotating-box {
    width: 300px;
    margin: 0px auto;
    perspective: 600px;
	padding-top: 7em;
    padding-bottom: 12em;
    perspective:2000px;
    -webkit-perspective:2000px;
    transform: scale(0.35);
    margin-left: -1.7em !important;
}

.single-rb {
    width: 300px;
    transform-style: preserve-3d;
    transition: all 300ms;
}
.single-rb > div {
    outline: 1px solid rgb(200,200,200);
    transition: all 300ms;
    background-color: white;
}
.single-rb > div > img {
    position: absolute;
}
.single-rb > div > canvas {
    display: block;
    max-width: 100%;
    min-width: 100%;
}
.single-rb img {
    height: 300px;
    width: 300px;
}
.single-rb div {
    position: absolute;
    height: 300px;
    width: 300px;
}
.front-side {
    transform: translateZ(150px);
}
.back-side {
    transform: rotateY(180deg) translateZ(150px);
}
.left-side {
    transform: rotateY(-90deg) translateX(-150px);
    transform-origin: left;
}
.right-side {
    transform: rotateY(90deg) translateX(150px);
    transform-origin: right;
}
.top-side {
    transform: rotateX(-90deg) translateY(-150px);
    transform-origin: top;
}
.bottom-side {
    transform: rotateX(90deg) translateY(150px);
    transform-origin: bottom;
}
.mycube img {
    display: block;
    max-width: 100%;
    width: 100%;
}
.mycube img[src=""] {
    display: none;
}

@media only screen and (max-width: 600px) {
    .mycube-con {
        margin: 1em 0em !important;
    }
}
@media only screen and (max-width: 350px) {
    .mycube-con {
        padding-right: 15em;
    }
}