/* Reset some basic elements for consistency */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    font-family: 'Arial', sans-serif; /* Use a more modern font */
    background-color: #222222; /* Light grey background */
    color: #333; /* Darker text for better readability */
    padding: 20px; /* Add some padding around the content */

}

ol, ul {
    list-style: none;
}

/* Add more styles below */

header h1 {
    font-size: 36px; /* Make the heading larger */
    font-weight: bold; /* Make the heading bold */
    text-align: center;
    margin: 20px 0;
    color: #fffff; /* A nice blue for the main heading */
}

.main {
    max-width: 1200px;
    margin: 0 auto; /* Center the main content */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between grid items */
    padding: 20px;
}

.grid-item {
    background-color: #363636; /* White background for grid items */
    border-radius: 8px; /* Rounded corners for grid items */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    overflow: hidden; /* Ensure content fits within the rounded corners */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #eee; /* Separator between image and text */
    padding-bottom: 15px;
}

.grid-item p {
    font-weight: bold;
    margin-top: 10px;
}

a {
    color: #eee; /* Blue color for links */
    text-decoration: none; /* No underline */
}

a:hover {
    text-decoration: underline; /* Underline on hover for better UX */
}