.cards {
  /* background: #28223f; */
  display: grid;
  place-items: center;
  /* min-height: 100vh; */
  min-height: 20vh;
position: relative;
bottom: 0;
width: 100%;
}

.outer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards .card {
  background: transparent;
  /* padding: 1.5rem; */
  /* max-width: 30rem; */
  border-radius: 0.5rem;
  position: absolute;
  pointer-events: none;
  opacity: 0;
  animation: animate 15s infinite linear;
  animation-delay: calc(3s * var(--delay));
  width: 100%;
  border: none;
  height: 40px;
}

.profile,
.header {
  display: flex;
  align-items: center;
}
.header {
  justify-content: space-between;
}
.profile {
  margin-bottom: 0.5rem;
  width: 100%;
justify-content: center;
}
.profile .img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  padding: 5px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.178);
}
.profile .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile .details {
  /* margin-left: 10px; */
}
.profile .details h4 {
    text-align: center;
    letter-spacing: 0.07em;
    color: #073676;
    font-size: 25px;
    font-family: 'Lato-Bold';
}
.op-star {
  color: #28223f;
  font-size: 1.1rem;
}

.outer:hover .card {
  animation-play-state: paused;
}
.cards .card:last-child {
  animation-delay: calc(-3s * var(--delay));
}
.cards .card:nth-child(4) {
  margin-bottom: 21px;
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.3);
  }
  5%,
  20% {
    opacity: 0.3;
    transform: translateY(100%) scale(0.6);
  }
  25%,
  40% {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0%) scale(0.8);
  }
  45%,
  60% {
    opacity: 0.3;
    transform: translateY(-100%) scale(0.6);
  }
  65%,
  100% {
    opacity: 0;
    transform: translateY(-100%) scale(0.3);
  }
}

/* @media (max-width: 467px) {
  .card {
    font-size: 10px;
    padding: 0.5rem !important;
    margin: 0.5rem;
    text-align: center;
  }
  .header,
  .profile {
    flex-direction: column;
    margin-bottom: 0.5rem;
  }
} */


.vertical-scroll {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

@media (max-width: 600px) {
  .banner-section-left {
    width: 135px;
  }
  .cards {
    min-height: 3vh;
  }
  .profile .details h4 {
    font-size: 9px;
  }
  .cards .card {
    height: 14px;
  }
  .center-text {
    top: 35%;
  }
  .center-text::before {
    height: 15px;
    top: -20px;
  }
  .center-text::after {
    height: 15px;
    bottom: -45px;
  }
  .banner-section-left .logo img {
    width: 69%;
  }
  .center-text p span {
    font-size: 10px;
    margin-top: -1px;
  }
  .center-text p {
    font-size: 8px;
    letter-spacing: unset;
  }
  .cards .card:nth-child(4) {
    margin-bottom: auto;
  }
}

@media screen and (min-width: 600px) and (max-width: 767px) {
  .cards {
    min-height: 16vh !important;
  }
  .cards .card:nth-child(4) {
    margin-bottom: auto;
  }
}

@media screen and (min-width: 600px) and (max-width: 992px) {
  .cards {
    min-height: 7vh;
  }
  .profile .details h4 {
    font-size: 20px;
  }
  .cards .card {
    height: 30px;
  }
  .center-text::before {
    height: 46px;
    top: -50px;
  }
  .center-text::after {
    height: 37px;
    bottom: -85px;
  }
  .banner-section-left .logo img {
    width: 69%;
  }
  .center-text p span {
    font-size: 21px;
    margin-top: -4px;
  }
  .center-text p {
    font-size: 13px;
  }
  .cards .card:nth-child(4) {
    margin-bottom: auto;
  }
  .vertical-scroll {
    bottom: 30px;
}
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .cards {
    min-height: 7vh;
  }
  .profile .details h4 {
    font-size: 22px;
  }
  .cards .card {
    height: 30px;
  }
  .center-text::before {
    height: 83px;
    top: -89px;
  }
  .center-text::after {
    height: 50px;
    bottom: -106px;
  }
  .vertical-scroll {
    bottom: 10%;
}
}