body {
    font-family: Arial, sans-serif;
    margin: 2em;
    background-color: #f8f6f2;
}

.nav {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 2em;
    justify-content: center;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

h1 {
    margin-top: 1.5em;
    font-size: 4vw;
    text-align: center;
}

.gallery {
    margin-top: 2em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5em;
}

.gallery figure {
    margin: 0;
    padding: 1em;
    background-color: white;
    border-radius: 12px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.gallery figcaption {
    margin-top: 0.6em;
    font-size: 0.9em;
    color: #555;
    letter-spacing: 1px;
    text-transform: lowercase;
}