#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(245, 247, 250, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  isolation: isolate;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: all;
}

/* quando quiser ocultar */
#loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* loader */
#loading-overlay .loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader {
  width: 120px;
  aspect-ratio: 1;
  display: grid;
}

.loader:before,
.loader:after {
  content: "";
  grid-area: 1/1;
  width: 60px;
  aspect-ratio: 1;
  box-shadow: 0 0 0 5px #64a70b inset;
  filter: drop-shadow(60px 60px 0 #64a70b);
  animation: l8 2s infinite alternate;
}

.loader:after {
  margin: 0 0 0 auto;
  filter: drop-shadow(-60px 60px 0 #64a70b);
  animation-delay: -1s;
}

@keyframes l8 {
  0%,10%   {border-radius:0}
  30%,40%  {border-radius:50% 0}
  60%,70%  {border-radius:50%}
  90%,100% {border-radius:0 50%}
}

#loading-overlay #loader-text {
  margin-top: 15px;
  font-size: 1rem;
  color: #333;
  text-align: center;
}
