@charset "UTF-8";
/* Шрифт */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

/* Контейнер */
#bar-wrap {
  width: 100%;
  height: 10px;
  background: #374151;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

/* Серый фон с движущимися полосами */
#bar-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    #4b5563,
    #4b5563 10px,
    #374151 10px,
    #374151 20px
  );
  background-size: 40px 40px;
  animation: stripesMove 1s linear infinite;
  z-index: 0;
}

/* Зелёная прогресс-полоса */
#bar {
  position: relative;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 5px;
  z-index: 1;
  transition: width 0.3s ease;
}

/* Анимация движения серых полос */
@keyframes stripesMove {
  from { background-position: 0 0; }
  to { background-position: 40px 0; }
}

/* Когда загрузка завершена — остановить фон */
#bar-wrap.done::before {
  animation: none;
  background: #374151;
}
/* плавное исчезание */
#progress-circle {
  transition: stroke-dashoffset 1s linear;
}

/* ---------- HEADER ---------- */
header {
  position: static;     /* теперь обычный блок */
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.4rem 1rem;
}

header .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #d1d5db;
}

header svg {
  height: 20px;
  width: 20px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

header a:hover svg {
  transform: scale(1.2);
  opacity: 0.8;
}
/* ---------- HEADER ---------- */
