@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Barlow Semi Condensed', sans-serif;
  background-color: hsl(210, 46%, 95%);
}

/* to center the body */
html, body {
  height: 100%;
}

html {
  display: table;
  margin: auto;
}

body {
  display: table-cell;
  vertical-align: middle;
}
/* top style is to center the body */

.img-res {
  width: 100%;
  height: 100%;
  border-radius: 50%;  
  object-fit: cover;
  background-position: center center;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1% 3%;
  display: flex;
  gap: 1.8rem;
}

.main-container .left {
  flex-basis: 78%;
  display: flex;
  gap: 1.8rem;
  flex-direction: column;
}

.main-container .left .left-first {
  display: flex;
  flex-basis: 50%;
  gap: 1.8rem;

}
.main-container .left .left-second {
  display: flex;
  flex-basis: 50%;
  gap: 1.8rem;
}
.main-container .right {
  flex-basis: 23%;
  align-self: stretch;
  display: flex;
}

.testimonial-1 {
  background-color: hsl(263, 55%, 52%);
  flex-basis: 69%;
  position: relative;
  z-index: 3;
}

.testimonial-1 .quoteImg-cont {
  position: absolute;
  width: 100px;
  top: 0;
  right: 14%;
  z-index: -1;
}

.testimonial-1 .quoteImg-cont img.img-res {
  border-radius: 0;
}


.testimonial-2 {
  background-color: hsl(217, 19%, 35%);
  flex-basis: 31%;
}
.testimonial-3 {
  background-color: #fff;
  flex-basis: 31%;
}
.testimonial-4 {
  background-color: hsl(219, 29%, 14%);
  flex-basis: 69%;
}
.testimonial-5 {
  background-color: #fff;
}

.testimonial-box {
  padding: 30px 32px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-box .img-cont {
  height: 31px;
  width: 31px;
  border-radius: 50%;
}
.testimonial-box .profile {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  gap: 0.88rem;
}
.testimonial-box .profile .name {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.836);
  font-weight: 600;
  letter-spacing: 0.7px;
}
.testimonial-box .profile .designation {
  font-size: 12px;
  color: hsl(0, 0%, 81%);
  font-weight: 400;
}
.testimonial-5 .profile .name, .testimonial-3 .profile .name, .testimonial-5 h1.title ,.testimonial-3 h1.title  {
  color: #4C5261;
}
.testimonial-5 p.desc ,.testimonial-3 p.desc {
  color: rgba(148, 148, 148, 0.911);
} 

.testimonial-box .title {
  color: #fff;
  font-size: 1.24rem;
  line-height: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15px;
}

.testimonial-box .desc {
  color: hsl(0, 0%, 81%);
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.2px;
}


.testimonial-5 ,.testimonial-3 {
  box-shadow: 15px 12px 25px -4px rgba(0,0,0,0.1);
}


@media (max-width: 768px) {
  .main-container, .main-container .left, .main-container .left .left-first, .main-container .left .left-second {
    flex-direction: column;
  }
  .main-container .testimonial-box {
    flex-basis: 100% !important;
  }

  .main-container {
    padding: 5% 4%;
  }
  
  
}