.slideshow-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 500px;
    transition: height 0.3s ease-in-out;
  }
  
  @media screen and (max-width: 2000px) {
    .slideshow-container {
      height: 400px;
    }
  }

  @media screen and (max-width: 1500px) {
    .slideshow-container {
      height: 350px;
    }
  }

  @media screen and (max-width: 1024px) {
    .slideshow-container {
      height: 300px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .slideshow-container {
      height: 200px;
    }
  }
  
  .slide {
    display: none;
    height: 100%;
    position: relative;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slide .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0px;
    text-align: center;
  }
  
  .slide .overlay h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .slide .overlay p {
    font-size: 16px;
  }
  
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  transition: background-color 0.3s ease-in-out;
}

.next {
  right: 10px;
}

.prev {
  left: 10px;
}

  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  