Я не понимаю как сделать карусель адаптивной вот мой html и сss
<div id="carouselExampleCaptions" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active d-flex justify-content-center align-items-center flex-column">
<img src="img/Barca.jpg" class="d-block w-100" alt="Barcelona">
<div class="carousel-caption d-none d-md-block">
<h5>Barcelona</h5>
<p>From</p>
<h4>$800</h4>
<div class="slider-bth">
<button type="button" class="btn btn-primary">Learn More</button>
</div>
</div>
</div>
<div class="carousel-item">
<img src="img/Kiev.jpg" class="d-block w-100" alt="Kiev">
<div class="carousel-caption d-none d-md-block">
<h5>Kiev</h5>
<p>From</p>
<h4>$500</h4>
<div class="slider-bth">
<button type="button" class="btn btn-primary">Learn More</button>
</div>
</div>
</div>
<div class="carousel-item">
<img src="img/Tokyo.jpg" class="d-block w-100" alt="Tokyo">
<div class="carousel-caption d-none d-md-block">
<h5>Tokyo</h5>
<p>From</p>
<h4>$900</h4>
<div class="slider-bth">
<button type="button" class="btn btn-primary">Learn More</button>
</div>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
.carousel-item{
height: 80vh;
min-width: 300px;
background: no-repeat scroll center scroll;
-webkit-background-size: cover;
background-size: cover;
}
.carousel-item::before{
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: #000;
opacity: 0.5;
}
.carousel-caption{
top: 150px;
bottom: 180px;
padding-left: 100px;
padding-right: 100px;
}
.carousel-caption h5{
color: orange;
font-size: 100px;
font-weight: 100;
}
.carousel-caption h4{
font-size: 60px;
font-weight: 100;
}
.carousel-caption p{
margin: 0;
font-size: 30px;
font-weight: 100;
}
.slider-bth .btn{
background-color: orange;
color: #fff;
border-radius: 20px;
height: 50px;
width: 200px;
font-size: 1.5rem;
}
.slider-bth .btn:hover{
background-color: #fff;
color: orange;
}