.loader-wrapper {
  width: 100%;
  height: 100%;
  background: #40B0A6;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  opacity: 1; 
  -webkit-transition: 1s opacity ease-in; 
  transition: 1s opacity ease-in;
}

.hidden {
  display: none;
}

.zero-opacity {
  opacity: 0;
}

svg {
  overflow: visible;
  width: 100px;
  height: 150px;
}

svg g {
  -webkit-animation: slide 2s linear infinite;
  animation: slide 2s linear infinite;
}

svg g:nth-child(2) {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

svg g:nth-child(2) path {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
  stroke-dasharray: 0px 158px;
  stroke-dashoffset: 1px;
}

svg path {
  stroke: url(#gradient);
  stroke-width: 20px;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 0 157px;
  stroke-dashoffset: 0;
  -webkit-animation: escalade 2s cubic-bezier(0.8, 0, 0.2, 1) infinite;
  animation: escalade 2s cubic-bezier(0.8, 0, 0.2, 1) infinite;
}

@keyframes slide {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
  }

  100% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }
}

@keyframes escalade {
  0% {
    stroke-dasharray: 0 157px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 156px 157px;
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dasharray: 156px 157px;
    stroke-dashoffset: -156px;
  }
}