@import url(base.css);
.opiniones{
    height: auto;
    padding: 40px 0px;
    max-width: 1200px;
    margin: auto;
}
.opiniones h2{
    font-weight: 400;
    font-size: 48px;
    font-family: var(--kadwa);
    margin: auto;
    text-align: center;
}
.opiniones h3{
    font-size: 24px;
    max-width: 550px;
    margin: auto;
    text-align: center;
    margin-bottom: 40px;
}
.opinionesCont{
    overflow: hidden;
}
.opinionesCont input[type=radio]{
    display: none;
}
.arrowsCont{
    position: relative;
}
.arrows{
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    width: 1200px;
    z-index: 3;
}
.arrowsPosition{
    position: relative;
}
.arrowsPosition label{
    background-image: url("src/left.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    display: inline-block;
    width: 35px;
    height: 20px;
    cursor: pointer;
    position: absolute;
}
#slide1:checked ~ .arrowsCont .arrows .arrowsPosition label:nth-child(1){
    display: none;
}
#slide1:checked ~ .arrowsCont .arrows .arrowsPosition label:nth-child(2){
    right: 0%;
    rotate: 180deg;
}
#slide1:checked ~ .arrowsCont .arrows .arrowsPosition label:nth-child(3){
    display: none;
}
#slide2:checked ~ .arrowsCont .arrows .arrowsPosition label:nth-child(2){
    display: none;
}
#slide2:checked ~ .arrowsCont .arrows .arrowsPosition label:nth-child(1){
    left: 0%;
}
#slide2:checked ~ .arrowsCont .arrows .arrowsPosition label:nth-child(3){
    right: 0%;
    rotate: 180deg;
}
#slide3:checked ~ .arrowsCont .arrows .arrowsPosition label:nth-child(3){
    display: none;
}
.slideCont{
    width: 300%;
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
    transition: all 0.3s;
    margin-bottom: 40px;
}
.slide{
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: center;
    padding: 0px 62px;
    width: 1200px;
}
.slideCard{
    max-width: 300px;
    background-color: var(--arena);
    overflow: hidden;
    border-radius: 5px;
}
.slideImg{
    max-width: 100%;
    max-height: 200px;
    overflow: hidden;
}
.slideImg img{
    width: 100%;
}
.slideDivition{
    height: 20px;
    position: relative;
}
.slideIcon{
    width: 50px;
    height: 50px;
    display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
    background-color: var(--morado);
    border-radius: 100%;
    position: absolute;
    left: 45px;
    top: 50%;
    translate: -50% -50%;
}
.slideIcon i{
    font-size: 22px;
}
.slideText{
    padding: 20px;
}
.slideText p:nth-child(1){
    color: var(--morado);
    line-height: 15px;
    height: 75px;
}
.slideText p:nth-child(2){
    font-size: 24px;
    color: var(--morado);
    font-family: var(--kadwa);
    font-weight: bold;
}
.slideEstrellas{
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: baseline;
	align-content: stretch;
    gap: 10px;
}
.slideEstrellas i{
    color: #D1A554;
}
.bullets{
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
    gap: 10px;
}
.bullets label{
    width: 15px;
    height: 15px;
    border-radius: 100%;
    border: 2px var(--arena) solid;
    display: inline-block;
    cursor: pointer;
}
#slide1:checked ~ .arrowsCont .slideCont{
    margin-left: 0%;
}
#slide2:checked ~ .arrowsCont .slideCont{
    margin-left: -100%;
}
#slide3:checked ~ .arrowsCont .slideCont{
    margin-left: -200%;
}
#slide1:checked ~ .bullets label:nth-child(1),
#slide2:checked ~ .bullets label:nth-child(2),
#slide3:checked ~ .bullets label:nth-child(3) {
    background-color: var(--arena);
}
@media only screen and (min-width: 0px) and (max-width: 1200px) {
    .opiniones{
        height: auto;
        padding: 20px;
    }
    .opiniones h2{
        font-size: 24px;
    }
    .opiniones h3{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .slide{
        flex-direction: column;
        gap: 20px;
        padding: 0px 0px;
        width: 310px;
    }
    .slideText p:nth-child(1){
        color: var(--morado);
        font-size: 12px;
        height: auto;
    }
    .slideText p:nth-child(2){
        font-size: 16px;
    }
    .slideCard{
        max-width: 310px;
        display: flex;
        flex-direction: row;
    }
    .slideImg{
        max-width: 120px;
        max-height: 100%;
    }
    .slideImg img{
        width: 100%;
        height: 100%;
    }
    .slideText{
        padding: 10px;
    }
    .opinionesCont{
        max-width: 310px;
        margin: auto;
    }
    .slideCont{
        width: 300%;
        margin-bottom: 20px;
    }
    .arrowsPosition{
        display: none;
    }
    .slideDivition{
        display: none;
    }
    .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;
    }
}