:root {
  --star-animation-duration: 1s;
  --star-animation-delay: 1s;
  --star-content-animation-duration: 1.5s;
  --star-wrapper-background-color: var(--arc-color-infiniteblue);
}

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

  100% {
    opacity: 1;
  }
}

/* Wrapper opacity animation */
@keyframes wrapper-fade-out {
  0% {
    opacity: 1;
  }

  100% {
    /* Fully transparent by the end */
    opacity: 0;
  }
}

/* Star expansion animation */
@keyframes star-expand {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(50);
  }
}

/* Page content fade-in */
.container.responsivegrid.cmp-container--full-width {
  opacity: 0;
}

/* Animation wrapper with infiniteblue background */
.star-animation-wrapper {
  align-items: center;
  background-color: var(--star-wrapper-background-color);
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 1;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
}

/* Centered star SVG */
.star {
  height: 72px;
  width: 72px;
  will-change: opacity, transform;
}

.star-animation--active {
  animation: star-expand var(--star-animation-duration) forwards;
  /* animation-delay: var(--star-animation-delay); */
}

.star-animation-wrapper--active {
  animation: wrapper-fade-out var(--star-animation-duration) forwards;
  /* animation-delay: var(--star-animation-delay); */
}

.star-animation-content--active {
  animation: content-fade-in var(--star-animation-duration) forwards;
  /* animation-delay: var(--star-animation-delay); */
}