/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 20px;
  color: var(--pico-primary);
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  text-decoration: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: var(--pico-primary);
  color: white;
}

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

.mySlides {
  align-items: center;
  justify-content: center;
  width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 900px) {
  .prev,
  .next,
  .text {
    font-size: 11px;
    background-color: var(--pico-primary);
    color: white;
    padding: 10px;
  }

  .mySlides {
    width: 100%;
  }
}
