.redes {
  width: 100%;
  height: 200px;
  overflow: hidden;
  text-align: center;
  font-size: 18px;
  margin: 0 auto;
  z-index: 2;
  padding-bottom: 50px;

  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  position: relative;
}

.redes h2 {
  font-weight: 300;
  font-size: 16px;
  display: block;
  color: #00000061;
  position: absolute;
  left: 50%;
  top: 35px;
  transform: translate(-50%);
}

.redes-logos {
  width: 200%;
  height: 50px;
  position: relative;
  animation: logosani 90s linear infinite;
  will-change: transform;
}
.logos-wrap {
  width: 100%;
  height: 50px;
  margin-top: 40px;
  display: flex;
  gap: 40px;
}

.redes-logos-img {
  height: auto;
  width: calc(100% / 42);
  max-width: 150px;
  display: inline-block;
  object-fit: contain;
  opacity: 0.85;
  transition: 0.3s ease;
  filter: saturate(0);
}

#redes-apoiadores {
  margin-top: 80px;
  margin-bottom: 40px;
}

#redes-apoiadores .redes-logos-img {
  width: calc(100% / 36);
}

@keyframes logosani {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-101%);
  }
}

@keyframes logosaniMobile {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-600%);
  }
}

@media (max-width: 768px) {
  .redes-logos {
    animation: logosaniMobile 50s linear infinite;
  }

  .logos-wrap {
    margin-top: 80px;
  }
  .redes-logos-img, #redes-apoiadores .redes-logos-img {
    width: 80px;
    margin-top: 0;
  }
}
