* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f2f2f2;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: '';
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 50s slide infinite linear;
}

.logos-slide img {
  height: 100px;
  margin: 0 40px;
}
/* Add this CSS to style the company names */
.logo-container {
  text-align: center;
  margin-top: 10px; /* Adjust as needed for spacing */
}

.logo-container span {
  display: block;
  font-size: 14px; /* Adjust font size as needed */
  color: #333; /* Adjust text color as needed */
}

/* Modify CSS to create the slider effect */
.logos-slide {
  white-space: nowrap;
  overflow: hidden;
}

.logo-container {
  display: inline-block;
  text-align: center;
  margin-right: 20px; /* Add space between logos; adjust as needed */
}

.logo-container:last-child {
  margin-right: 0; /* Remove margin for the last logo-container */
}

.logo-container img {
  height: 60px;
}

.logo-container span {
  display: block;
  font-size: 20px;
  color: #333;
}

.logo-container span {
  font-size: 16px;
  text-align: center;
  font-weight: 400px;
  color: #043758;
  font-family: Poppins, sans-serif;
}
