.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
    background: transparent;
    color: var(--white-color, #fff);
    text-transform: none;
    font-size: inherit;
    letter-spacing: normal;
    padding: 0;
    font-weight: normal;
    line-height: normal;
    border: none;
    border-radius: 0;
    height: auto;
    opacity: 0.5;
    transition: opacity 0.15s ease;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.9;
    background: transparent;
    color: var(--white-color, #fff);
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-indicators [type="button"] {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    color: inherit;
    text-transform: none;
    font-size: inherit;
    letter-spacing: normal;
    padding: 0;
    font-weight: normal;
    line-height: normal;
    border: none;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-indicators [type="button"].active {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-item {
    display: none;
    position: relative;
}

.carousel-item.active {
    display: block;
}

.carousel-fade .carousel-item {
    display: block;
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end,
.carousel-fade .carousel-item.active {
    z-index: 1;
    opacity: 1;
}

.carousel-fade .active.carousel-item-end,
.carousel-fade .active.carousel-item-start {
    z-index: 0;
    opacity: 0;
    transition: opacity 0s 0.6s;
}

.carousel-item img {
    display: block;
    width: 100%;
    height: auto;
}

.carousel-overlay {
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
    z-index: 2;
}
