/* NEWLY ADDED GAMES, FOCUS ON THIS FIRST.*/

.popular-games {
    display: inline-grid;
    grid-auto-flow: column;
    grid-area: Popular-Repacks;
    gap: 2em;
    grid-auto-rows: 200px;
    overflow-x: visible;
    position: relative;
    /* background-color: rgb(197 197 197 / 50%);
    backdrop-filter: blur(10px);  */
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: 1em;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.Popular-repacks { 
    grid-row: 1; 
    display: flex;
    gap: 1em;
    padding-left: 2em;
    flex-direction: column; 
} 

  .popular-games::-webkit-scrollbar {
    display: none; /* Hide the default scrollbar */
  }
  

  .games-container-pop {
    display: inline-flex;
    width: 100vw;
    gap: inherit;
  }
  

  .popular-games img {
    display: block;
    cursor: pointer;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgb(0 0 0 / 43%);
    transition: transform 0.3s ease;
  }

  .popular-games img:hover {
        transform: scale(1.1);
  }
  .popular-games .slide:first-child img {
    height: 200px;
    filter: brightness(50%) opacity(1);
}
  
  .gamehub-unique-game-title {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
  }


  #first-game-title {
    top: 0;
    /* filter: brightness(0.5); */
    position: fixed;
    margin-left: 1em;
    margin-top: 8em;
    color: white;
    font-weight: 500;
    cursor: pointer;
  }

  #first-long-game-title {
    top: 0;
    filter: brightness(0.5);
    position: absolute;
    margin-left: 1em;
    margin-top: 11.5em;
    font-weight: 500;
    color: white;
    cursor: pointer;
    
    white-space: wrap;
    overflow: hidden; 
    text-overflow: clip;
    max-width: 90%; 
    text-shadow: -11px 9px 4px #ffffff;
  }
  
