.clients {
  padding: 3rem 0 4rem 0;
  position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e6e6e6" stroke-width="0.5" opacity="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: -1;
}

.clients .container {
    z-index: 2;
}

.clients-grid-container {
  width: 100%;
  max-width: 1200px;
  overflow: auto;
  display: flex;
  position: relative;
  z-index: 2;
  &::-webkit-scrollbar {
    display: none;
  }
}

.clients-grid {
  flex-shrink: 0;
  display: flex;
  justify-content: start;
  align-items: center;
  overflow: visible;
  gap: 0 1rem;
  animation: slider 15s infinite linear;
}

@keyframes slider {
  from { translate: 0; }
  to { translate: -100%; }
}

.client-item {
  flex-shrink: 0;
  width: 100%;
  max-width: 219px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}
