/* Main styles for Logo Preview project */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  font-family: Tahoma, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
.bg-half {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.bg-half-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 50vh;
  background: black;
  transition: height 1s cubic-bezier(0.45, 0, 0.55, 1);
}
.bg-half-top.shrink {
  height: 70px;
}
.bg-half-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 50vh;
  background: white;
}
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 1s cubic-bezier(0.45, 0, 0.55, 1);
  will-change: transform;
  z-index: 2;
  position: fixed;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}
.logo-top {
  transform: translateY(calc(-50vh + 70px));
}
#pageBody {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: calc(100vh);
  background: #000000;
  z-index: 1;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  pointer-events: auto;
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(0.45,0,0.55,1);
  font-family: Tahoma, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
#three-canvas {
  width: 100vw;
  height: 100%;
  display: block;
  background: #000;
}
.spin {
  animation: spin360 1s cubic-bezier(0.45, 0, 0.55, 1);
}
@keyframes spin360 {
  from { transform: rotate(0deg);}
  to { transform: rotate(360deg);}
}
