﻿.items {
    display: flex;
    align-items: center;
    width: fit-content;
    /*animation: carouselAnim 50s infinite alternate linear;*/
}

.entry-scroll {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 250px;
    background: #fff;
    margin: 1em;
    padding: 0.5em;
    border-radius: 10px;
    box-shadow: 4px 4px 5px 1px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 768px) {
    .items {
        /*animation: carouselAnim 35s infinite alternate linear;*/
    }

    @keyframes carouselAnim {
        from {
            transform: translate(0, 0);
        }

        to {
            transform: translate(calc(-100% + (2 * 300px)));
        }
    }
}

.entry-scroll p {
    text-align: center;
    padding: 1em;
}

.name {
    font-weight: bold;
}

@keyframes carouselAnim {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(calc(-100% + (5 * 300px)));
    }
}

.container .faders {
    width: 100%;
    position: absolute;
    height: 100%;
}

.faders .right,
.faders .left {
    background: linear-gradient( to right, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 0) 100% );
    /*width: 15%;*/
    height: 100%;
    position: absolute;
    z-index: 200;
}

.right {
    right: 0;
    background: linear-gradient( to left, rgba(245, 245, 245, 1) 0%, rgba(255, 255, 255, 0) 100% );
}
