/* Ensure body and html take up full height */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Candara Light', sans-serif;
}

/* Container for the background image */
.poem-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-image: url('night_city1.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensure the image covers the container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating the image */
    background-attachment: fixed; /* Fixed background for effect */
    overflow: hidden;
}

/* Content inside the background container */
.poem-content {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%); /* Only translate vertically */
    width: 100%;
    max-height: 90vh; /* Adjust as needed for better fit */
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text visibility */
    color: whitesmoke;
    text-align: center;
    font-family: 'Gabriola';
    padding: 30px;
    padding-top: 100px;
    padding-bottom: 70px;
    border-radius: 10px;
    z-index: 10;
}

/* Optional: Style for headers */
.poem-content h1 {
    font-size: 3em;
    margin: 0 0 20px;
}

/* Optional: Style for paragraph text */
.poem-content p {
    font-size: 1.7em;
    line-height: 1.6;
    margin: 0;
}
