.mySlides2 {display: block}
img {vertical-align: middle;}

.slideshow-div {
    display: contents;
}

/* Slideshow container */
.slideshow-container2 {
    display: flex;
    max-width: 300px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev2, .next2 {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  left: 0;
  background-color: #e0cc008c;
}

/* Position the "next button" to the right */
.next2 {
  right: 0;
  border-radius: 3px 0 0 3px;
  left: auto;
}

/* On hover, add a grey background color */
.prev2:hover, .next2:hover {
  background-color: #f1f1f1;
  color: black;
}