
@keyframes rotate {
  0% {
    -webkit-transform: rotate(0) scale(1);
    transform: rotate(0) scale(1)
  }

  50% {
    -webkit-transform: rotate(180deg) scale(.6);
    transform: rotate(180deg) scale(.6)
  }

  100% {
    -webkit-transform: rotate(360deg) scale(1);
    transform: rotate(360deg) scale(1)
  }
}

.loader-container {
  background-color: #ffffff5b;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  display: flex;
  z-index: 10000;
}

.loader {
  display: block;
  position: relative;
  margin: auto;
  height: 35px;
  width: 35px
}

.loader:after,.loader:before {
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  border: 2px solid #1b99bd;
  border-bottom-color: transparent;
  border-top-color: transparent;
  border-radius: 100%;
  height: 35px;
  width: 35px;
  -webkit-animation: rotate 1s 0s ease-in-out infinite;
  animation: rotate 1s 0s ease-in-out infinite
}

.loader:after {
  display: inline-block;
  top: 10px;
  left: 10px;
  width: 15px;
  height: 15px;
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  border-color: #1b99bd transparent;
  -webkit-animation-direction: reverse;
  animation-direction: reverse
}

.loader.large {
  height: 60px;
  width: 60px
}

.loader.large:before {
  height: 60px;
  width: 60px;
  border-width: 3px
}

.loader.large:after {
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  border-width: 3px
}

.loader.small {
  height: 20px;
  width: 20px
}

.loader.small:before {
  height: 20px;
  width: 20px;
  border-width: 1px
}

.loader.small:after {
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  border-width: 1px
}