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

header {
    background-color: #0073b7;
    color: #fff;
    padding: 20px;
    text-align: center;
    
}

header h1 {
    margin: 0;
    font-size: 2em;
}

main {
    padding: 20px;
}

.post {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center-align text and inline elements */
}

.post h2 {
    color: #0073b7;
}

.post img, .post video {
    max-width: 40%; /* Adjust to fit the content area */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.image-gallery {
    display: flex;
    justify-content: center; /* Center the images horizontally */
    gap: 10px; /* Space between the images */
}

.image-gallery img {
    max-width: 50%; /* Adjust based on how much space you want each image to take */
    height: auto;
    border-radius: 5px;
    object-fit: contain;
}

.post p {
    margin: 10px 0;
}

.collage-frame {
    position: relative;
    width: 100%;
    height: auto;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0 auto; /* Center the frame horizontally */
}

.collage {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center images horizontally */
}

.collage img {
    max-width: 30%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.collage img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
footer {
    background-color: #0073b7;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

footer p {
    margin: 0;
    font-size: 1em;
}
