* {box-sizing:border-box}

img {
  max-height: 500px;
  max-width: 100%;
}


/* Slideshow container */
.slideshow-container {
  width: 80%;
  position: relative;
  margin: auto;
  margin-bottom: 15px;
}
.single-image-container {
  width: 80%;
  position: relative;
  margin: auto;
  margin-bottom: 15px;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 0%;
  width: auto;
  padding: 13px;
  color: var(--link-color);
  font-weight: bold;
  font-size: 15px;
  user-select: none;
  border: 1px solid var(--link-color);
}
.next {
  right: 0;
}
.prev {
  left: 0;
}
.prev:hover, .next:hover,
.prev:focus, .next:focus {
  color: var(--text-color);
  outline: 2px solid var(--link-color);
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  background-color: var(--text-color);
  border-radius: 50%;
  display: inline-block;
}
.active {
  background-color: var(--link-color);
}

/* On a phone, single images and slideshows use the full content width instead
   of the desktop 80% box, and images fill that width even when their native
   size is smaller. max-height keeps a tall image from swallowing the viewport;
   object-fit: contain scales it down within that box without cropping. */
@media only screen and (max-width: 950px) {
  .single-image-container,
  .slideshow-container {
    width: 100%;
  }
  .single-image-container img,
  .slideshow-container img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
  }
}