body {
  margin: 0 auto;
}



.poem-container {
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  
}


/* Each column */
.poem-column {
  flex: 0 0 50%;
  max-width: 50%;
  min-width: 0;
  box-sizing:border-box;
}



/* Paragraph spacing inside columns */
.poem-column p {
  font-size: 1rem;
  min-width: 0;
  font-family:Georgia, 'Times New Roman', Times, serif;
  line-height: 1.4;
  margin: 0 0 0 0em;
  white-space: nowrap;
}


/* Right column (last child) gets right border */
.poem-column:last-child{
  text-align: right;
}






/* --- Mobile layout fixes: stack columns and fix borders --- */
@media (max-width: 800px) {
  .poem-container {
    flex-direction: column;
    row-gap: 1rem;
    column-gap: 0;
  }
  .poem-column {
    max-width: 100%;
  }
  .poem-container p {
    font-size: .925rem; /* slightly smaller font size */
  }
  .poem-column:last-child{
    max-width: 95%;      /* or any width < 100% */
    margin-left: auto;   /* pushes the block to the right */
    text-align: right;
  }
  
}



