.carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1000px;
    overflow: hidden;
}

.carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s;
}

.carousel-card {
    width: 30%;
    background-color: #fff;
    border: 2px solid #5E3A20;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    transition: transform 0.5s, opacity 0.5s;
}

.hidden {
    display: none;
}

.prev {
    transform: translateX(-110%) scale(0.8);
    opacity: 0.5;
    z-index: 0;
}

.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 1;
}

.next {
    transform: translateX(110%) scale(0.8);
    opacity: 0.5;
    z-index: 0;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff00;
    color: #5E3A20;
    font-size: larger;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

.left-nav {
    left: 10px;
}

.right-nav {
    right: 10px;
}

.text-card{
    text-align: justify;
}


@media screen and (max-width: 992px) {

    .text-card{
        font-size: smaller;
    }

    .card-title{
        font-size: smaller;
    }

    .carousel-card{
        width: 50%;
    }
}

@media screen and (max-width: 576px) {

    .carousel-card{
        width: 75%;
    }
}