@font-face {

    src: url(../fonts/UbuntuSans_Condensed-Thin.ttf);
    font-family: fontstyle;
  }

/* overlay base */
#page-loader {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
  }
  #page-loader.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* loader box */
  .loader-content {
    text-align: center;
    color: rgb(24,163,110);
  }
  
  /* Animated SVG */
  .loader-graphic {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    animation: rotate-svg 2s linear infinite;
  }
  @keyframes rotate-svg {
    to { transform: rotate(360deg); }
  }
  
  /* fallback spinner */
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  .spinner {
    display: none; /* hidden once SVG is supported */
    margin: 0 auto 1rem;
    width: 64px;
    height: 64px;
    border: 8px solid rgba(24,163,110,0.2);
    border-top: 8px solid rgb(24,163,110);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  /* loading text + pulsing dots */
  .loader-content p {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: fontstyle;
  }
  .dots {
    display: inline-block;
    margin-left: 0.25rem;
    animation: pulse-dots 1s steps(4,end) infinite;
  }
  @keyframes pulse-dots {
    0%, 100% { content: ""; }
    25% { content: "."; }
    50% { content: ".."; }
    75% { content: "..."; }
  }
  