/* The world behind the page: sky, stars, hills and the little house.
   js/story.js recolours these as the day goes by. */

.sky {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(#4FA9F0,#BFE6FF);
}
.stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.starry .stars {
  visibility: visible;
}
.stars svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.starry .stars svg:nth-child(2) {
  animation: tw 5s ease-in-out infinite alternate;
}
.starry .stars svg:nth-child(3) {
  animation: tw 7s ease-in-out -3s infinite alternate;
}
@keyframes tw {
  to {
    opacity: .25;
  }
}
.hills {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: var(--hh);
  pointer-events: none;
}
.house {
  position: fixed;
  z-index: -1;
  width: clamp(34px,3.9vw,56px);
  left: 89.6%;
  translate: -50% 0;
  bottom: calc(var(--hh) * .3);
  pointer-events: none;
}
