#scroll-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  background: #ebebeb;
}

#scroll-text-header {
  background: #5f7a42;
  color: white;
  padding: 0.3rem;
  padding-left: 0.875rem;
  position: relative;
  align-items: center;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  z-index: 9;
}

#scroll-text-header::before {
  display: block;
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #cc2936;
  animation: pulsing 1.5s linear forwards infinite;
}

#scroll-text-header::after {
  position: absolute;
  content: "";
  left: calc(100% - 2px);
  top: 0;
  width: 1.25rem;
  height: 101%;
  background: #5f7a42;
  margin-right: -1rem;
  -webkit-clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
  z-index: 1;
}

#scroll-text {
  display: flex;
  width: fit-content;
  visibility: hidden; /* Inicia oculto */
}

#scroll-text:hover {
  animation-play-state: paused !important;
}

#scroll-text li {
  list-style: none;
  margin-right: 20px;
  flex-shrink: 0;
  color: #5f7a42;
}

#scroll-text li a:hover {
  opacity: 0.9;
}

@keyframes pulsing {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
