﻿.scroll-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
}

.scroll-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.card-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.scroll-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item-card {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
    align-content: center;
    padding: 0.8rem;
}

@media (max-width: 1401px) {
    .carousel-item-card {
        width: calc(100% / 2.2);
    }
}

@media (max-width: 800px) {
    .carousel-item-card {
        width: 100%;
    }
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    padding: 0;
    border-radius: 50%;
    background-color: #4b3fb4; 
    color: white;
    font-family: 'Press Start 2P', monospace;
    text-shadow:
            1px 1px 0 #2e2e2e,
            -1px -1px 0 #5a4dbd,
            0 0 8px #c53a3a;
    border: 2px solid #2e2e2e;
    box-shadow: 0 0 10px #4b3fb4;
    transition: top 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.carousel-arrow:hover {
    top: 50.5%;
    box-shadow: 0 0 15px #c53a3a;
}

.carousel-arrow.left {
    left: 0.5rem;
}

.carousel-arrow.right {
    right: 0.5rem;
}

.text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1rem;
}
