@import url("https://fonts.googleapis.com/css?family=Inconsolata");

#loading {
  width: 100%;
  height: 100%;
  background: #009eff;
  font-family: "Inconsolata", monospace;
  overflow: hidden;
  top: 0;
  left: 0;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: all 0.3s ease-in-out;
}

#loading .arc {
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border-top: 2px solid #ffffff;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  transition: all 0.1s ease-in-out;
  animation: rt 1s infinite linear;
}
/*
#loading .arc::before {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border-top: 2px solid #000000;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  animation: rt 4s infinite linear reverse;
  content: "";
} */

#loading .arc::after {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 50%;
  animation: cw 1s infinite;
  content: "";
  background: #ffffff;
}

#loading .circle {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  transition: all 0.5s ease-in-out;
  z-index: 99999;
}

#loading h1 {
  position: absolute;
  height: 40px;
  margin: auto;
  top: 200px;
  left: 0;
  right: 0;
  bottom: 0;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 14px;
  font-weight: lighter;
  color: white;
}

#loading h1 span {
  display: none;
}

#loading h1::after {
  animation: txt 5s infinite;
  content: "";
}

@keyframes rt {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes cw {
  0% {
    width: 0;
    height: 0;
  }
  75% {
    width: 40px;
    height: 40px;
  }
  100% {
    width: 0;
    height: 0;
  }
}

@keyframes txt {
  0% {
    content: "LOADING.";
  }
  50% {
    content: "LOADING..";
  }
  100% {
    content: "LOADING...";
  }
}
