#preloader {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  z-index: 9999;
}

#preloader #preloader-inner {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
}

#preloader #preloader-inner .line {
  position: absolute;
  border-radius: 50%;
  border: 4px solid transparent;
  animation: spin 2s linear infinite;
}

#preloader #preloader-inner .line:nth-child(1) {
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border-top-color: #3498db;
  animation-duration: 2s;
}

#preloader #preloader-inner .line:nth-child(2) {
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-top-color: #e74c3c;
  animation-duration: 1.5s;
}

#preloader #preloader-inner .line:nth-child(3) {
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-top-color: #f9c922;
  animation-duration: 1s;
}

#preloader #preloader-inner .line:nth-child(4) {
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  border-top-color: #2ecc71;
  animation-duration: 2.5s;
}

#preloader #preloader-inner .line:nth-child(5) {
  top: 40px;
  left: 40px;
  right: 40px;
  bottom: 40px;
  border-top-color: #9b59b6;
  animation-duration: 3s;
}

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