:root {
  --marquee-width: 100%;
  --marquee-height: 20vh;
  /* --marquee-elements: 12; */ /* defined with JavaScript */
  --marquee-elements-displayed: 4;
  --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
  --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
}

.marquee {
  width: var(--marquee-width);
  height: var(--marquee-height);
  /* background-color: var(--primary-green); */
  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, var(--primary-green) 0%, transparent 100%); */
}
.marquee:after {
  right: 0;
  /* background: linear-gradient(to left, var(--primary-green) 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;
  object-fit: cover;
  padding: 0 10px;
  
}

.marquee-content li img {
  width: 60%;

  margin: 0;
  /* border: 2px solid #eee; */
  filter: grayscale(100%);
}

.renault{
  width: auto !important;
  height: 70% !important;
}

.plasticomnium{
  height: auto !important;
  width:80% !important;
}

.psa{
  width: 70%!important;
  margin: 0 !important;
}
/*
.polytec{
  width: 70% !important;
}

.continental{
  width: 70% !important;
}

.magna{
  width: 70% !important;
}

.faurecia{
  width: 70% !important;
}

.sese{
  width: 70% !important;
} */
@media (max-width: 600px) {
  html { font-size: 12px; }
  :root {
    --marquee-width: 100vw;
    --marquee-height: 16vh;
    --marquee-elements-displayed:2;
  }
  .marquee:before, .marquee:after { 
    width: 5rem; 
  }
  .renault{
    width: auto !important;
    height: 50% !important;
  }
}
@media all and (min-width: 1024px) and (max-width: 1280px) { 
  :root {
    --marquee-width: 100vw;
    --marquee-height: 16vh;
    --marquee-elements-displayed: 3;
  }


}
