.splash {
    opacity: 1;
    z-index: 1;
    visibility: visible;
    transition: opacity 1.4s ease-in-out, visibility 1.4s;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  app-root:not(:empty) + .splash {
    opacity: 0;
    visibility: hidden;
  }

  .loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 75px;
    height: 75px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .loader-bg {
    position: fixed;
    left: 0px;
    top:0px; 
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
  }

  .loaderx {
    top: calc(50% - 0px);
  }