body {
    background-color: LightSteelBlue;
    font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
    
    padding: 20px;
}
h1{
text-align:center
}

.red {
    color: red;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

figure {
    margin: 0;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Forces a perfect square */
    object-fit: cover;   /* Crops the image to fit the square without stretching */
    border-radius: 4px;
    display: block;
}

figcaption {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}
footer {
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    text-align: center;
}

footer a {
    color: #d00;
    text-decoration: underline;
}
nav {
    margin-bottom: 30px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

nav a {
    text-decoration: none;
    color: blue;
    font-weight: bold;
    padding: 0 10px;
}

#reflection {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
    line-height: 1.6;
    background: white;
    padding: 30px;
    border-radius: 8px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
