.full-star {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  animation: growStar 1.2s ease-out forwards;
  z-index: 9999;
}

/* Style for "you solved it" message */
h2 {
  font-size: 40px;
  background-color: rgb(36, 87, 63);
  padding: 10px;
  border-radius: 8px;
  color: rgb(6, 246, 38);
}

.star-image {
  width: 40vw;
  height: auto;
}

.star-text {
  position: fixed;
  top: 55%;
  left: 50%;
  width: 200%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  color: rgb(255, 106, 0);
  text-shadow: -.03em 0 yellow, 0 .03em yellow, .03em 0 yellow, 0 -.03em yellow;
  font-weight: bold;
  
}
@keyframes growStar {
  0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.2);
  }
  60% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
      transform: translate(-50%, -50%) scale(1);
  }
}
/* CREDIT: https://stackoverflow.com/questions/11660710/css-transition-fade-in */
.fade-out {
  opacity: 1;
  animation-name: fadeOut;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 4s;
}

@keyframes fadeOut {
  0% {
      transform: translate(-50%, -50%) scale(1) rotateZ(0deg);
      opacity: 1;
  }
  50% {
      transform: translate(-50%, -50%) scale(0.5) rotateZ(180deg);
  }
  100% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.1) rotateZ(360deg);
  }
}

.continue-btn {
  font-size: 5vw;
  padding: 2em 2em;
  margin-top: 10vh;
  cursor: pointer;
  background-color: #4CAF50;
  color: rgb(215, 249, 212);
  border: none;
  border-radius: 20%;
  
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.continue-btn:hover {
  background-color: #357c39; 
  transform: scale(1.05);
}

/* Hidden "you win" message */
.hidden {
  display: none;
}

body {
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}