:root {
    --bg: #faf7f0;
    --fg: #4a4947;
    --accent: #b17457;
    --darken: #d8d2c2;
}

body,
html {
    margin: 0 auto;
    padding: 0 0.5rem;
    font-family: system-ui;
    background: var(--bg);
    color: var(--fg);

    max-width: 800px;
}

a {
    color: inherit;
    text-decoration-style: dotted;
}

header {
    margin-bottom: 1rem;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px dotted var(--accent);
}

header > h1 {
    margin: 0.5rem;
}

footer {
    margin-top: 1rem;
    text-align: center;
    padding: 1rem 0;
    color: var(--fg);
    border-top: 1px dotted var(--accent);
}

#gallery {
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

#gallery * {
    aspect-ratio: 1/1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#detail img {
    width: calc(100% - 6rem);
    margin: 0;
    padding: 3rem;
    background: white;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

#details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

@media screen and (max-width: 600px) {
    #details {
        grid-template-columns: repeat(1, 1fr);
    }
}

#map {
    border: none;
    width: 100%;
    height: 30vh;
    margin: 1rem 0;
}
