@import url(base.css);
.opiniones{
    height: 911px;
    padding: 40px;
    background-image: url(src/bg-black-noise-auto.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.opiniones h2{
    font-weight: 300;
    font-size: 96px;
    text-align: center;
    margin-bottom: 176px;
}
.testimonial-container {
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: auto;
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: stretch;
	align-content: stretch;
    gap: 40px;
}
.testimonial-image {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd;
}
.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-content {
    flex: 1;
}
.testimonial {
    display: none;
    transition: opacity 0.5s ease-in-out;
    height: 300px;
    max-width: 780px;
    padding: 40px;
}
.testimonial.active {
    display: block;
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.testimonial p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0 0 10px;
}
.testimonial span {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    font-size: 24px;
    color: var(--blanco);
}
.indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s;
    border: 1px var(--dorado_claro) solid;
}
.indicator.active {
    background-color: var(--dorado_claro);
}
.calificacion{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
@media only screen and (min-width: 0px) and (max-width: 1000px) {
    .opiniones{
        height: auto;
        padding: 20px;
    }
    .opiniones h2{
        font-size: 40px;
        margin-bottom: 40px;
    }
    .testimonial-container {
        max-width: 1100px;
        flex-direction: column;
        gap: 20px;
    }
    .testimonial {
        height: auto;
        padding: 20px;
    }
    .testimonial-image {
        flex-shrink: 0;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #ddd;
        margin: auto;
    }
    .testimonial p{
        font-size: 14px;
    }
    .indicators{
        margin-top: 20px;
    }
}