/* General body styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    font-size: 24px; /* Larger base font size for the entire body */
}

/* Container to hold the content */
.container {
    max-width: 1200px; /* Max-width set for large screens */
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1.2em; /* Slightly increase font size inside the container */
}

/* Styling for the text frame */
.text-frame {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 20px 40px; /* Add space around the text-frame on all sides */
}

.text-frame h1 {
    text-align: center;
    color: #444;
    font-size: 1.4em; /* 1.4em; Larger heading */
}

.text-frame p {
    line-height: 1.8; /* Improve readability with larger line height */
    margin-bottom: 15px;
    font-size: 1.0em; /* 1.2em; Larger paragraph text */
}

.text-frame p strong {
    color: #333;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 800px) {
    body {
        font-size: 16px; /* Adjust font size for small screens */
    }

    .container {
        margin: 20px;
        padding: 15px;
        max-width: 100%; /* Ensure container fits within small screens */
    }

    .text-frame {
        padding: 15px;
        border-radius: 6px;
        max-width: 100%;
        margin: 15px 20px; /* Add space around the text-frame on all sides for small screens */
    }

    .text-frame h1 {
        font-size: 1.0em; /* 1.2em; Slightly smaller heading for small screens */
    }

    .text-frame p {
        font-size: 0.9em; /* 1.1em; Maintain readability on smaller screens */
        line-height: 1.6;
    }
}
