/* SLIDESHOW PROJECTS - SLIDESHOW PROJECTS - SLIDESHOW PROJECTS */

* {box-sizing:border-box}

.slideshow-container {
  position: relative;
  margin: 10px auto;
  max-width: 1000px;
  /* width: 100%; */
  text-align: center;
}

.slide-wrapper {
  position: relative;
  display: inline-block;
/*   width: 80%;
  max-width: 80%; */
  z-index: 0;
}

.slide-img {
  display: block;
  width: 90%; 
  height: auto;
  margin: 0 auto;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 12px;
  color: white;
  font-weight: bold;
  font-size: 25px;
  user-select: none;
  background-color:  #ebeaea;
  transition: background-color 0.3s ease;
}

.prev {
    left: -20px;
    border-radius: 0 2px 2px 0;
}

.next {
    right: -20px;
    border-radius: 2px 0 0 2px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
}

.text {
  font-size: 11px;
  color: #717171;
  margin: 5px 0;
}

.dots-div {
  text-align: center;
  margin-top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

@media (max-width: 768px) {
  .slide-img {
    width: 80%; /* Slightly larger on smaller devices */
  }

  .prev {
    left: 12px;
  }

  .next {
    right: 12px;

  }

  .prev, .next {
    font-size: 20px;
    padding: 10px;
  }

  .text {
    font-size: 10px;
  }

  .dot {
    height: 12px;
    width: 12px;
  }
}

@media (max-width: 480px) {
  .prev, .next {
    font-size: 18px;
    padding: 8px;
  }

  .dot {
    height: 10px;
    width: 10px;
  }

  .text {
    font-size: 9px;
  }
}
