.loading-container {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  flex-direction: column;

  h3 {
    position: relative;
    text-align: center;
    top:50%;
    margin: 0 auto;
    color: white;
  }
}

.loading {
  position: relative;
  top:50%;
  width: 74px;
  height: 74px;
  margin: 0 auto 40px;
}

.loading:not(:required):after {
  position: relative;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  display: block;
  font-size: 20px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(#16dccf, 0.3) 1.5em 0 0 -2.5px,
    rgba(#16dccf, 0.4) 1.1em 1.1em 0 -2px, rgba(#16dccf, 0.5) 0 1.5em 0 -1.5px,
    rgba(#16dccf, 0.6) -1.1em 1.1em 0 -1px,
    rgba(#16dccf, 0.65) -1.5em 0 0 -0.5px, rgba(#16dccf, 0.75) -1.1em -1.1em 0 0,
    rgba(#16dccf, 0.9) 0 -1.5em 0 0.5px, rgba(#16dccf, 1) 1.1em -1.1em 0 1px;
  box-shadow: rgba(#16dccf, 0.3) 1.5em 0 0 -2.5px,
    rgba(#16dccf, 0.4) 1.1em 1.1em 0 -2px, rgba(#16dccf, 0.5) 0 1.5em 0 -1.5px,
    rgba(#16dccf, 0.6) -1.1em 1.1em 0 -1px,
    rgba(#16dccf, 0.65) -1.5em 0 0 -0.5px, rgba(#16dccf, 0.75) -1.1em -1.1em 0 0,
    rgba(#16dccf, 0.9) 0 -1.5em 0 0.5px, rgba(#16dccf, 1) 1.1em -1.1em 0 1px;
}

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
