
.home-categories {
    width: 100%;
    max-width: 1248px;
    min-height: 40px;
    border-radius: 30px;
    background: #F49811;
    display: flex;
    align-items: center;
    color: #F7F7F7;
    font-family: "space-grotesk";
    font-size: 16px;
    font-weight: 700;
    padding: 10px 30px;
    margin-bottom: 30px;
    overflow-x: hidden; 
    position: relative;
    justify-content: center;

  }
  
  
  .home-category-list {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    justify-content: center;
  
  }
  
  @media screen and (max-width: 428px) {
    .home-category-list {
      animation: scrollInfinitely 8s linear infinite;
      transition: transform 0.2s linear; 
    }
    
  }
  
  @keyframes scrollInfinitely {
    0% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(-20%); /* Move exatamente a largura do conteúdo original */
    }
    100% {
      transform: translateX(0%); /* Move exatamente a largura do conteúdo original */
    }
  }
  
  
  
  .home-category-list:hover {
    animation-play-state: paused;
  }
  
  
  .home-category-list-item {
    cursor: pointer;
    white-space: nowrap;
    color: #FFF;
    text-decoration: none;
  }
  
  .home-category-list-selected {
    cursor: pointer;
    white-space: nowrap;
    color: #004378;
    text-decoration: none;
  }
  
  .home-category-list-item:hover {
    color: #004378;
  }
  
  @media (max-width: 428px) {
    .home-categories {
        font-size: 16px;
        padding: 10px;
        max-width: 313px;
        justify-content: normal;
        padding-left: 30px;
    }
  }