#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 9999;
}

#preloader svg {
  width: 16rem;
  height: auto;
  color: #9b401c;
}

#preloader svg path {
  stroke: currentColor;
  stroke-width: 3;
  fill: currentColor;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  fill-opacity: 0;
  animation: preloader-stroke-fill 5s linear infinite;
}

#preloader svg g:nth-of-type(2) path {
  stroke-width: 4;
}

@keyframes preloader-stroke-fill {

  0% {
    stroke-dashoffset: 1400;
    fill-opacity: 0;
    opacity: 0.7;
  }

  30% {
    stroke-dashoffset: 1200;
    fill-opacity: 0.65;
    opacity: 1;
  }

  45% {
    stroke-dashoffset: 900;
    fill-opacity: 1;
    opacity: 1;
  }

  70% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
    opacity: 1;
  }

  85% {
    stroke-dashoffset: 500;
    fill-opacity: 0.35;
    opacity: 0.75;
  }

  95% {
    stroke-dashoffset: 1100;
    fill-opacity: 0.1;
    opacity: 0.55;
  }

  100% {
    stroke-dashoffset: 1400;
    fill-opacity: 0;
    opacity: 0;
  }
}