.carrusel {
    position: relative;
    overflow: hidden;
}

.carrusel-container {
    display: flex;
    transition: transform 0.3s ease;
}

.carrusel-item {
    flex: 0 0 100%;
    /* Cambia este valor para ajustar el ancho de cada elemento */
    text-align: center;
    /* Estilos adicionales para el contenido del carrusel */
    padding: 5px;
}

.content-move {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.carrusel-arrow {
    width: 1rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carrusel-prev {
    left: 10px;
}

.carrusel-next {
    right: 10px;
}

.carrusel-dots {
    text-align: center;
    padding: 0 20px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #999;
    margin: 0 5px;
    cursor: pointer;
}
.dot.active {
    background-color: var(--primary);
}
.content-move button {
    border: none;
    background: transparent;
    --bg-opacity: 0.15;
    border: 1px solid rgba(var(--black-rgb),var(--bg-opacity));
    background-color: #fff;
    color: var(--black);
    border-radius: 5px;
    width: 35px;
    height: 45px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 28px;
    font-weight: 500;
}

.testimonial__card {
    position: relative;
    box-shadow: var(--sombra-clara);
    border-radius: 5px;
    overflow: hidden;
    background-color: #ffffff;
    min-height: 400px;
}
.testimonial__card .full-text,
.testimonial__card .excerpt {
    font-style: italic;
    font-size: 1rem;
}
.testimonial__header {
    min-height: 120px;
}
.testimonial__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial__name {
    color: var(--primary);
    font-weight: 600;
    line-height: 1.25rem;
}
.testimonial__position,
.testimonial__course {
    line-height: 1.25rem;
    font-size: 0.875rem;
}
.testimonial__link {
    color: var(--primary);
    font-style: italic;
    font-size: 0.875rem;
    padding-left: 1rem;
}
.testimonial__link:hover {
    color: var(--primary);
    font-weight: 500;
}
.testimonial__excerpt,
.testimonial__course {
    font-style: italic;
    margin: 0;
}
.testimonial__footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 56px;
}

@media screen and (min-width: 768px) {
    .carrusel-item {
        flex: 0 0 50%;
        min-height: 400px;
    }
}

@media screen and (min-width: 1200px) {
    .carrusel-item {
        flex: 0 0 33.3333%;
        min-height: 300px;
    }
}

/* Modal styling */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1;
    padding-top: 6vw;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal__content {
    background-color: #fefefe;
    margin: auto;
    /* border: 1px solid #888; */
    width: 95vw;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}
.modal__content-img{
    padding: 2vw 2vw 1vw;
    display: flex;
    justify-content: center;
}
#testimonial-name,
.full-testimonial,
#testimonial-position,
#testimonial-course {
    padding: 0 2vw;
    margin: 0;
    font-size: 1rem;
}
#testimonial-name,
#testimonial-position,
#testimonial-course {
    text-align: center;
}
.testimonial-img {
    border-radius: 5px;
}
#testimonial-name {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.25rem;
}
#testimonial-position {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
#testimonial-course {
    line-height: 1.25rem;
    font-style: italic;
    font-weight: 600;
}
.full-testimonial {
    font-style: italic;
    padding-bottom: 2vw;
    padding-top: 2vw;
    font-size: 0.875rem;
}
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    width: auto;
    border: none;
    background: transparent;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
@media screen and (min-width:1200px) {
    .full-testimonial {
        font-size: 1rem;
    }
    .modal__content {
        width: 65vw;
    }
}