.loader-out {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #333c4b;
}
.loader {
  width: 80px;
  height: 40px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loader span {
  display: inline-block;
  width: 8px;
  height: 100%;
  border-radius: 4px;
  background: lightskyblue;
  animation: load 1s ease infinite;
  -webkit-animation: load 1s ease infinite;
  -moz-animation: load 1s ease infinite;
  -o-animation: load 1s ease infinite;
  -ms-animation: load 1s ease infinite;
}
@keyframes load {
  0%,
  100% {
    height: 40px;
    background: lightskyblue;
  }
  50% {
    height: 70px;
    margin: -15px 0;
    background: darkblue;
  }
}
@-webkit-keyframes load {
  0%,
  100% {
    height: 40px;
    background: lightskyblue;
  }
  50% {
    height: 70px;
    margin: -15px 0;
    background: darkblue;
  }
}
@-moz-keyframes load {
  0%,
  100% {
    height: 40px;
    background: lightskyblue;
  }
  50% {
    height: 70px;
    margin: -15px 0;
    background: darkblue;
  }
}
@-o-keyframes load {
  0%,
  100% {
    height: 40px;
    background: lightskyblue;
  }
  50% {
    height: 70px;
    margin: -15px 0;
    background: darkblue;
  }
}
@-ms-keyframes load {
  0%,
  100% {
    height: 40px;
    background: lightskyblue;
  }
  50% {
    height: 70px;
    margin: -15px 0;
    background: darkblue;
  }
}
.loader span:nth-child(2) {
  animation-delay: 0.2s;
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  -o-animation-delay: 0.2s;
  -ms-animation-delay: 0.2s;
}
.loader span:nth-child(3) {
  animation-delay: 0.4s;
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  -o-animation-delay: 0.4s;
  -ms-animation-delay: 0.4s;
}
.loader span:nth-child(4) {
  animation-delay: 0.6s;
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  -o-animation-delay: 0.6s;
  -ms-animation-delay: 0.6s;
}
.loader span:nth-child(5) {
  animation-delay: 0.8s;
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  -o-animation-delay: 0.8s;
  -ms-animation-delay: 0.8s;
}
