.scroll-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;

    width: 100%;
    position: relative;
    min-height: 200px;
    height: 100%;
}

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

.scroll-slider-horizontal {
    overflow-y:visible;
    overflow-x:scroll;
    scroll-behavior: smooth;
}

.scroll-slider-content {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    flex-wrap: wrap;
}
.scroll-slider-horizontal .scroll-slider-content {
    flex-wrap:nowrap;
}

.scroll-slider-item {
    text-align: center;
    border-radius: 8px;
    background-color: rgba(211,211,211,0.5);
    background-size: min(40vh, 40vw);
    background-repeat: no-repeat;
    margin: 0.5rem;
    min-width: 150px;
    width: 150px;
    min-height: 200px;
    box-shadow: 0 0.2rem 0.25rem rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem;
    transition: 0.2s;
}

.slider-item-wide {
    min-width: 200px;
    width: 200px;
}

.scroll-slider-item:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.scroll-slider-item > * {
    width: 100%;
}

.slider-img img {
    width: 90%;
    height: auto;
    border-radius: 24px;
}

.slider-label {
    width: 100%;
    font-weight: 300;
    font-size: 1.25rem;
}