body {
  font-size: 15pt;
  perspective: 1000px;
  background: linear-gradient(135deg, #0c0c0c, #1a1a1a);
  color: white;
  overflow: hidden;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h3 {
  font-size: 1.4em;
  margin-top: 3em;
  text-transform: uppercase;
  text-align: center;
  color: #d72299;
  text-shadow: 0 0 10px rgba(215, 34, 153, 0.5);
}

.background {
  background: linear-gradient(135deg, #0c0c0c, #1a1a1a);
  width: 100vw;
  height: 100vh;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cubic {
  transform-style: preserve-3d;
  animation: animate 8s infinite linear;
  position: relative;
  width: 200px;
  height: 200px;
}

.face {
  background: linear-gradient(45deg, #d72299, #ff6b9d);
  width: 200px;
  height: 200px;
  border: 3px solid white;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  box-shadow: 0 0 20px rgba(215, 34, 153, 0.3);
}

.face > p {
  font-size: 3em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Front face */
.front {
  transform: translateZ(100px);
}

/* Back face */
.back {
  transform: rotateY(180deg) translateZ(100px);
}

/* Right face */
.right {
  transform: rotateY(90deg) translateZ(100px);
}

/* Left face */
.left {
  transform: rotateY(-90deg) translateZ(100px);
}

/* Top face */
.top {
  transform: rotateX(90deg) translateZ(100px);
}

/* Bottom face */
.bottom {
  transform: rotateX(-90deg) translateZ(100px);
}

@keyframes animate {
  from {
    transform: rotateX(0deg) rotateY(0deg);
  }
  to {
    transform: rotateX(360deg) rotateY(360deg);
  }
}
