* {
    box-sizing: border-box;
}

.iwork {
    margin-top: 5rem
}

/* ------------ Slideshow ------------------ */
.slideshow-container {
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;

  margin: 2rem;
  color: black;
  font-weight: bold;
  font-size: 1.5rem;
  transition: 0.6s ease;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  color: #7aaf85;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #ebebeb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
    background-color: #7aaf85;
}
.dot:hover {
    background-color: #bababa;
}
.dot.active {
    background-color: #7aaf85;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

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

/* ----------------- Images ------------------- */
#work img, #work video {
    height: 70vh;
    padding-top: 1rem;
}