.stage {
    -webkit-transform:scale(0.50);
    transform:scale(0.50);
    float:right;
    margin-right:150px;
    margin-top:100px;
    width:0px; height:100%;
    
    position:relative;  
    -webkit-perspective:1200px;
    -webkit-perspective-origin:50% 50%;
    perspective:1200px;
    perspective-origin:50% 50%;
    left: 3.8em;
    bottom: 0.3em;
  }
  .pyramid3d {
    position:relative;
    width:150px;
    height:150px;
    
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateX(75deg) rotate(65deg);
    transform: rotateX(75deg) rotate(65deg);
    -webkit-animation: turnPyramid 10s linear infinite;
    animation: turnPyramid 10s linear infinite;
  }
  .triangle {
    -webkit-transform-style:preserve-3d;
    transform-style:preserve-3d;
    width:0; height:0;
    background:none;
  }
  .triangle:before{
    content:"";
    position: absolute;
    height: 0; width: 0;
    border-style: solid;
    border-width: 176px 75px 0 75px;
  }
  .side1 {
    -webkit-transform: translatex(0) rotatey(115.2deg) rotatez(90deg);
    transform: translatex(0) rotatey(115.2deg) rotatez(90deg);
}
  
.side2 {
    -webkit-transform: translatex(150px) rotatez(90deg) rotatex(64.8deg);
    transform: translatex(150px) rotatez(90deg) rotatex(64.8deg);
}
  
.side3 {
    -webkit-transform: translatez(0) rotatex(64.8deg);
    transform: translatez(0) rotatex(64.8deg);
}
  
.side4 {
    -webkit-transform: translatey(150px) rotatex(115.2deg);
    transform: translatey(150px) rotatex(115.2deg);
}
  
.side1:before {
    border-color: rgba(115, 115, 0, 0.3) transparent transparent transparent;
}
  
.side2:before {
    border-color: rgba(20, 90, 225, 0.3) transparent transparent transparent;
}
  
.side3:before {
    border-color: rgba(255, 0, 0, 0.3) transparent transparent transparent;
}
  
.side4:before {
    border-color: rgba(0, 255, 255, 0.3) transparent transparent transparent;
}
  
  
  
@-webkit-keyframes turnPyramid {
    100% {
        -webkit-transform: rotateX(75deg) rotate(425deg);
    }
}
  
@keyframes turnPyramid {
    100%  {
        transform: rotateX(75deg) rotate(425deg);
    }
}

/* Accessibilità: rispettare le preferenze di riduzione movimento */
@media (prefers-reduced-motion: reduce) {
  .pyramid3d {
    -webkit-animation: none !important;
    animation: none !important;
  }
}
