
    :root{
        --scrollBarFonColor: green;
        --textColor: #fff;
        --borderColor: #fff;
    }
    .swiper{
        padding: 10px !important;
    }

    .toc .swiper-slide{
        width: fit-content;
        
    }  

    .toc .heading h2{
        white-space: nowrap;
    }

    .toc{
        background-color: transparent;
    }

    .toc a{
        text-decoration: none;
        font-weight: 500;
        font-size: 18px;
        line-height: 1.5;
        white-space: nowrap;
        color: var(--textColor);
        transition: color 0.3s ease-in-out;
        -webkit-transition: color 0.3s ease-in-out;
        -moz-transition: color 0.3s ease-in-out;
        -ms-transition: color 0.3s ease-in-out;
        -o-transition: color 0.3s ease-in-out;
        border: 1px solid var(--borderColor);
        padding: 10px 20px;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
        background-color: transparent;
}

    .toc a:active, .toc a:hover, .toc a:focus{
        color: #fff;
        background-color: rgba(17, 17, 17, .2);
    }

    .toc .swiper-wrapper{
      padding-top: 20px;
      padding-bottom: 24px;
    }

    .toc-swiper .swiper-scrollbar {
      background: rgba(255,255,255,0.1);
      height: 4px;
      border-radius: 2px;
    }

    .toc-swiper .swiper-scrollbar-drag {
        background: var(--scrollBarFonColor);
        border-radius: 2px;
        width: 20%;
    }

    .toc.wrapper{
        /* margin: 0 auto; */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .toc-swiper{
        max-width: 1520px;
    }

    .swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal{
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    .stopScroll{
        overflow: hidden;
    }

@media screen and (max-width: 750px) {
    .toc.wrapper{
        margin-left: auto;
    }
    .swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal{
        width: 90% !important;
        margin: 0 auto;
    }
    .py-12{
        padding-top: 1rem;
    }
    .px-6{
        padding-bottom: 1rem;
    }
}