.act-well-animation {
  --act-well-speed: 24s;
  --act-well-rows: 7;
  position: relative;
  width: 100%;
  min-height: 1px;
  display: grid;
  grid-template-rows: repeat(var(--act-well-rows), minmax(0, 1fr));
  background: #000;
  overflow: hidden;
  max-height: 840px !important;
}

button.act-well-animation__motion-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  margin: 0 1rem 0 0;
  padding: 0;
  line-height: 1;
  text-transform: none;
  color: inherit;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 3;
}

.act-well-animation__marquee {
  position: relative;
  overflow: hidden;
}

.act-well-animation__track {
  width: max-content;
  height: 100%;
  display: flex;
  animation: act-well-marquee-scroll var(--act-well-row-speed, var(--act-well-speed)) linear infinite;
}

.act-well-animation__marquee.is-reverse .act-well-animation__track {
  animation-direction: reverse;
}

.act-well-animation__marquee:nth-child(even) .act-well-animation__item {
  flex: 0 0 3122px;
  width: 3122px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.act-well-animation__marquee:nth-child(odd) .act-well-animation__item {
  flex: 0 0 4274px;
  width: 4274px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.act-well-animation__item img {
  width: 100%;
  height: 100%;
  display: block;
  /* object-fit: cover; */
  object-fit: cover;
}

@keyframes act-well-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .act-well-animation__track {
    animation: none;
  }
}

@media( min-width: 1024px ) {
  .act-well-animation { height: 840px; }
}