body {
    background: rgb(30, 30, 30);
}

.descripcion-review, .nombre-review, .tit-carrusel {
    color: white;
}

.carrusel {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10vh;
}

.tit-carrusel {
    margin: 10vh 0 5vh 0;
    font-size: 4vh;
    font-weight: 600;
    text-align: center;
}

.carousel {
    position: relative;
    width: 70vw;
    height: 30vh;
    margin: auto;
    overflow: hidden;
    border-radius: 5px;
    z-index: 0;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    align-items: center;
    height: 100%;
    z-index: 0;
}

.card-review {
    margin: 0 3% 0 3%;
    width: 44%;
    min-width: 44%; 
    height: 99%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid var(--verde);
    border-radius: 24px;
}

.card-review p {
    margin: 0;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.descripcion-review {
    padding: 1vw;
}

.nombre-review {
    margin: 3vh 0 2vh 0 !important;
}

.button-eliminar-review {
    margin-top: 2vh;
    border: none;
    background-color: red;
    width: 50%;
    height: 20%;
    border-radius: 16px;
    color: white;
}

.card-review.active {
    display: flex;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 24px;
    z-index: 1;
    transition: all .3s ease-in-out;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    color: var(--borde-nav);
    font-size: 32px;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    .card-review {
        margin: 0 10% 0 10%;
        padding: 0 10px 0 10px;
        width: calc(100% - (20% + 20px));
        min-width: calc(100% - (20% + 20px)); 
    }

    .nombre-review {
        margin: 2vh 0 2vh 0 !important;
    }

    .card-review p {
        text-align: center;
    }
}
