/* new loading css */
.lds-ellipsis {
  display: inline-block;
/*   position: relative; */
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: -webkit-center;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/* old loading css */ 
.containerl {
  height: 100vh;
  width: 100vw;
  font-family: Helvetica;
  z-index: 999999;
  background-color: black;
  font-size: 20px;
}

.errorpage {
  height: 100vh;
  width: 100vw;
  font-family: Helvetica;
  background-color: black;
  display:none;
  font-size: 20px;
}

.agreement {
  height: 100vh;
  width: 100vw;
  font-family: Helvetica;
  background-color: black;
  display:none;
  font-size: 20px;
}

.loader {
  height: 20px;
  width: 250px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: -webkit-center;
}
.loader--dot {
  animation-name: loader;
  animation-timing-function: ease-in-out;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  height: 20px;
  width: 20px;
  border-radius: 100%;
  background-color: black;
  position: absolute;
  border: 2px solid white;
}
.loader--dot:first-child {
  background-color: #8cc759;
  animation-delay: 0.5s;
}
.loader--dot:nth-child(2) {
  background-color: #8c6daf;
  animation-delay: 0.4s;
}
.loader--dot:nth-child(3) {
  background-color: #ef5d74;
  animation-delay: 0.3s;
}
.loader--dot:nth-child(4) {
  background-color: #f9a74b;
  animation-delay: 0.2s;
}
.loader--dot:nth-child(5) {
  background-color: #60beeb;
  animation-delay: 0.1s;
}
.loader--dot:nth-child(6) {
  background-color: #fbef5a;
  animation-delay: 0s;
}
.loader--text {
  position: absolute;
  top: 200%;
  left: 0;
  right: 0;
  color:white;
  /* width: 4rem; */
  margin: auto;
}
.loader--text:after {
  content: "LOADING";
  font-weight: bold;
  font-size: xxx-large;
  animation-name: loading-text;
  animation-duration: 3s;
  /*animation-iteration-count: infinite;*/
}

@keyframes loader {
  15% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(230px);
  }
  65% {
    transform: translateX(230px);
  }
  95% {
    transform: translateX(0);
  }
}
@keyframes loading-text {
  1% {
    content: "";
  }
  10% {
    content: "CONNECTING";
  }
  20% {
    content: "CONNECTING";
  }
  45% {
    content: "LOADING";
  }
  50% {
    content: "LOADING";
  }
  50% {
    content: "LOADING";
  }
  60% {
    content: "LOADING";
  }
  70% {
    content: "LOADING";
  }
  80% {
    content: "LOADING";
  }
  90% {
    content: "LOADING";
  }
}
