.slider-wrapper {
    margin:  auto;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;

    width: 100%;
    max-height: 70%;

    /* border: dotted 3px yellow; */
}

.slider {

    /* border: dotted 3px magenta; */

    /* scrollbar-width: none; */

    display: flex;
    flex-direction: row;
    overflow-x: scroll;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    background-color: white;
    
    box-shadow: 0 1.5rem 3rem -0,75rem hsla(0, 0%, 0%, 0.5);
    border-radius: 0.8rem;
    
    p {
        line-height: 2;
        text-align: center;
        user-select: none;
    }

    img {
        /* flex: 1 0 100%; */
        object-fit: contain;
        scroll-snap-align: start;
        width: auto;
        height: auto;
        max-width: 100%;    
        margin: 20px;
    }

    div {
        color: #4F4538;
        flex: 1 0 100%;
        scroll-snap-align: start;
        /* scroll-snap-stop: always; */

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        /* border: dotted 3px cyan; */

        p {
            margin-left: 2vw;
            margin-right: 2vw;
        }
    }
}

.slider-nav {
    display: flex;
    column-gap: 2rem;
    z-index: 1;
    align-self: center;
    margin-bottom: 5vh;

    a {
        width: 1rem;
        height: 1rem;
        border-radius: 50%;
        background-color: white;
        opacity: 0.75;
        transition: opacity ease 250ms;

        &:hover {
            opacity: 100%;
            background-color: #4F4538;
        }
    }
}

@media(min-width: 900px) {
    .slider-text {
        max-width: 50%;
    }
    .slider-picture {
        max-width: 50vw;
        max-height: 50vh;
    }
    .slider-wrapper {
        width: 50%;
    }
}