body {
    background-color: #0d0d0d;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 700px;
}

#contenedor {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
}

.cubo {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-30deg) rotateY(62deg);
}

.cara {
    position: absolute;
    width: 200px;
    height: 200px;
    /*border: 1px solid #000;*/
}

/* Cara frontal */
.red {
    background-color: rgba(0, 0, 255, 1);
    transform: translateZ(100px);
    box-shadow: 0px 5px 0px 0px rgba(255, 0, 255, 1);
}

/* Cara lateral derecha */
.blue {
    background-color: rgba(255, 0, 0, 1);
    transform: rotateY(270deg) translateZ(100px);
}

/* Cara superior */
.orange {
    background-color: rgba(255, 165, 0, 1);
    transform: rotateX(90deg) translateZ(100px);
}

.enlace{
    font-size: x-large;
    display: block;
    width: 100%;
}