.scroll-wrapper {
    width: 100%;
    overflow-x: auto;
}

.scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: visible;
    gap: 10px;
    padding: 10px;
}

.scroll-container::-webkit-scrollbar {
    height: 6px;
    background-color: #1a1a1a;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ff75, #3700ff);
    border-radius: 10px;
}

.card {
    overflow: hidden;
    flex: 0 0 auto;
    /* width: 220px; */
    height: 150px;
    background-image: linear-gradient(163deg, rgba(0, 255, 117, 0.9) 0%, rgba(55, 0, 255, 0.9) 100%);
    border-radius: 20px;
    transition: all .3s;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.card:hover {
    box-shadow: 0px 10px 30px rgba(0, 255, 117, 0.5);
    filter: brightness(1.1);
}

.card2 {
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    border-radius: 20px;
    transition: all .2s;
}

.card2:hover {
    transform: scale(0.98);
    border-radius: 20px;
    filter: brightness(1.1);
}

.card h2, .card2 h2 {
    color: #fff;
    font-size: 1.5em;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

@media (max-width: 768px) {
    .card {
        width: 180px;
        height: 130px;
    }

    .cardd {
        width: 300px;
        height: 100px;
    }

    .scroll-container {
        gap: 5px;
        padding: 5px;
    }

    .marquee {
        animation: scroll 15s linear infinite;
    }
}

/* for 4999 card */
.divi {
    margin-top: -50px;
    margin-bottom: -50px;
    display: flex;
    justify-content: center;
}

.cardd {
    align-items: center;
    width: 608px;
    height: 68px;
    background: #07182E;
    position: relative;
    display: flex;
    place-content: center;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
}

.cardd h2 {
    z-index: 1;
    color: white;
    font-size: 1em;
}

.cardd::before {
    content: '';
    position: absolute;
    width: 500px;
    background-image: linear-gradient(180deg, rgb(0, 183, 255), rgb(255, 48, 255));
    height: 130%;
    animation: rotBGimg 3s linear infinite;
    transition: all 0.2s linear;
}

@keyframes rotBGimg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cardd::after {
    content: '';
    position: absolute;
    background: #07182E;
    inset: 5px;
    border-radius: 15px;
}

.spani {
    color: red;
}
