body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #001; /* Dark blue for the night sky */
  font-family: Arial, Helvetica, sans-serif;
}

.scene {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #000080, #000033); /* Gradient for night sky */
  position: relative;
  overflow: hidden;
}

.moon {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #FFF;
  box-shadow: 0 0 15px #FFF; /* Glowing moon effect */
}

.water {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, #0000CD, #4682B4); /* Gradient for water */
}


#constellations{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:2;
}

.scene{
    position:relative;
}

.star{
    position:absolute;
    cursor:pointer;
    user-select:none;
    z-index:3;
    transition:transform .15s;
}

.star:hover{
    transform:scale(1.3);
}

.star.selected{
    filter:drop-shadow(0 0 8px white);
}
#guestbook {
  position: absolute;
  top: 2rem;
  right: 2rem;

  width: 320px;
  max-height: 420px;
  overflow-y: auto;

  padding: 1rem;
  border-radius: 16px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);

  color: white;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;

  opacity: 0.7;

  li {
    background: #ffffff;
    color: black;
    border-radius: 0.25em;
    padding: 0.25 1em;
  }
}

/* Everyone sees this when anyone hovers */
#guestbook[data-playhtml-hover] {
  background: rgba(255,255,255,0.18);
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(255,255,255,0.25);
  opacity: 1;
}

#guestbook input,
#guestbook button {
  transition: all .2s ease;
}

#guestbook[data-playhtml-hover] input {
  border-color: #fde047;
}

#guestbook[data-playhtml-hover] button {
  background: #fde047;
  color: #111827;
}

#guestbook[data-playhtml-hover] li {
  transform: translateX(4px);
}

#color-picker{
  color: white;
}