.screen-loader {
  position: fixed;
  inset: 0;
  background: #ebebeb;
  opacity: 0.7;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.heart-loader {
  width: 90px;
  height: 90px;
}

.heart-loader svg {
  width: 100%;
  height: 100%;
}

.heart {
  fill: none;
  stroke: url(#heartColor);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 300;
  stroke-dashoffset: 300;

  animation: heartLoading 2s linear infinite;
}

@keyframes heartLoading {
  0% {
    stroke-dashoffset: 300;
  }

  50% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -300;
  }
}
