.preloader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease-in-out;
}

.preloader.active{
    opacity: 1;
    visibility: visible;
}
  
  .loader {
    position: relative;
    width: 200px;
    height: 200px;
  }
  
  .loader svg {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .loader svg circle {
    fill: none;
    stroke: #fff;
    stroke-width: 10px;
    stroke-linecap: round;
    animation: animate 2s linear infinite;
  }
  
  .loader svg:nth-child(1) circle {
    filter: blur(10px);
    stroke: #0DC64C;
  }
  
  .loader svg:nth-child(2) circle {
    filter: blur(20px);
    stroke: #0DC64C;
  }
  
  @keyframes animate {
    0% {
      stroke-dasharray: 295;
      stroke-dashoffset: 295;
    }
    50% {
      stroke-dasharray: 295;
      stroke-dashoffset: 0;
    }
    100% {
      stroke-dasharray: 295;
      stroke-dashoffset: -295;
    }
  }