.slider {
    position: relative;
    width: 90%;
    max-width: 1920px;
    margin: 20px auto 0px auto;
    box-shadow: 0 5px 50px 2px rgba(0, 9, 9, 0.5);
    -webkit-box-shadow: 0 5px 50px 2px rgba(0, 9, 9, 0.5);
}

.slides {
    display: flex;
    overflow: hidden;
}

.slide {
    min-width: 100%;
    transition: 0.6s ease;
    opacity: 0;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: auto;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

/* Pfeile */

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 0;
    border-radius: 0 3px 3px 0;
}


.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Dots */

.dots {
    text-align: center;
    margin-top: -25px;
    z-index: 999;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #ff0000;
}

/* responsive */

@media screen and (max-width: 600px) {
    .dot {
        height: 10px;
        width: 10px;
    }

    .slide img {
        height: 150px;
        object-fit: cover;
    }
}