.sl-container{
    width: 50vw;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;

    padding-bottom: 100px;
    /* min-width: fit-content; */
}


@media only screen and (max-width: 1300px) {
.sl-container{
        width: 90vw;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        padding: 20px;
    }
}

.sl-list{
    width:100%;
    min-width: fit-content;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.sl-list-element{
    position: relative;

    height: 400px;
    width: 100%;
    margin-bottom: 40px;
    object-fit: cover;
    border-radius: 20px;

    /* paddign: 10px; */

    overflow-x: hidden;
    overflow-y: hidden;
    box-shadow: 0 10px 30px black;
}


.sl-list-element-img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    overflow-y: hidden;
}

.sl-list-element-text{
    position: absolute;

    display: flex;
    align-items: center;
    flex-direction: column;

    justify-content: center;
    width: 100%;
    height: 40px;
    bottom: 0;
    font-family: Alpha-Medium;
    font-size: 1.2em;

    overflow-y: hidden;
    transition: height ease-in-out 0.5s;

    color: var(--text);
    background-color: var(--background);
}

.sl-list-element-text {
    height: 40px;
    /* padding-top: 20px; */
    /* padding-bottom: 20px; */
    /* border: solid 10px blue; */
    transition: all ease-in-out 0.5s;
}

