.grid_gallery {
  display: flex;
  flex-wrap: wrap;
}
.grid_gallery .logo_item {
  padding: 0 30px;
  position: relative;
  display: flex;
  align-items: center;
}
.grid_gallery .logo_item:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: #ffffff;
}
.grid_gallery .logo_item:first-child {
  padding-left: 0;
}
.grid_gallery .logo_item:last-child {
  padding-right: 0;
}
.grid_gallery .logo_item:last-child:after {
  display: none;
}
.grid_gallery .logo_item img {
  max-width: 200px;
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: marquee var(--marquee-duration) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.logo-track img {
  height: 70px;
  margin: 0 30px;
  opacity: 1;
  transition: 0.3s;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 640px) {
  .grid_gallery {
    justify-content: center;
  }
  .grid_gallery .logo_item {
    padding: 0;
    max-width: calc(50% - 20px);
    margin: 10px;
  }
  .grid_gallery .logo_item:after {
    display: none;
  }
  .grid_gallery .logo_item img {
    max-width: 100%;
  }
}
