html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;           /* ← very important on mobile */
}

body {
    background-color: #fff;
    color: #000;
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
    gap: 2vh;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 12vw, 8rem);  /* ← prevents it from becoming absurdly wide */
    text-align: center;                  /* fallback + good practice */
    line-height: 1.1;
    max-width: 100%;                     /* ← crucial */
    word-break: break-word;              /* or break-all if you want */
    overflow-wrap: break-word;
    transform: scale(1, 2);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

p {
    font-size: 1.5vw;           /* desktop / large screens default */
}

@media only screen and (max-width: 768px) {   /* or 900px, 1024px — test what feels right */
    p {
        font-size: 4vw;         /* mobile — bigger relative size */
    }
}