.subject-page .home-sebject {
    padding: 0 !important;
}

.subject-page .home-sebject .scroll-animation-all-wrapper {
    display: none !important;
}

.subject-list-all {
    display  : flex;
    flex-wrap: wrap;
    gap      : 5px;
}

.subject-list-all a {
    color          : black;
    border         : 1px solid;
    padding        : 5px 8px;
    display        : inline-block;
    text-decoration: none;
    background     : white;
    border-radius  : 4px;
    font-size      : 13px;
}


.subject-list-all .B:first-of-type {
    background-color: #F95C19;
    color           : white;
}

.subject-list-all>.B:first-child {
    background-color: #F95C19;
    color           : white;
}

.home-sebject {
    overflow: hidden;
}

.scroll-animation {
    margin: 15px 0;
}

.rbt-categori-list {
    display        : flex;
    gap            : 20px;
    align-items    : center;
    justify-content: flex-end;
}

.scroll-animation {
    display : flex;
    width   : -webkit-calc((420px * 16) + (30px * 16));
    width   : -moz-calc((420px * 16) + (30px * 16));
    width   : 7200px;
    position: relative;
}

.scroll-animation.scroll-right-left {
    -webkit-animation          : scroll 80s linear infinite;
    -moz-animation             : scroll 80s linear infinite;
    animation                  : scroll 80s linear infinite;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode   : forwards;
    animation-fill-mode        : forwards;
}

.scroll-animation.scroll-left-right {
    -webkit-animation          : scrollLeft 80s linear infinite;
    -moz-animation             : scrollLeft 80s linear infinite;
    animation                  : scrollLeft 80s linear infinite;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode   : forwards;
    animation-fill-mode        : forwards;
}

.scroll-animation .single-column-20 {
    width  : 500px;
    padding: 0 15px;
}

.scroll-animation.scroll-right-left:hover,
.scroll-animation.scroll-left-right:hover {
    animation-play-state: paused;
}


.rbt-categori-list a {
    border            : 0 none;
    padding           : 0px 35px;
    text-transform    : capitalize;
    background: #4477ce73;
    color: #4477CE;
    box-shadow        : 0px 6px 34px rgba(215, 216, 222, 0.41);
    height            : 65px;
    line-height       : 65px;
    border-radius     : 500px;
    font-size         : 18px;
    letter-spacing    : -0.6px;
    transition        : 0.4s;
    display           : inline-block;
    /* min-width      : 100px; */
    white-space       : nowrap;
    text-align        : center;
    text-decoration   : none;
    font-family       : 'Baloo Chettan', cursive;
}

.rbt-categori-list a:hover {
    background: #4477CE;
    color     : white;
    transform : scale(1.1);
}

.scroll-animation-all-wrapper::before {
    top : 0;
    left: 0;
}

.scroll-animation-all-wrapper::before,
.scroll-animation-all-wrapper::after {
    position  : absolute;
    height    : 100%;
    width     : 300px;
    /* background: linear-gradient(90deg, #fff6e4 100px, rgba(255, 255, 255, 0)); */
    z-index   : 2;
    content   : "";
}

.scroll-animation-all-wrapper::before,
.scroll-animation-all-wrapper::after {
    position  : absolute;
    height    : 100%;
    width: 130px;
    background: linear-gradient(161deg, #fff6e4 100px, rgba(255, 255, 255, 0));
    z-index   : 2;
    content   : "";
    backdrop-filter: blur(28px);
}

.scroll-animation-all-wrapper::after {
    top              : 0;
    right            : 0;
    -webkit-transform: rotate(180deg);
    -moz-transform   : rotate(180deg);
    transform        : rotate(180deg);
}


@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform        : translateX(0);
    }

    to {
        -webkit-transform: translateX(-webkit-calc(-250px * 7));
        transform        : translateX(calc(-250px * 7));
    }
}

@-moz-keyframes scroll {
    0% {
        -moz-transform: translateX(0);
        transform     : translateX(0);
    }

    to {
        -moz-transform: translateX(-moz-calc(-250px * 7));
        transform     : translateX(calc(-250px * 7));
    }
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        -moz-transform   : translateX(0);
        transform        : translateX(0);
    }

    to {
        -webkit-transform: translateX(-webkit-calc(-250px * 7));
        -moz-transform   : translateX(-moz-calc(-250px * 7));
        transform        : translateX(calc(-250px * 7));
    }
}

@-webkit-keyframes scrollLeft {
    0% {
        -webkit-transform: translateX(-webkit-calc(-250px * 7));
        transform        : translateX(calc(-250px * 7));
    }

    to {
        -webkit-transform: translateX(0);
        transform        : translateX(0);
    }
}

@-moz-keyframes scrollLeft {
    0% {
        -moz-transform: translateX(-moz-calc(-250px * 7));
        transform     : translateX(calc(-250px * 7));
    }

    to {
        -moz-transform: translateX(0);
        transform     : translateX(0);
    }
}

@keyframes scrollLeft {
    0% {
        -webkit-transform: translateX(-webkit-calc(-250px * 7));
        -moz-transform   : translateX(-moz-calc(-250px * 7));
        transform        : translateX(calc(-250px * 7));
    }

    to {
        -webkit-transform: translateX(0);
        -moz-transform   : translateX(0);
        transform        : translateX(0);
    }
}

@media (max-width:991px) {

    .scroll-animation-all-wrapper::before,
    .scroll-animation-all-wrapper::after {
        display: none;
    }

}

.search-subject {
    margin-bottom: 20px;
    text-align   : center;
    background   : #fffcf5;
    display      : inline-flex;
    align-items  : center;
    border-radius: 5px;
    overflow     : hidden;
    border       : 1px solid #C5C5D2 !important;
}

.search-subject span {
    background-color: #F95C19;
    padding         : 0px 10px;
    display         : inline-flex;
    height          : 40px;
    align-items     : center;
}

.search-subject i {
    font-size: 16px;
    color    : white;
}

.search-subject #searchSubject {
    display    : block;
    max-width  : 320px;
    padding    : 0 0.75rem;
    font-size  : 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    color      : #2F2E41;
    background : none !important;
    border     : none;
}

.search-subject #searchSubject:focus {
    outline: none;
}