
scroll-card-container {
    position: relative;
    display: block;
}

.scc-wrapper {
    position: relative;
    overflow: hidden;
}

.scc-slide {
    display: none;
    animation: fade .3s ease;
}

.scc-slide.active {
    display: flex;
    flex-direction: column;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scc-controls {
    display: flex;
    position: absolute;
    top: 50%;
    left: -50px;
    width: calc(100% + 100px);
    justify-content: space-between;
}

.scc-btn {
    border: none;
    border-radius: 100%;
    height: 40px;
    width: 40px;
    cursor: pointer;
    background: center url("assets/next bttn.svg");
    background-size: contain;
    transition: filter 0.2s;
}

.scc-btn-prev {
    transform: scaleX(-100%);
}

.scc-btn:hover {
    filter: brightness(180%);
}

.scc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.scc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #bbb;
}

.scc-dot.active {
    background: #222;
    transform: scale(1.2);
}

@media screen and (max-width: 800px) {
    scroll-card-container {
        padding-bottom: 20px;
    }

    .scc-controls {
        top: calc(100% - 20px);
        left: 0;
        width: 100%;
    }

    .scc-dots {
        transform: translateY(20px);
    }
}