* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.marquee-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
}
.marquee-header{
  color: #eee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

:root {
  --marquee-width: 75vw;
  --marquee-height: 50vh;
  /*--marquee-elements: 12;*/
  --marquee-elements-displayed: 5;
  --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
  --marquee-animation-duration: calc(var(--marquee-elements) * 6s);
}
.marquee {
  width: var(--marquee-width);
  height: var(--marquee-height);
  /*background-color: #111;
  color: #eee;*/
  overflow: hidden;
  position: relative;
}
.marquee:before, .marquee:after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 1;
}
.marquee:before {
  left: 0;
  background: linear-gradient(to right, #0C0001 0%, transparent 100%);
}
.marquee:after {
  right: 0;
  background: linear-gradient(to left, #0C0001 0%, transparent 100%);
}
.marquee-content {
  list-style: none;
  height: 100%;
  display: flex;
  animation: scrolling var(--marquee-animation-duration) linear infinite;
}
.marquee-content:hover {
  animation-play-state: paused;
}
@keyframes scrolling {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements))); }
}
.marquee-content li {
  display: flex;
  justify-content: center;
  align-items: center;
  /* text-align: center; */
  flex-shrink: 0;
  width: var(--marquee-element-width);
  max-height: 100%;
  font-size: calc(var(--marquee-height)*3/4); /* 5rem; */
  white-space: nowrap;
}
.marquee-content li:hover{
  opacity: 0.5;
  cursor: pointer;
}
.marquee-content li img {
  width: 100%;
  /* height: 100%; */
  border: 2px solid ;
}