* {box-sizing:border-box}

.slideshow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.slideshow-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.slide {
    display: none;
    flex-direction: column;
    text-align: center;
}

.slide img {
    height: 400px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: .5em;
    margin: auto;
}

.prev, .next {
    cursor: pointer;
    position: relative;
    /* top: 50%;
    transform: translateY(-50%); */
    padding: .5em;
    /* margin-top: -22px; */
    /* color: white; */
    font-weight: bold;
    font-size: 1.5em;
    transition: 0.6s ease;
    border-radius: 1em;
    user-select: none;
}

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

.caption {
    /* color: #f2f2f2; */
    font-size: 1em;
}

.dot-container {
    text-align: center;
}

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

.active, .dot:hover {
    background-color: #717171;
}

@media screen and (max-width: 600px) {
    .slide img {
        height: 200px;
    }
}