.ub-loading {
  z-index: 9999;
  position: fixed;
  background: linear-gradient(270deg, var(--bs-gray-800), var(--bs-gray-900));
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.ub-loading svg {
  width: 22rem;
  height: 22rem;
}

.ub-loading .brasao-svg-loading {
  stroke: var(--bs-gray-100);
  fill: transparent;
  stroke-width: 1.5;
  stroke-dashoffset: 4000;
  stroke-dasharray: 4000;
  animation: dashLoading 5s linear forwards;
}

.ub-loading .ub-loading-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 200 !important;
  line-height: 0;
  margin-top: -20px;
}

.ub-loading .ub-loading-text span {
  font-size: 3rem;
  letter-spacing: -5px;
  color: var(--bs-gray-100);
}

.ub-loading .ub-loading-text span:nth-child(2) {
  animation: dotsLoading 1s linear forwards infinite;
  animation-delay: 0.25s;
}

.ub-loading .ub-loading-text span:nth-child(3) {
  animation: dotsLoading 1s linear forwards infinite;
  animation-delay: 0.5s;
}

.ub-loading .ub-loading-text span:nth-child(4) {
  animation: dotsLoading 1s linear forwards infinite;
  animation-delay: 0.75s;
}

@keyframes dashLoading {
  95% {
    fill: transparent;
    stroke-dashoffset: 0;
    stroke: #fff;
    stroke-width: 1.5;
  }

  100% {
    stroke: #fff;
    stroke-dashoffset: 0;
    fill: #fff;
    stroke-width: 0.1;
  }
}

@keyframes dotsLoading {
  0% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

.dark-mode .ub-loading {
  background: #101924 !important;
}

.dark-mode .ub-loading .brasao-svg-loading {
  stroke: #0FAC81 !important;
  fill: transparent;
  stroke-width: 1.5;
  stroke-dashoffset: 4000;
  stroke-dasharray: 4000;
  animation: dashLoading 5s linear forwards;
}


.dark-mode .ub-loading .ub-loading-text {
  color: #0FAC81;
  font-size: 1rem;
  font-weight: 200 !important;
  line-height: 0;
  margin-top: -20px;
}