.slider-container {
position: absolute;
overflow: hidden;
display: flex;
align-items: center;
left: 0;
top: 0;
right: 0;
bottom: 0;
background-color: #000;
}
.slider {
display: flex;
width: 100%;
height: 100%;
position: relative;
}
.slider-item {
position: relative;
flex: 0 0 100%;
width: 100%;
opacity: 1;
pointer-events: auto;
visibility: visible;
}
.slider-item.active {
opacity: 1;
pointer-events: auto;
visibility: visible;
}
.slider-image {
display: block;
width: 100%;
height: auto;
}
.carousel-caption {
position: absolute;
bottom: 20%;
left: 10%;
background-color: rgba(0, 0, 0, 0);
padding: 10px;
color: #fff;
border-radius: 5px;
z-index: 2;
}
#carouselExampleCaptions .carousel-caption h1 {
line-height: 1.1;
font-size: 64px;
margin-bottom: 32px;
}
.button-container {
display: flex;
gap: 10px;
margin-top: 10px;
}
.slider-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
background-color: rgba(0, 0, 0, .5);
border: none;
cursor: pointer;
outline: 0;
z-index: 3;
}
.slider-button-prev {
left: 0;
border-radius: 0 5px 5px 0;
}
.slider-button-next {
right: 0;
border-radius: 5px 0 0 5px;
}
.arrow-left::before,
.arrow-right::before {
content: "";
display: inline-block;
width: 0;
height: 0;
border: 10px solid transparent;
vertical-align: middle;
}
.arrow-left::before {
border-right-color: #fff;
margin-right: 5px;
}
.arrow-right::before {
border-left-color: #fff;
margin-left: 5px;
}