.testimonios {
  display: flex;
  justify-content: center;
  padding: 10px 0 20px 0;
  /*background-color: lightblue;*/
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 40px;
  align-items: stretch;
  width: 65%;
  margin: 2% auto;
  /*background-color: green;*/
  justify-content: center;
}

.mycard {
  position: relative;
  height: auto;
  padding: 10px 10px;
  background: #ff0;
  border-radius: 10px;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  animation: animate 5s linear infinite;
  overflow: hidden;
  background: #ffffff;
}

.mycard::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  transform: skewx(-5deg);
  background: rgba(0, 0, 0, 0.01);
}

@keyframes animate
{
  0%
  {
    background-position: 0 0;
  }
  100%
  {
    background-position: 0 -196px;
  }
}

.mycard .image {
  position: relative;
  width: 80%;
  height: 80%;
  margin: 20px auto;
  overflow: hidden;
  z-index: 1;
}

.mycard .image img {
  width: 100%;
  height: auto;
}

.mycard .text {
  position: relative;
  color: #000;
  font-size: 12px;
  padding-top: 5px;
}

.mycard .text p {
  text-align: justify;
}

.mycard .text::before {  
  position: absolute;
  top: -30px;
  left: 50%;
  font-size: 60px;
  color: rgba(255, 255, 255, 0.5);
  transform: translatex(-50%);
}

.mycard .details {
  /*text-align: center;*/
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.mycard .starsinline {
   white-space:nowrap;
   display:flex;
   align-items:center;
   align:center;
   height:57px;
}

.mycard .starsinline .details {
   display:inline;
}

.mycard .starsinline .image {
   display:inline;
   white-space:nowrap;
   vertical-align:middle;
   /*padding: 10px 20px;*/
}

.mycard .starsinline .image img {
   width: 70%;
}

@media screen (min-width: 320px) {

  .grid {
    width: 320px;
  }
}


@media screen (min-width: 768px) {

  .grid {
    width: 768px;
    width: 80%;
  }

  .mycard .text {
    font-size: 14px;
  }

  .mycard .details {
    font-size: 16px;
  }
}
 

@media only screen and (min-width: 992px) {
  .grid {
    width: 992px;
    width: 80%;
  }

  .mycard .text {
    font-size: 14px;
  }

  .mycard .details {
    font-size: 16px;
  }
}
