html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* ✅ Prevents scroll */
  font-family: "Anuphan", sans-serif;
  color: white;
}

body {
  background-image: url("bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;

  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100dvh; /* ✅ Perfect for mobile viewports */
}

.content {
  padding-left: 60px;
  max-width: 800px;
  text-align: left;
}

img {
  width: 350px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

h1 {
  font-size: 64px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

p {
  font-size: 28px;
  font-weight: 300;
  opacity: 0.9;
  white-space: normal;
  word-wrap: break-word;
}

/* ✅ Responsive scaling for smaller devices */
@media (max-width: 1024px) {
  .content {
    padding-left: 40px;
    max-width: 80%;
  }

  img {
    width: 280px;
  }

  h1 {
    font-size: 48px;
  }

  p {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  body {
    justify-content: center;  /* Center on small screens */
    align-items: center;
    text-align: center;
  }

  .content {
    padding: 0 20px;
    max-width: 90%;
  }

  img {
    width: 220px;
    margin-bottom: 15px;
  }

  h1 {
    font-size: 32px;
  }

  p {
    font-size: 18px;
    line-height: 1.4;
  }
}
