#poemContent {
  position: relative;
}

#moon {
  position: absolute;
  width: 100px;
  top: 40px;
  left: 30px;
  z-index: 20;
  animation: fadein 3s ease-in-out forwards;
}

#cloud {
  position: absolute;
  width: 250px;
  top: 40px;
  left: 55px;
  z-index: 20;
  animation: fadein 4s ease-in-out forwards, move 4s ease-in-out forwards;
}

@keyframes fadein {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}
.card-front::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  animation: darken 3s ease-in-out forwards;
}

@keyframes darken {
  0% {
    background-image: url(../img/huda_yozora.webp);
    opacity: 0;
  }
  100% {
    background-image: url(../img/huda_yozora.webp);
    opacity: 1;
  }
}
@keyframes move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-40px);
  }
}
.card-front #frontContent h3,
.card-front #frontContent h2 {
  animation: text-color 3s ease-in-out forwards !important;
}

@keyframes text-color {
  0% {
    color: #333;
    text-shadow: 0px 0px 8px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff;
  }
  100% {
    color: #fff;
    text-shadow: 0px 0px 8px #333, 0px 0px 8px #333, 0px 0px 8px #333, 0px 0px 8px #333, 0px 0px 8px #333, 0px 0px 8px #333;
  }
}
.card-front.active #frontContent h3,
.card-front.active #frontContent h2 {
  animation: text-color2 3s ease-in-out forwards !important;
}

@keyframes text-color2 {
  0% {
    color: #333;
  }
  100% {
    color: #333;
  }
}/*# sourceMappingURL=moon_cloud.css.map */