/* CSS */

.mySlides {
  display: none;
}

.mySlides img {
  width: 800px;
  height: 600px;
  object-fit: contain;
}

/* Slideshow container */

.slideshow-container {
  max-width: 100%;
  position: relative;
  display: flex;
}

/* Next & previous buttons */

.prev,
.next {
  cursor: pointer;
  width: auto;
  color: black;
  font-size: 28px;
  user-select: none;
  width: 20px;
  height: 20px;
  padding: 0px;
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  z-index: 40;
}

.prev {
  left: -48px;
  text-align: right;
}

.next {
  right: -48px;
  text-align: left;
}

/* Position the "next button" to the right */

/* Caption text */

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

/* Number text (1/3 etc) */

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

@media only screen and (max-width: 767px) {
  /* Next & previous buttons */

  .prev {
    left: 8px;
  }

  .next {
    right: 8px;
  }

  .prev,
  .next {
    width: 20px;
    height: 20px;
    background-color: #e5e5e5;
    border-radius: 50%;
    padding: 0px;
    top: 50%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 200;
    font-size: 10px;
    transform: translateY(-50%);
  }

  .project-img-arrows {
    display: none;
  }

  .mySlides img {
    width: 100%;
    height: 300px;
    object-fit: contain;
  }
}
