@keyframes loadingBar {
  0% {
    left: 0%;
    right: 100%;
    width: 0%;
  }
  10% {
    left: 0%;
    right: 75%;
    width: 30%;
  }
  90% {
    right: 0%;
    left: 75%;
    width: 30%;
  }
  100% {
    left: 100%;
    right: 0%;
    width: 0%;
  }
}

#loading {
  position: fixed;
  z-index: 600;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1f1f1f;
  transition: top 0.4s linear;
}

#loading.isDone {
  top: -150%;
}

#loading .preloaderContent {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#loading .progressBar {
  position: relative;
  width: 70%;
  height: 4px;
  background-color: #363636;
  overflow: hidden;
}

#loading .provider {
  width: 100%;
  height: 100px;
  display: flex;
  flex-basis: column;
  justify-content: center;
  align-items: center;
  margin-top: 45px;
}

#loading .providerLogo {
  width: 128px;
  height: 39px;
  margin-right: 10px;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../provider-logo.png");
}

#loading .progressBarFill {
  position: absolute;
  left: 0;
  width: 30%;
  height: 100%;
  background-color: #ffe843;
  border-radius: 2px;
  animation: loadingBar 1.4s linear infinite;
}
