@import url("https://fonts.googleapis.com/css2?family=Berkshire+Swash&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@keyframes starClick {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: white;
  background-image: linear-gradient(#449a51, #306b39);
  user-select: none;
  height: 100vh;
  overflow: hidden;
  text-shadow: 1px 1px 2px black;
}

h1 {
  font-family: "Berkshire Swash", serif;
  color: gold;
  font-size: 2.5rem;
}

#date {
  font-weight: 400;
}

.important-text {
  font-weight: 600;
}

#header,
#footer {
  text-align: center;
}

#footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

#footer h3 {
  margin: 1rem 0;
}

#tree-container {
  max-width: 25rem;
  display: flex;
  margin: auto;
}

#tree {
  width: 25rem;
  margin: 2rem 0 0 0;
  display: inline;
  z-index: 0;
}

#star {
  position: relative;
  display: inline-block;
  margin: 0 -15rem;
  font-size: 5rem;
  cursor: pointer;
  max-height: 5rem;
  z-index: 5;
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.25));
  transition: 0.1s ease-in-out;
}

#star.click {
  animation: starClick 0.1s ease-in-out;
}

#star:hover {
  transform: scale(1.1);
}

#decorations {
  display: inline-block;
  margin: 5rem 3rem 4rem 3rem;
}

.ornament {
  height: 3rem;
  position: relative;
  display: inline-block;
  margin-top: 10rem;
  margin-left: 10rem;
  z-index: 10;
  filter: drop-shadow(1px 1px 3px black);
  transition: 0.1s ease-in-out;
}

.ornament:hover {
  transform: scale(1.35) rotate(3deg);
}

.orph-container {
  position: absolute;
  right: 0;
  bottom: 0;
}

#orpheus {
  height: 50vh;
}

.orph-dialogue,
.heidi-dialogue {
  width: fit-content;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 1.5rem;
  max-width: 50%;
  z-index: 15;
  position: relative;
}

.orph-dialogue {
  margin: 0 2.5rem -2.5rem auto;
}

.heidi-dialogue {
  margin-left: 2.5rem;
}

.heidi-container {
  position: absolute;
  left: 0;
  bottom: 0;
}

#heidi {
  height: 50vh;
  transform: scaleX(-1);
}

@media screen and (max-width: 1023px) {
  #header,
  #footer {
    width: 100%;
  }

  .heidi-container,
  .orph-container {
    display: none;
  }
}
