@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400&display=swap');

#preloader {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100vh;
  width: 100%;
  background: #028895;
  overflow: hidden;
  position: fixed;
  /* transform: scale(0.725); */
  z-index: 99999;
  opacity: 1;
  /* transition: background,opacity 300ms ease-out; */
  will-change: background, opacity;
  backdrop-filter: blur(5px);
}
#preloader.hidden {
  filter: blur(3px);
  transition: background,opacity 1000ms ease-in;
  background: rgba(255, 255, 255, 0);
  opacity: 0;
}
#preloader.removed {
  display: none;
}

.divider {
  position: absolute;
  z-index: 2;
  top: 65px;
  left: 200px;
  width: 50px;
  height: 15px;
  background: #028895;
}
.loading-text {
  position: relative;
  font-size: 3.75rem;
  font-weight: 300;
  margin: 0;
  white-space: nowrap;
  transform: scale(1.5);
}
.loading-text::before {
  position: absolute;
  content: '';
  z-index: 1;
  top: 40px;
  left: 115px;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: dotMove 1800ms cubic-bezier(0.25, 0.25, 0.75, 0.75) infinite;
}
.loading-text .letter {
  display: inline-block;
  position: relative;
  color: #ffffff;
  letter-spacing: 8px;
}
.loading-text .letter:nth-child(1) {
  transform-origin: 100% 70%;
  transform: scale(1, 1.275);
}
.loading-text .letter:nth-child(1)::before {
  position: absolute;
  content: '';
  top: 22px;
  left: 0;
  width: 14px;
  height: 36px;
  background: #028895;
  transform-origin: 100% 0;
  animation: lineStretch 1800ms cubic-bezier(0.25, 0.25, 0.75, 0.75) infinite;
}
.loading-text .letter:nth-child(5) {
  transform-origin: 100% 70%;
  animation: letterStretch 1800ms cubic-bezier(0.25, 0.23, 0.73, 0.75) infinite;
}
.loading-text .letter:nth-child(5)::before {
  position: absolute;
  content: '';
  top: 15px;
  left: 2px;
  width: 9px;
  height: 15px;
  background: #028895;
}
@keyframes dotMove {
  0%,
  100% {
    transform: rotate(180deg) translate(-110px, -10px) rotate(-180deg);
  }
  50% {
    transform: rotate(0deg) translate(-111px, 10px) rotate(0deg);
  }
}
@keyframes letterStretch {
  0%,
  100% {
    transform: scale(1, 0.35);
    transform-origin: 100% 75%;
  }
  8%,
  28% {
    transform: scale(1, 2.125);
    transform-origin: 100% 67%;
  }
  37% {
    transform: scale(1, 0.875);
    transform-origin: 100% 75%;
  }
  46% {
    transform: scale(1, 1.03);
    transform-origin: 100% 75%;
  }
  50%,
  97% {
    transform: scale(1);
    transform-origin: 100% 75%;
  }
}
@keyframes lineStretch {
  0%,
  45%,
  70%,
  100% {
    transform: scaleY(0.125);
  }
  49% {
    transform: scaleY(0.75);
  }
  50% {
    transform: scaleY(0.875);
  }
  53% {
    transform: scaleY(0.5);
  }
  60% {
    transform: scaleY(0);
  }
  68% {
    transform: scaleY(0.18);
  }
}

@media (min-width: 200px) {
  .preloaderContent {
    transform: scale(0.5);
  }
}

@media (min-width: 48rem) {
  .preloaderContent {
    transform: scale(0.725);
  }
}

@media (min-width: 62rem) {
  .preloaderContent {
    transform: scale(0.85);
  }
}
