body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.container {
    display: flex;
    flex: 1;
}

/* Styling for the sidebar */
.sidebar {
    width: 40%;
    /* background: #fff; */
    background-image: url('../Poem Blog/Images/forest_bg2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    color: white;
    padding: 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    height: 100vh;
}

.sidebar h1{
    text-align: center;
    font-family: 'Candara Light';
    font-size: 60px;
}

.sidebar h2 {
    text-align: center;
    font-family: 'Candara Light';
    font-size: 30px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    text-align: center;
    font-family: 'Candara Light';
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    font-size: 15px;
}

.sidebar p {
    font-family: 'Candara Light';
    font-size: 17px;
}

/* Styling for the poem and quote blocks. */

/* Styling for the class posts */
.posts {
    width: 60%;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 5px;
    overflow-y: auto;
    background: #c9d3d8;  /* This is the default colour of the blocks. */
    height: 100vh;
}

/* Styling for each of the post (not the poem) */
.posts .post {
    background: #fff;
    display: inline-block; /* Display as inline block */
    vertical-align: center; /* Align to the top of the container */
    margin: 10px; /* Add some margin for spacing between the boxes */
    padding: 20px; /* Add padding for better appearance */
    background: #fff;
    /* border: 1px solid #ccc; */
    /* border-radius: 15px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: inherit;
    text-decoration: none;
    font-family: 'Candara';
    min-height: 200px;
}

.posts .post blockquote {
    margin: 0;
    padding: 10px;
}

#Quote1 {
    position: relative;
    background: url('../Poem Blog/Images/river_bg1.jpg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
}

#Quote1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

#Quote2 {
    position: relative;
    background: url('../Poem Blog/Images/river_bg4.jpg') no-repeat center center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
}

#Quote2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

#Quote3 {
    position: relative;
    background: url('../Poem Blog/Images/river_bg5.jpg') no-repeat center center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
}

#Quote3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

#Quote4 {
    position: relative;
    background: url('../Poem Blog/Images/river_bg6.jpg') no-repeat center center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
}

#Quote4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

#Quote5 {
    position: relative;
    background: url('../Poem Blog/Images/river_bg7.jpg') no-repeat center center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
}

#Quote5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

#Quote6 {
    position: relative;
    background: url('../Poem Blog/Images/river_bg8.jpeg') no-repeat center center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
}

#Quote6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

/* Styling for each of the poem */
.posts .poem {
    display: inline-block; /* Display as inline block */
    vertical-align: center; /* Align to the top of the container */
    margin: 10px; /* Add some margin for spacing between the boxes */
    padding: 20px; /* Add padding for better appearance */
    background: black;
    /* border: 1px solid #ccc; */
    /* border-radius: 15px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: 'Candara';
    color: white;
    min-height: 200px;
}

.posts .poem blockquote{
    margin: 0;
    padding: 10px;
}

.posts .poem blockquote p{
    text-align: center;
}

#Metamorphosis {
    position: relative;
    background: url('../Poem Blog/Images/rose_bg1.jpg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
    font-family: 'Candara Light';
}

#Metamorphosis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

#Its_okay_to_cry{
    position: relative;
    background: url('../Poem Blog/Images/rain_bg1.jfif'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
    font-family: 'Candara Light';
}

#Its_okay_to_cry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

#To_papa{
    background-color: #212121; 
    background-size: cover;
    color: white;
    font-family: 'Candara Light';
}

#Yet{
    position: relative;
    background: url('../Poem Blog/Images/time_bg1.jpeg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
    font-family: 'Candara Light';
}

#Yet::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

#Run_Down_Memorylane {
    position: relative;
    background: url('../Poem Blog/Images/memories_bg1.jpg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
    font-family: 'Candara Light';
}

#Run_Down_Memorylane::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

#Beauty_in_Pain {
    position: relative;
    background: url('../Poem Blog/Images/imperfections_bg1.jpg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    z-index: 1;
    font-family: 'Candara Light';
}

#Beauty_in_Pain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: -1; /* Ensure the overlay is behind the content */
}

/* Styling for the footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* Hide scrollbars in WebKit browsers (Chrome, Safari) */
.sidebar::-webkit-scrollbar,
.posts::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbars in Firefox */
.sidebar {
    scrollbar-width: none; /* Firefox */
}

.posts {
    scrollbar-width: none; /* Firefox */
}
