
body {
  font-family: "Comic Sans MS", sans-serif;
  background-color: #ffbff5;
  color: #ad0092;
}

.container {
	display: flex;
	justify-content: center;
	align-items:center;
	height: 100vh;
	z-index: 10;
}

.center-container {
	display: flex;
	gap: 10px;
	flex-direction: column;
	align-items: center;
	z-index: 10;
}

#yourNameText {
  margin-top: 15px;
  font-size: 25px;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
  display: none;
  opacity: 0;
}

#rainbow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  transition: transform 0.6s ease;
  z-index: 0;
  display: block;
  pointer-events: none;
}

#rainbow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.heart {
  position: fixed;
  left: -10%;
  width: 10vw;
  height: 10vw;
  transform-origin: center;
  z-index: 50;
  display: block;
  pointer-events: none;
}

.slide-across {
  transform: translateX(110vw); 
}

#heart svg {
  width: 100%;
  height: 100%;
  display: block;
 }

.train {
  position: fixed;
  left: 10%;
  top: 10%;
  z-index:0;
  pointer-events:none;
  display: block;
}

.explosion {
  position: fixed;
  left: 10%;
  top: 10%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.explosion.explode {
	animation-name: explode;
	animation-duration: 1s;
}

@keyframes explode {
  0% {
	  transform: translate(-50%, -50%) scale(0);
  }
  50% {
	  transform: translate(-50%, -50%) scale(1);
  }
  100% {
	  transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
