
  /* loader css  */
.svg-frame {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Ensure it's on top of other elements */
  }
  
  /* Dim and blur the background */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dim effect */
    backdrop-filter: blur(5px); /* Blur effect */
    z-index: 999; /* Ensure it's below the SVG container */
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }
  
  /* Hide the SVG container and remove the dim/blur effect after 3 seconds */
  body.loaded .svg-frame {
    display: none;
  }
  
  body.loaded::before {
    opacity: 0;
    pointer-events: none; /* Allow interaction with the background */
  }
    .svg-frame {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 20%;
    left: 40%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .svg-frame svg {
    position: absolute;
    top: 40%;
    left: 10%;
    transition: .5s;
    z-index: calc(1 - (0.2 * var(--j)));
    transform-origin: center;
    width: 344px;
    height: 344px;
    fill: none;
  }
  
  
  .svg-frame svg #center {
    transition: .5s;
    transform-origin: center;
  }
  
  .svg-frame:hover svg #center {
    transform: rotate(-30deg) translateX(45px) translateY(-3px);
  }
  
  #out2 {
    animation: rotate16 7s ease-in-out infinite alternate;
    transform-origin: center;
  }
  
  #out3 {
    animation: rotate16 3s ease-in-out infinite alternate;
    transform-origin: center;
    stroke: #ff0;
  }
  
  #inner3,
  #inner1 {
    animation: rotate16 4s ease-in-out infinite alternate;
    transform-origin: center;
  }
  
  #center1 {
    fill: #ff0;
    animation: rotate16 2s ease-in-out infinite alternate;
    transform-origin: center;
  }
  
  @keyframes rotate16 {
    to {
      transform: rotate(360deg);
    }
  }