.loader-llc {
  --uib-size: 200px;
  --uib-color: black;
  --uib-speed: 1.4s;
  --uib-stroke: 5px;
  --uib-bg-opacity: .1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--uib-stroke);
  width: var(--uib-size);
  border-radius: calc(var(--uib-stroke) / 2);
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  margin: 0 auto;
  margin-top: 7em;
}

.loader-llc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--uib-color);
  opacity: var(--uib-bg-opacity);
  transition: background-color 0.3s ease;
}

.loader-llc::after {
  content: '';
  height: 100%;
  width: 100%;
  border-radius: calc(var(--uib-stroke) / 2);
  animation: zoom var(--uib-speed) ease-in-out infinite;
  transform: translateX(-100%);
  background-color: var(--uib-color);
  transition: background-color 0.3s ease;
}

@keyframes zoom {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.loader {
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #292929;
    text-align: center;
    width: auto;
    height: auto;
    margin: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .loader-text {
    font-family: "Questrial", sans-serif;
    margin: 0 auto;
    margin-top: 20%;
    width: fit-content;
  }
  
  .loader-bar {
    margin: 0 auto;
    margin-top: 30%;
    width: 30%;
    height: 8px;
    min-width: 200px;
    max-width: 300px;
    border-radius: 30px;
    background-color: #e9e9e9;
    overflow: hidden;
  }

  /* Медиа-запрос для мобильных устройств */
  @media screen and (max-width: 1180px) {
    .loader-text {
      margin-top: 40%;
    }
    .loader-bar {
      margin-top: 80%;
    }
  }

  
.loader-bar-inner {
    width: 0%;
    height: 100%;
    border-radius: 30px;
    background-color: #292929;
    animation: loadBar 1.4s forwards;
}
  
@keyframes loadBar {
    0% {
      width: 0%;
    }
    100% {
      width: 100%;
    }
}

.block-0:nth-child(1) .loader-bar-inner { animation-delay: 0s; }
.block-0:nth-child(2) .loader-bar-inner { animation-delay: 0.1s; }
.block-0:nth-child(3) .loader-bar-inner { animation-delay: 0.2s; }
.block-0:nth-child(4) .loader-bar-inner { animation-delay: 0.3s; }
  
.block-0, .block-1 {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.block-0.show, .block-1.show {
    opacity: 1;
}

