div.single-slide {
  display: none;
  animation-name: fade;
  animation-duration: 0.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

div.single-slide img {
  max-width: 100%;
  display: block;
}

div.image-slider {
  /* so anything inside image-slider that is absolute
  positioned will be positioned relative to this */
  position: relative;
}

div.image-slider-slide-num {
  background-color: #00000080;
  color: white;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  font-size: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 0.25rem;
}

div.image-slider-prev, div.image-slider-next {
  background-color: #00000080;
  color: white;
  font-size: 4rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0.5rem;
  position: absolute;
  bottom: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  user-select: none;
}

/* Larger than tablet */
@media (min-width: 750px) {
  div.image-slider-slide-num {
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    border-radius: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  div.image-slider-prev, div.image-slider-next {
    top: 50%;
    bottom: auto;
  }
}

div.image-slider-prev {
  left: 0;
}

div.image-slider-next {
  right: 0;
}

