.codenit-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.codenit-marquee {
  display: flex;
  flex-wrap: nowrap;
  animation-duration: var(--marquee-speed, 30s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  margin: 0;
}

.codenit-marquee-horizontal {
  flex-direction: row;
  width: max-content;
  animation-name: marquee-x;
}

@keyframes marquee-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Direction */
.codenit-marquee-reverse {
  animation-direction: reverse;
}

.codenit-marquee-vertical {
  flex-direction: column;
  height: max-content;
  animation-name: marquee-y;
}

@keyframes marquee-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

/* Top → Bottom */
.codenit-marquee-bottom {
  animation-direction: reverse;
}

/* Bottom → Top */
.codenit-marquee-top {
  animation-direction: normal;
}

.codenit-marquee-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  margin-bottom: 0;
}

.codenit-marquee-item img {
  width: 90%;
  height: auto;
}


/*.marqueue-fadeout-horizontal {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5rem,
    black calc(100% - 5rem),
    transparent
  );
}*/