body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f4f4f9;
    color: #333;
}

main {
    max-width: 900px; /* Constrains text width for readability */
    margin: 0 auto; /* Centers the content block horizontally */
    /* Vertical padding (20px) and responsive horizontal padding (5%) */
    padding: 20px 5%; 
}

.content-center {
    text-align: center;
}

.content-center figcaption {
    text-align: center;
}

h1, h2, h3 {
    color: #0056b3;
}

h1 {
    text-align: center;
}

pre {
    background-color: #eaeaea;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

.section {
    margin-bottom: 30px;
}

img {
    max-width: 100%; /* Ensures image doesn't overflow its container */
    height: auto;   /* Maintains aspect ratio */
    display: block;  /* Removes extra space below images */
    margin: 0 auto;  /* Centers images if they are smaller than 100% width */
}

iframe, video {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

/* Optional: Add a class for specific image styling if needed */
.full-width-image {
    width: 100%;
    height: auto;
}

/* Optional: Basic image gallery/grid if you have multiple images */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust minmax as needed */
    gap: 20px; /* Space between images */
    margin-top: 20px;
}

.image-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures images fill their grid area without distortion */
}

.home-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333; /* Dark gray background */
    color: #fff; /* White text */
    text-decoration: none; /* Removes underline */
    font-weight: bold; /* Bold text */
    border: none; /* Removes border */
    border-radius: 5px; /* Rounded corners */
    margin-top: 20px; /* Adds some space above the button */
}

.home-button:hover {
    background-color: #444; /* Darker gray on hover */
    cursor: pointer; /* Changes cursor to pointer on hover */
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
