.d3boxes *, .d3boxes *:before, .d3boxes *:after {
  box-sizing: border-box;
}
.d3boxes {
  z-index: 0;
  position: relative;
  overflow: hidden;
}
.d3boxes * {
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transform-style: preserve-3d;
}
.d3boxes *:focus {
  outline: none !important;
}
.d3boxes body, .d3boxes html {
  height: 100%;
}
.d3boxes {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0);
  background: linear-gradient(135deg, transparent 0%, transparent 50%, transparent 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$indigo', endColorstr='$lime',GradientType=1);
  font-family: "brandon-grotesque", "Brandon Grotesque", "Source Sans Pro", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.d3boxes .elementor-widget-container {
  text-align: center;
}
.d3boxes ul {
  transform: translateZ(240px);
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 30px;
}
.d3boxes ul li {
  padding: 30px;
}
.d3boxes .clips {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  z-index: -100;
}
.d3boxes .link {
  position: relative;
  width: 240px;
  height: 240px;
}
.d3boxes .link a {
  transform-origin: 120px 120px -120px;
  display: block;
  position: absolute;
  z-index: 1;
  transform: translateZ(60px);
  width: 100%;
  height: 100%;
}
.d3boxes .link a:nth-child(1) {
  top: 0;
  left: 0;
  height: 50%;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
@-moz-document url-prefix() {
  clip-path: url(#clip-top);
}
.d3boxes .link a:nth-child(1):hover ~ .cube, .d3boxes .link a:nth-child(1):focus ~ .cube {
  transform: rotateX(-0.5turn);
}
.d3boxes .link a:nth-child(1):hover ~ .cube div:nth-child(6), .d3boxes .link a:nth-child(1):focus ~ .cube div:nth-child(6) {
  transform: rotateY(180deg) rotateZ(180deg) translateZ(240px);
}
.d3boxes .link a:nth-child(2) {
  top: 0;
  right: 0;
  width: 50%;
  clip-path: polygon(100% 100%, 0 50%, 100% 0);
}
@-moz-document url-prefix() {
  clip-path: url(#clip-right);
}
.d3boxes .link a:nth-child(2):hover ~ .cube, .d3boxes .link a:nth-child(2):focus ~ .cube {
  transform: rotateY(-0.5turn);
}
.d3boxes .link a:nth-child(3) {
  bottom: 0;
  right: 0;
  height: 50%;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
@-moz-document url-prefix() {
  clip-path: url(#clip-bottom);
}
.d3boxes .link a:nth-child(3):hover ~ .cube, .d3boxes .link a:nth-child(3):focus ~ .cube {
  transform: rotateX(0.5turn);
}
.d3boxes .link a:nth-child(3):hover ~ .cube div:nth-child(6), .d3boxes .link a:nth-child(3):focus ~ .cube div:nth-child(6) {
  transform: rotateY(180deg) rotateZ(180deg) translateZ(240px);
}
.d3boxes .link a:nth-child(4) {
  bottom: 0;
  left: 0;
  width: 50%;
  clip-path: polygon(0 100%, 0 0, 100% 50%);
}
@-moz-document url-prefix() {
  clip-path: url(#clip-left);
}
.d3boxes .link a:nth-child(4):hover ~ .cube, .d3boxes .link a:nth-child(4):focus ~ .cube {
  transform: rotateY(0.5turn);
}
.d3boxes .link a:nth-child(1):hover, .d3boxes .link a:nth-child(2):hover, .d3boxes .link a:nth-child(3):hover, .d3boxes .link a:nth-child(4):hover, .d3boxes .link a:nth-child(1):focus, .d3boxes .link a:nth-child(2):focus, .d3boxes .link a:nth-child(3):focus, .d3boxes .link a:nth-child(4):focus {
  z-index: 2;
  transform: translateZ(90px);
  width: 100% !important;
  height: 100% !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  transition: all 100ms ease 500ms;
}
.d3boxes .cube {
  transform-origin: 120px 120px -120px;
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: all 500ms ease-out;
}
.d3boxes .cube div {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
}
.d3boxes .cube div svg {
  width: 120px;
  height: 120px;
}
.d3boxes .cube div svg path:not(.fill) {
  fill: none;
  stroke: white;
  stroke-width: 5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.d3boxes .cube div svg path.fill {
  fill: white;
}
.d3boxes .cube div:nth-child(1) {
  transform-origin: center top;
  transform: rotateX(90deg) translateY(- 240px);
}
.d3boxes .cube div:nth-child(2) {
  transform-origin: center bottom;
  transform: rotateX(-90deg) translateY(240px);
}
.d3boxes .cube div:nth-child(3) {
  transform-origin: left center;
  transform: rotateY(-90deg) translateX(- 240px);
}
.d3boxes .cube div:nth-child(4) {
  transform-origin: right center;
  transform: rotateY(90deg) translateX(240px);
}
.d3boxes .cube div:nth-child(5) {
  transform-origin: center center;
  transform: rotateX(0);
  font-size: 20px;
  font-weight: 600;
}
.d3boxes .cube div:nth-child(6) {
  transform-origin: center center;
  transform: rotateY(180deg) translateZ(240px);
}
.d3boxes .cube.codepen div:nth-child(1) {
  background: #fdcfdb;
}
.d3boxes .cube.codepen div:nth-child(2) {
  background: #f75582;
}
.d3boxes .cube.codepen div:nth-child(3) {
  background: #f986a6;
}
.d3boxes .cube.codepen div:nth-child(4) {
  background: #f986a6;
}
.d3boxes .cube.codepen div:nth-child(5) {
  background: #f5245e;
}
.d3boxes .cube.codepen div:nth-child(6) {
  background: #f5245e;
  color: #f5245e;
}
.d3boxes .cube.github div:nth-child(1) {
  background: #c9dcee;
}
.d3boxes .cube.github div:nth-child(2) {
  background: #689cd0;
}
.d3boxes .cube.github div:nth-child(3) {
  background: #8fb6dc;
}
.d3boxes .cube.github div:nth-child(4) {
  background: #8fb6dc;
}
.d3boxes .cube.github div:nth-child(5) {
  background: #4183c4;
}
.d3boxes .cube.github div:nth-child(6) {
  background: #4183c4;
  color: #4183c4;
}
