
*{

  margin: 0;
  padding: 0;


}


.btn{
  position: absolute;
  top: 90%;
  left: 50%;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: #e6328f;
  width: 140px;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}
.btn:hover{
  background: #e6328f;
  color: #fff;
}

button {
  position: absolute;
  top: 70%; /* Center the buttons vertically */
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  transform: translateY(-50%); /* Center the buttons vertically */
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Additional CSS to make buttons more visible */
button:hover {
  background: rgba(0, 0, 0, 0.8);
}


/* Your existing styles */
.slid-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-width: 100%;
  max-height: 140vh;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 140vh; /* Adjust this based on your design */
}

@media (max-width:768px) {
  .carousel-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 100%;
    max-height: 140vh;
  }
  button {
    position: absolute;
    top: 70%;
    width: 40px;
    height: 40px;

  }
  .carousel-slide img {
    margin-top: 5rem;
    width: 100%;
    height: auto;
    max-height: 150vh;
  }
}

@media (max-width:500px){
  button {
    position: absolute;
    top: 45%;
    width: 40px;
    height: 40px;

  }
}
.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}
