@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: -200% 50%;
  }
}
@keyframes gradientShiftVertical {
  0% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 50% -200%;
  }
}
.section__experience__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
@media (max-width: 1600px) {
  .section__experience__body {
    gap: 36px;
  }
}
@media (max-width: 620px) {
  .section__experience__body {
    gap: 24px;
  }
}
.section__experience__title {
  text-align: center;
}
.section__experience__inner {
  position: relative;
  width: 100%;
  height: 100%;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.section__experience__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 12px;
  transform: translateY(-50%);
  border-radius: var(--br-24);
  background: linear-gradient(90deg, #ff5a9c, #fda101, #ffe95a, #a2da24, #5281ff, #ff5a9c);
  background-size: 200% 100%;
  animation: gradientShift 5s linear infinite;
  z-index: 1;
}
.section__experience__line::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  background: linear-gradient(90deg, #ff5a9c, #fda101, #ffe95a, #a2da24, #5281ff, #ff5a9c);
  background-size: 200% 100%;
  animation: gradientShift 5s linear infinite;
  filter: blur(20px);
  border-radius: inherit;
}
.section__experience__items {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section__experience__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 20%;
  position: relative;
}
.section__experience__item__num {
  font-family: var(--font-kharkiv);
  font-size: 64px;
  line-height: 100%;
  letter-spacing: -0.08em;
  color: var(--white-100);
  transition: transform 0.3s;
}
.section__experience__item__num:hover {
  transform: scale(1.05);
}
.section__experience__item__text {
  font-size: var(--fs-md);
  color: var(--white-100);
  font-weight: 500;
  margin-top: 8px;
  line-height: 130%;
}
.section__experience__item:nth-child(odd) {
  align-self: flex-start;
}
.section__experience__item:nth-child(odd)::after {
  content: "";
  display: block;
  width: 2px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  margin-top: 12px;
  transition: background 0.3s;
}
.section__experience__item:nth-child(even) {
  align-self: flex-end;
}
.section__experience__item:nth-child(even)::before {
  content: "";
  display: block;
  width: 2px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 12px;
  transition: background 0.3s;
}
@media (max-width: 768px) {
  .section__experience__inner {
    height: auto;
    min-height: auto;
    display: flex;
    justify-content: center;
  }
  .section__experience__line {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 12px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #ff5a9c, #fda101, #ffe95a, #a2da24, #5281ff, #ff5a9c);
    background-size: 100% 200%;
    animation: gradientShiftVertical 5s linear infinite;
  }
  .section__experience__line::after {
    background: linear-gradient(180deg, #ff5a9c, #fda101, #ffe95a, #a2da24, #5281ff, #ff5a9c);
    background-size: 100% 200%;
    animation: gradientShiftVertical 5s linear infinite;
  }
  .section__experience__items {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    align-items: stretch;
    height: auto;
  }
  .section__experience__item {
    width: 50%;
  }
  .section__experience__item__num {
    font-size: 36px;
  }
  .section__experience__item__text {
    font-size: var(--fs-sm);
    color: var(--white-100);
  }
  .section__experience__item:nth-child(odd) {
    align-self: flex-start;
    padding-right: 40px;
    padding-top: 0;
  }
  .section__experience__item:nth-child(odd)::after {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 8%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 0;
  }
  .section__experience__item:nth-child(even) {
    align-self: flex-end;
    padding-left: 40px;
    padding-bottom: 0;
  }
  .section__experience__item:nth-child(even)::before {
    position: absolute;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 8%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
  }
}