.chy-testimonial-5-area {
position: relative;
}
.chy-testimonial-5-area .chy-testimonial-5-preview {
position: absolute;
top: 60%;
left: 8vw;
transform: translateY(-50%);
}
@media only screen and (min-width: 1600px) and (max-width: 1799px) {
.chy-testimonial-5-area .chy-testimonial-5-preview {
left: 1vw;
}
}
@media only screen and (min-width: 1400px) and (max-width: 1599px), only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
.chy-testimonial-5-area .chy-testimonial-5-preview {
position: unset;
margin-top: 100px;
text-align: center;
padding-left: 50px;
padding-right: 50px;
}
}
.chy-testimonial-5-item {
display: grid;
grid-template-columns: 1.12fr 2fr;
gap: 50px;
align-items: center;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
.chy-testimonial-5-item {
grid-template-columns: 1fr;
}
}
.chy-testimonial-5-item .main-img {
border-radius: 10px 10px 0 0;
height: 615px;
overflow: hidden;
display: flex;
align-items: end;
}
@media (max-width: 767px) {
.chy-testimonial-5-item .main-img {
height: 415px;
}
}
@media only screen and (min-width: 576px) and (max-width: 767px) {
.chy-testimonial-5-item .main-img {
height: 615px;
}
}
.chy-testimonial-5-item .main-img img {
transform: translateY(100%);
transition: 1000ms cubic-bezier(0.08, 0.28, 0.37, 0.99);
}
.chy-testimonial-5-item .section-title-wrap {
max-width: 600px;
}
.chy-testimonial-5-item .comment-wrap {
background: #fff;
border-radius: 15px;
padding: 45px;
margin-left: 40px;
position: relative;
transform: translateX(106%);
transition: 1000ms cubic-bezier(0.08, 0.28, 0.37, 0.99);
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
.chy-testimonial-5-item .comment-wrap {
margin-left: 0px;
}
}
.chy-testimonial-5-item .comment-wrap .arrow-icon {
position: absolute;
left: -38px;
top: 30px;
z-index: -1;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
.chy-testimonial-5-item .comment-wrap .arrow-icon {
display: none;
}
}
.chy-testimonial-5-item .comment-wrap .qoute {
position: absolute;
top: 35%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0.8;
}
@media (max-width: 767px) {
.chy-testimonial-5-item .comment-wrap .qoute {
width: 150px;
}
}
@media only screen and (min-width: 576px) and (max-width: 767px) {
.chy-testimonial-5-item .comment-wrap .qoute {
width: 300px;
}
}
.chy-testimonial-5-item .comment-text {
font-size: 26px;
font-weight: 500;
line-height: 1.41;
margin-bottom: 30px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
.chy-testimonial-5-item .comment-text {
font-size: 22px;
}
}
.chy-testimonial-5-item .name {
display: inline-block;
font-size: 22px;
line-height: 28px;
background: var(--chy-gd-2);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 7px;
}
.chy-testimonial-5-item .bio {
font-size: 16px;
display: block;
line-height: 24px;
}
.chy-t5-preview-item {
width: 100px;
height: 100px;
border-radius: 50%;
overflow: hidden;
background: #EAEBEE;
border: 1px solid;
border-color: transparent;
object-position: top;
cursor: pointer;
}
.chy-testimonial-5-slider .swiper-container .swiper-wrapper .swiper-slide:is(.swiper-slide-active) .chy-testimonial-5-item .main-img img {
transform: translateY(0);
}
.chy-testimonial-5-slider .swiper-container .swiper-wrapper .swiper-slide:is(.swiper-slide-active) .chy-testimonial-5-item .comment-wrap {
transform: translateX(0%);
}
.chy-testimonial-5-preview .swiper-container .swiper-slide {
height: 102px !important;
}
@media only screen and (min-width: 1400px) and (max-width: 1599px), only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
.chy-testimonial-5-preview .swiper-container .swiper-slide {
width: 102px !important;
}
}
.chy-testimonial-5-preview .swiper-container .swiper-slide:is(.swiper-slide-thumb-active) .chy-t5-preview-item {
border-color: #9255CE;
}