.testimonials__section {
  display: flex;
}

.testimonials__left {
  position: relative;
  width: 40%;
}

.testimonials__right {
  flex: 1;
}

.testimonials__content {
  position: relative;
  display: none;
}

.testimonials__content.active {
  display: block;
}

.testimonials__content.active .testimonials__text,
.testimonials__content.active .testimonials__footer {
  animation: slide 1s ease;
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateX(-15px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

.testimonials__content img {
  width: 100%;
}

.testimonials__text {
  width: 70%;
  position: absolute;
  top: 45%;
  left: 23%;
  -webkit-text-stroke: 0.4px white;
}

.one .testimonials__text {
  width: 68%;
}

.testimonials__content::before {
  content: "";
  position: absolute;
  top: 32%;
  left: 10%;
  background-image: url(../../img/interface.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100px;
  height: 100px;
}

.testimonials__footer {
  position: absolute;
  top: 58%;
  left: 23%;
}

.two .testimonials__footer {
  top: 65%;
}

.testimonials__line {
  margin-bottom: 14px;
}

.testimonials__mapImages {
  position: relative;
}

.testimonials__mapImages img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.4;
  cursor: pointer;
  transform-origin: center;
}

.testimonials__mapImages img.active {
  opacity: 1;
  border: 4px solid #1e202c;
  transform: scale(1.4);
  transition: transform 0.5s cubic-bezier(0, 0.43, 0.25, 1);
}

.map {
  position: absolute;
  width: 59%;
}

.imageThree {
  position: absolute;
  top: 18vw;
  left: 24%;
}

.imageTwo {
  position: absolute;
  top: 16vw;
  left: 41%;
}

.imageOne {
  position: absolute;
  top: 17.5vw;
  left: 46%;
}

@media only screen and (max-width: 1500px) {
  .testimonials__content::before {
    width: 80px;
    top: 32%;
    left: 8%;
  }

  .one .testimonials__footer {
    position: absolute;
    top: 60%;
    left: 23%;
  }
  .two.testimonials__content::before {
    top: 28%;
  }
  .two .testimonials__text {
    top: 41%;
  }
  .two .testimonials__footer {
    top: 70%;
  }
}

@media only screen and (max-width: 1250px) {
  .testimonials__content::before {
    width: 80px;
    top: 26%;
    left: 8%;
  }
  .testimonials__text {
    top: 41%;
  }

  .testimonials__footer {
    position: absolute;
    left: 23%;
  }

  .two.testimonials__content::before {
    top: 20%;
  }
  .two .testimonials__text {
    top: 34%;
    font-size: 14px;
  }
  .two .testimonials__footer {
    top: 70%;
    width: 170px;
  }
  .testimonials__mapImages img {
    width: 36px;
    height: 36px;
  }


  .active {
    z-index: 9;
  }
}

@media only screen and (max-width: 1050px) {
  .testimonials__content::before {
    width: 65px;
  }
  .one .testimonials__footer {
    width: 150px;
  }

  .two .testimonials__text {
    top: 33%;
    font-size: 13px;
  }

  .two .testimonials__footer {
    top: 63%;
  }
}

@media only screen and (max-width: 950px) {
  .testimonials__title {
    font-size: 2.5rem;
  }
  .testimonials__section {
    height:127vw;
    display: flex;
    flex-direction: column;
  }
  .testimonials__left {
    width: min(100vw, 700px);
    margin: 0 auto;
  }
  .map {
    width: 100%;
  }
  .testimonials__mapImages {
    position: relative;
  }
  .imageOne {
    top: 28vw;
    left: 49%;
  }
  .imageTwo {
    top: 27vw;
    left: 44%;
  }

  .imageThree {
    top: 30vw;
    left: 26%;
  }
}

@media only screen and (max-width: 790px) {
  .testimonials__section {
    height:127vw;
  }
} 


@media only screen and (max-width: 726px) {
  .testimonials__section {
    height:137vw;
  }
} 
@media only screen and (max-width: 610px) {
  .testimonials__section {
    height:156vw;
  }
} 


@media only screen and (max-width: 486px) {
  .testimonials__section {
    height:192vw;
  }
} 

@media only screen and (max-width: 400px) {
  .testimonials__section {
    height:192vw;
  }
  .testimonials__content::before {
    width: 50px;
    top: 20%;
    left: 8%;
  }
  .one .testimonials__text {
    width: 50%;
    top: 32%;
    font-size: 12px;
  }
  .one .testimonials__footer {
    top: 50%;
    font-size: 14px;
  }

  .two .testimonials__text {
    width: 50%;
    top: 22%;
    font-size: 12px;
  }

  .two .testimonials__footer {
    top: 63%;
    font-size: 14px;
    width: 150px;
  }
} 
