@font-face {
  font-family: "pixelM";
  src: url("../common/font/PixelMplus12-Regular.ttf") format("truetype");
}

html, body {
  overflow: hidden;
}

html {
  background-color: black;
}

.wrapper {
  background-color: black;
  background-image: url("../img/star.gif");
  background-repeat: repeat-x;
  min-height: 100vh; /* Fallback */
  min-height: calc(var(--vh, 1vh) * 100);
  position: relative;
  box-sizing: border-box;
}

/* Base styles for text */
p {
  color: white;
  background-color: black;
  font-size: 14px;
  font-family: "pixelM";
  margin-bottom: 0;
}

.welcome p {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  color: rgb(176, 184, 255, 1.0);
  letter-spacing: 8px;
}

/* Base styles for images */
.lunar, .house {
  position: absolute;
  background-repeat: no-repeat;
}

.lunar {
  height: 52px;
  width: 52px;
  left: 10vw;
  top: 10vh;
  background-image: url("../img/lunax2.png");
}

.house {
  height: 126px;
  width: 142px;
  bottom: 94px;
  left: 60vw;
  z-index: 10;
  background-image: url("../img/house.png");
}

/* Styles for footer */
footer {
  height: 128px;
  width: 100%;
  color: #fff;
  z-index: 20;
  position: absolute;
  bottom: 0;
  background-image: url("../img/floor.png");
  background-repeat: repeat-x;
}

/* Styles for raindrop */
.raindrop {
  position: absolute;
  background-size: contain;
  width: 2px;
  height: 2px;
  top: 0px;
  pointer-events: none; /* Ensure the drops don't interfere with other elements */
}

img.dot {
  image-rendering: pixelated;
  image-rendering: -webkit-crisp-edges;
  image-rendering: -moz-crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

/* Responsive styles for portrait screens */
@media screen and (orientation: portrait) {
  footer {
    background-image: url("../img/x2floor.png");
    height: 256px;
  }

  .house {
    height: 252px;
    width: 282px;
    bottom: 188px;
    left: 40vw;
    background-image: url("../img/x2house.png");
  }

  .lunar {
    height: 104px;
    width: 104px;
    background-image: url("../img/lunax4.png");
  }

  p {
    font-size: 24px;
  }
}
