/* Preloader full screen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #003679;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  /* Loader container */
  .horizontal-rotator {
    position: relative;
    width: 120px;
    height: 20px;
  }
  
  /* Balls */
  .horizontal-rotator span {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: skyblue;
    border-radius: 50%;
    animation: moveHorizontally 1.2s linear infinite;
    opacity: 0;
  }
  
  .horizontal-rotator span:nth-child(1) {
    animation-delay: 0s;
  }
  .horizontal-rotator span:nth-child(2) {
    animation-delay: 0.2s;
  }
  .horizontal-rotator span:nth-child(3) {
    animation-delay: 0.4s;
  }
  .horizontal-rotator span:nth-child(4) {
    animation-delay: 0.6s;
  }
  
  /* Keyframes for horizontal movement */
  @keyframes moveHorizontally {
    0% {
      transform: translateX(0px) scale(0.8);
      opacity: 0;
    }
    25% {
      opacity: 1;
    }
    50% {
      transform: translateX(50px) scale(1);
    }
    75% {
      opacity: 1;
    }
    100% {
      transform: translateX(100px) scale(0.8);
      opacity: 0;
    }
  }
  