*, *:before, *:after {
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  color: white;
  background: #111;
  overflow: hidden;
  font-family: sans-serif;
  font-weight: 300;

}

#zoom-control {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 999;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.5em 1em;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.75);
}

#wrapper { padding: 0;
  padding-top: 10%;
}

.viewport {
  perspective: 800px;
  perspective-origin: 50% 200px;
  transform: scale(0.8);
  transition: transform 0.2s ease;
  -webkit-box-reflect: below 170px linear-gradient(transparent, transparent, rgba(250, 250, 250, 0.1));
}

.cube {
  position: relative;
  margin: 0 auto;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  transform: rotateX(136deg) rotateY(1122deg);
}

.cube > div {
  backface-visibility: visible;
  opacity: 0.9;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  backdrop-filter: blur(2px);
  user-select: none;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube > div:nth-child(1) {
  transform: translateZ(5px);
  background-image: url(nikzane-logo-basic-white-rounded.png);
  background-size: 300px 300px;
  background-position: center;
  width: 200px;
  height: 200px;
}

.cube > div:nth-child(2) {
  background-image: url(nikzane-logo-basic-black-rounded.png);
  background-size: 300px 300px;
  background-position: center;
  width: 200px;
  height: 200px;
  transform: rotateY(180deg) translateZ(5px);
}

.cube > div:nth-child(3) {
  width: 10px;
  height: 200px;
  left: 200px;
  transform: rotateY(90deg) translateZ(5px);
}

.cube > div:nth-child(4) {
  width: 10px;
  height: 200px;
  left: -5px;
  transform: rotateY(-90deg) translateZ(5px);
}

.cube > div:nth-child(5) {
  width: 200px;
  height: 10px;
  top: -5px;
  transform: rotateX(90deg) translateZ(5px);
}

.cube > div:nth-child(6) {
  width: 200px;
  height: 10px;
  top: 195px;
  transform: rotateX(-90deg) translateZ(5px);
}

@media (max-width: 640px) {
  .viewport {
    transform: scale(0.6);
  }
}
footer {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  text-align: center;
  }