.carousel {
    width: 100%;
    margin-top: 11.4rem;
    margin-bottom: 3.2rem;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: flex-start;
    border-radius: 2.4rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.carousel-inner {
    height: 100%;
    display: flex;
    transition: all ease 0.5s;
}

.carousel-item {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-item a {
    height: 100%;
    width: 100%;
    display: block;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-controls .prev {
    display: inline-block;
    height: 36px;
    width: 36px;
    position: absolute;
    left: 2.5%;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('/src/img/slider/prev.svg');
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.carousel-controls .next {
    display: inline-block;
    height: 36px;
    width: 36px;
    position: absolute;
    right: 2.5%;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('/src/img/slider/next.svg');
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.prev:hover,
.next:hover {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.carousel-indicators span {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.85);
    width: 30px;
    height: 4px;
    border-radius: 99px;
    opacity: 0.85;
    cursor: pointer;
    margin: 3px;
    transition: background-color 0.25s ease, width 0.25s ease;
}

.carousel-indicators span.active {
    opacity: 1;
    background-color: #0e63ae;
}

@media (max-width: 768.98px) {
    .carousel {
        margin-top: 9.6rem;
        margin-bottom: 2.4rem;
        border-radius: 1.6rem;
    }

    .carousel-indicators {
        width: 100%;
    }

    .carousel-indicators span {
        width: 24px;
        height: 3px;
    }
}