.carousel-caption {
    display: flex;
    justify-content: space-between;
    border-radius: 15px;
    overflow: hidden;
    min-height: 7rem;
    max-height: 7rem;
    background-color: #272734;
    text-decoration: none;
    color: #fff;
    transform: none;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 0;
    left: 5%;
    right: 5%;
    text-align: left;
    max-width: 30rem;
    opacity: 0.95;
}

.carousel-caption .h3 {
    color: #fff;
    margin-bottom: 7px;
}

.carousel-caption:hover .h3,
.carousel-caption:focus-within .h3 {
    text-decoration: underline;
}

.carousel-caption-heading {
    padding: 1rem;
    display: flex;
    background-color: #272734;
    color: #fff;
    width: 100%;
    line-height: normal;
    min-height: 181px;
}

.carousel-indicators button {
    background-color: red;
}

.carousel-item img {
    border-radius: 15px;
    border-bottom: 4px solid #272734;
    object-fit: cover;
}

.carousel-item * {
    text-decoration: none;
}

.carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 100%;
}

.carousel-indicators>div {
    background-color: #272734;
    padding: 0 10px;
    border-radius: 5px;
}

.carousel-indicators {
    margin: 0.5rem;
}

.carousel-indicators>.pause i {
    padding-top: 7px;
    display: block;
}

.carousel-indicators>.pause {
    margin-right: 5px;
    background-color: #272734;
    color: white;
}

.carousel-indicators>div:hover,
.prev-next .btn:hover {
    background-color: #373749;
}

.carousel-indicators button:not(.active):hover {
    background-color: #000000;
}


.carousel-item {
    transition: transform 1s ease-in-out;
}

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

@media (max-width: 991px) {
    .carousel-item .carousel-caption {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
        left: 0;
        border-radius: 0 0 0px 0px;
        max-width: 100%;
        opacity: 1;
    }

    .carousel-indicators {
        background-color: #272734;
        width: 100%;
        padding: 0;
        margin: 0;
        bottom: -10px;
        border-radius: 0 0 10px 10px;
        padding-bottom: 1rem;
    }

    .carousel-caption {
        min-height: unset;
        max-height: unset;
    }
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    height: 100%;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    max-height: auto;
    overflow: hidden;
    transition: max-height 1s ease-in-out;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    opacity: 0;
}

.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}