.container-testimoniale {
  display: grid;
  justify-content: center;
  grid-template-columns: auto;
}

.testimoniale {
  width: 100wv;
  /*border: 10px solid #ddd;*/
  overflow: hidden;
  /*border-radius: 5px;
  box-shadow: 5px 15px 25px rgba(0, 0, 0, 0.3);*/
}

.warper {
  width: 100%;
  display: flex;
  animation: slide 80s infinite linear;
}

.imgSlide {
  width: 300px;
  margin: 10px;
  border: 2px solid var(--blueLight);
  border-radius: 5px;
  /*box-shadow: 5px 15px 25px rgba(0, 0, 0, 0.3);*/
  padding:8px;
}

.imgSlide::before{
  content:  url('../recomandare.png');
  /*background: url('../recomandare.png');
  object-fit: cover;*/
  position: absolute;
  display:flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--white);
  border-radius: 50%;
  background-color: var(--blueLight);
}

.imgSlide div {
  text-align: center;
  /* line-height: 52px;*/
  width: inherit;
}

.imgSlide div.titlu {
  display:flex;
  justify-content: space-around;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding: 10px;
}

.imgSlide div.descriere {
  text-align: justify;
  text-indent: 20px;
  font-size: 16px;
  padding: 30px;
}

.container-testimoniale img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  gap: 5px;
}

.warper:hover {
  animation-play-state: paused;
}

@keyframes slide {
  0% {
    transform: translateX(0%);
  }
  20% {
    transform: translateX(-100%);
  }
  30% {
    transform: translateX(-200%);
  }
  40% {
    transform: translateX(-300%);
  }
  50% {
    transform: translateX(-400%);
  }
  60% {
    transform: translateX(-300%);
  }
  70% {
    transform: translateX(-200%);
  }
  80% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}

@media only screen and (max-width: 500px) {
  .testimoniale {
    width: 100vw;
  }
}
