body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
}

header {
    background-color: #0073e6;
    padding: 20px;
    color: white;
}

.small-text {
    font-size: 0.9em; /* Less prominent */
    opacity: 0.8;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
}

.blog-link {
    margin: 20px;
    text-align: center;
    width: 100%;
    max-width: 300px; /* Limits the size of each section */
}

.link-image {
    width: 100%; /* Makes images responsive */
    aspect-ratio: 1 / 1; /* Maintains a square aspect ratio */
    object-fit: cover; /* Crops the image to fit the square shape */
    border-radius: 10px;
    transition: transform 0.3s;
}

.link-image:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.button {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    color: white;
    background-color: #0073e6;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.button:hover {
    background-color: #005bb5;
}

footer {
    background-color: #333;
    color: white;
    padding: 10px;
    position: relative; /* Avoid overlap on mobile */
    width: 100%;
}

/* Media Query for Tablets and Larger Devices */
@media (min-width: 768px) {
    main {
        flex-direction: row;
        flex-wrap: wrap; /* Allows content to wrap if necessary */
    }

    .blog-link {
        margin: 10px;
    }
}
