  body{
    transition: background 0s; 
    /* remove transition for backdround because #filter-top & #filter-bottom cant be animated */
  }
  
  .list-container {
    position: relative;
    height: calc(100dvh - 30px);
    overflow: hidden;
    touch-action: none;
    outline: none;
  }

  .text-list {
    --item-height: 45px;    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    transform: translateY(var(--offset));
    will-change: transform;
  }

  .text-list.is-small-text {
    --item-height: 20px; 
  }

  .text-list.is-small-text li {
    font-size: 20px;
    height: var(--item-height);
  }

  .text-list li {
    list-style: none;
    margin: 0;
    height: var(--item-height); 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: var(--font-size-xlg); 
    line-height: 1.05;
    transition: font-size 0.3s ease, height 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .text-list li a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }

  .text-list li span {
    display: inline-block;
    padding: 0;
    will-change: transform;
  }

  #filter-top,
  #filter-bottom {
    position: fixed;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 8;
  }

  #filter-top {
    top: 0;
    height: calc(50vh - 60px);
    background: linear-gradient(
      to bottom,
      var(--main-bg-color-100) 0%,
      var(--main-bg-color-100) 68%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  #filter-bottom {
    bottom: 0;
    height: calc(50vh - 60px);
    background: linear-gradient(
      to top,
     var(--main-bg-color-100) 0%,
      var(--main-bg-color-100) 68%,
      rgba(255, 255, 255, 0) 100%
    );
  }

@media (max-width: 768px) {
  .nav-controls {
   opacity: 0;
   pointer-events: none;
  }

  .text-list {
    --item-height: 20px !important; 
  }

  .text-list li {
    font-size: 20px !important;
  }
}