@keyframes fadeInEase{
  
  0% {opacity: 0; }
  100%  { opacity: 1; }

   /* 0% {opacity: 0; transform: translate(-50%, -60%);}
  60% {opacity: 1; transform: translate(-50%, -50%);}
  100%  { opacity: 1; transform: translate(-50%, -50%);} */

}

body{
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
body.loaded{
  opacity: 1;
}

#bg-video{
    margin: 0px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;    /* Stays behind everything layer-wise */
    pointer-events: none;   /* Make it non-interactive */
}

#logo-img{
    width: 70vw;
    max-width: 700px;
    min-width: 400px;
    z-index: 10;
    pointer-events: auto;
    transform: rotateX(0deg) rotateY(0deg);
    transition: transform 0.8s ease-out;

    transform-style: preserve-3d;
    transform-origin: center center;
}

.logo-wrapper{
  will-change: transform, opacity;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  perspective: 1000px;

  opacity: 0;
  animation: fadeInEase .8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.overlay{
  
  position: fixed;
  opacity: 0.2;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  
  pointer-events: none;
  z-index: 0;

  background-image:
    radial-gradient(
      circle at 1px 1px,
      rgba(0,0,0,0.2) 1px,
      transparent 1px
    );
    background-size: 3px 3px;
    opacity: 0.6;
}


/* #bg-video::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);  subtle dark overlay 
  z-index: 1;
}*/

/*.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);  <- makes the dark effect 
  z-index: -1;  sits between video and content 
  pointer-events: none;
}
*/











/*============ MOBILE VIEW =============*/
@media screen and (max-width: 768px){
#logo-img{
  width: 80vw;
}


















/* .mobile-animated-logo{
  animation: logoFloat 8s infinite linear;
  will-change: transform;
}

@keyframes logoFloat {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: rotateX(0deg) rotateY(-3deg);
  }
  50% {
    transform: rotateX(-3deg) rotateY(0deg);
  }
  75% {
    transform: rotateX(0deg) rotateY(3deg);
  }
  100% {
    transform: rotateX(0deg) rotateY(0deg);
  }
} */

}