.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #EEE;
}

.carousel-track {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 4rem;
    align-items: center;
}

.carousel-card {
    padding: 2em;
    background-color: #fff;
    border-radius: 10px;
    position: absolute;
    transition: all 0.75s ease, z-index 0s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-card .row {
    width: 100%;
    margin: 1em 0;
}

/* Custom transformation variables for each card */
.carousel-card[data-pos="-2"] {
    transform: translate(-42vw, 0%) scale(0.75);
    box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.carousel-card[data-pos="-1"] {
    transform: translate(-30vw, 0%) scale(0.85);
    box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.carousel-card[data-pos="0"] {
    transform: translate(0px, 0%) scale(1);
    box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.carousel-card[data-pos="1"] {
    transform: translate(30vw, 0%) scale(0.8);
    box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.carousel-card[data-pos="2"] {
    transform: translate(42vw, 0%) scale(0.6);
    box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Controls */
.carousel-prev,
.carousel-next {
    position: absolute !important;
    top: calc(50% - 1em) !important;
    transform: translateY(-50%);
    height: 100%;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10 !important;
    filter: invert(100%);
    transition: all 0.2s ease-out;
    width: 5% !important;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.indicator {
    width: 30px;
    height: 3px;
    background-color: #6c757d;
    cursor: pointer;
    margin: 0 3px;
}

.indicator.active {
    background-color: #212529;
}

@media (max-width: 768px) {

    .carousel-prev,
    .carousel-next {
        padding: 0;
    }
}