h1 {
    text-align: center;
}

.gallery-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.gallery-single, 
.gallery-pair {
    flex: 0 1 auto;
    margin: 0;
    display: flex;
    justify-content: center;
}

.gallery-single img {
    display: block;
    max-width: 100%;
    height: auto;
}

.gallery-pair {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.gallery-pair figure {
    margin: 0;
    padding: 0;
}

.gallery-pair img {
    display: block;
    max-width: 100%;
    height: auto;
}

.gallery-nav {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
