.e-card {
  margin: 50px auto;
  background: transparent;
  box-shadow: 0px 8px 28px -9px rgba(0,0,0,0.45);
  position: relative;
  width: 80%;
  height: 70dvh;
  border-radius: 16px;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 200%;
  height: 700%;
  opacity: 0.6;
  left: 0;
  top: 0;
  margin-left: -50%;
  margin-top: -70%;
  background: linear-gradient(744deg,#af40ff,#5b42f3 60%,#00ddeb);
}

.icon {
  width: 3em;
  margin-top: -1em;
  padding-bottom: 1em;
}

.infotop {
  position: absolute;
  left: 0;
  right: 0;
  color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.ecardPrecio{
  width: 45%;
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ecardPrecio h2{
  font-size: 6rem;
  margin: 20px 0;
  color: var(--verde);
  line-height: 1.2rem;
  text-shadow: 3px 3px 5px rgba(0,0,0);
}
.ecardPrecio h2 span{
  font-size: 1.5rem;
  color: var(--verde);
}
.ecardPrecio p{
  font-size: 1.5rem;
  color: #fff;
}
.ecardPrecio a{
  font-size: 1.5rem;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--verde);
  color: #fff;
  margin-top: 20px;
  transition: 0.3s;
  box-shadow: 3px 3px 5px rgba(0,0,0);
}

.ecardPrecio a:hover{
  transform: scale(1.2);
  box-shadow: 2px 2px 10px rgba(0,0,0);
}

.ecardTexto{
  padding-right: 20px;
}

.wave:nth-child(2),
.wave:nth-child(3) {
  top: 210px;
}

.playing .wave {
  border-radius: 50%;
  animation: wave 30000ms infinite linear;
}

.wave {
  border-radius: 50%;
  animation: wave 550s infinite linear;
}

.playing .wave:nth-child(2) {
  animation-duration: 40000ms;
}

.wave:nth-child(2) {
  animation-duration: 500s;
}

.playing .wave:nth-child(3) {
  animation-duration: 50000ms;
}

.wave:nth-child(3) {
  animation-duration: 450s;
}

.playing .wave:nth-child(4) {
  animation-duration: 60000ms;
}

.wave:nth-child(4) {
  animation-duration: 400s;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*en moviles wave más pequeño*/
@media (max-width: 768px) {
  .wave {
    width: 200%;
    height: 200%;
    margin-left: -50%;
    margin-top: -70%;
  }

  .e-card{
    height: 200dvh;
  }

  .infotop{
    flex-direction: column;
  }
}

/*Si la pantalla es más grande de 1200 wave height 1300*/
@media (min-width: 1200px) {
  .wave {
    width: 200%;
    height: 1300%;
    margin-left: -50%;
    margin-top: -70%;
  }
}