@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.quote-container {
  position: relative;
  width: 200px;
  height: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote.fade-in {
  animation: fade-in 0.5s forwards;
  visibility: visible;
}

.quote.fade-out {
  animation: fade-out 0.5s forwards;
  visibility: visible;
}

.quote {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  text-shadow: none;
}

.quote::after {
  content: var(--text-in);
  display: flex;
  transform: rotateX(180deg);
  background-image: linear-gradient(180deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.0) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root {
  --text-in: "";
}

