/* 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('bare-tree1.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(255, 255, 255, 0.7); /* Semi-transparent background for text visibility */
    color: rgb(81, 15, 15);
    text-align: center;
    font-family: 'Bahnschrift SemiBold';
    padding: 30px;
    padding-top: 100px;
    padding-bottom: 70px;
    border-radius: 10px;
    z-index: 10;
}

/* Optional: Style for headers */
.poem-content h1 {
    font-size: 2.5em;
    margin: 0 0 20px;
}

/* Optional: Style for paragraph text */
.poem-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 0;
}
