body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: Arial, sans-serif;
}

.container {
    width: 100%; /* Adjust width as needed, up to a max */
    max-width: 768px; /* Maximum width of the container */
    padding: 20px; /* Padding around the content */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    background-color: #f9f9f9; /* Slightly off-white background for the container */
}

main {
    display: flex;
    flex-direction: column; /* Stack sections vertically */
    align-items: center; /* Align sections in the center horizontally */
}

main section {
    width: 95%; /* Each section takes full width of the main */
    margin: 10px 0px; /* Reduced vertical margin between sections */
    padding: 10px; /* Padding inside each section */
    background-color: #fff; /* White background for sections */
    border-left: 1px solid #D4D2D2; /* Accent border on the left */
    border-right: 1px solid #D4D2D2; /* Accent border on the left */

}

h1, h2 {
    color: #2c3e50; /* Consistent color for headings */
    text-align: center;
    font-size: 2.5vh;
}

p {
    text-align: justify; /* Justify paragraph text */
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 768px) {
    .footer-content {
        position: relative; /* Allows absolute positioned elements to align relative to this container */
    }
    .footer-section {
        flex: 1 1 100%; /* Stacks the sections vertically */
        justify-content: center; /* Ensures content is centered */
    }
    .container {
        width: 95%; /* More width for smaller screens */
        padding: 10px; /* Lesser padding on smaller screens */
    }
}