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

h1 {
    margin-top: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.gallery a {
    text-decoration: none;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Style for Skip to Main Content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: white;
    padding: 8px;
    border: 1px solid black;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 10px;
}

/* Commented out existing styling for li */
/* li {
    list-style-type: none;
    padding: 5px;
} */

/* Style nav element */
nav {
    display: inline-block;
    width: 80%;
}

/* Style only the image inside nav */
nav img {
    width: 10%;
}

/* Style grid class for two-column layout */
.grid {
    display: grid;
    grid-template-columns: 40% 40%;
    justify-content: center;
    align-items: center;
    row-gap: 20px;
}

/* Style only images inside the grid class */
.grid img {
    width: 100%;
}

/* Adjust grid layout further */
.grid {
    justify-content: space-evenly;
    align-items: center;
    row-gap: 15px;
}

/* Style flex class for flexible layout */
.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}