section.galerie {
    .flex-container {
        @media only screen and (max-width: 500px) {
            flex-direction: column;

            p {
                font-size: 14px !important;
            }

            div {
                width: 100% !important;
            }
        }

        max-width: 1200px;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
        align-items: center;

        div {
            width: 50%;
            padding: 10px;
            min-width: 200px;
        }

        div.wide {
            width: 100%;
            padding: 10px 0;

            div {
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                padding: 0;

                img {
                    width: calc(50% - 20px);
                    margin: 0 10px;
                    border-radius: 10px;
                    height: auto;
                    min-width: 0;
                }
            }
        }

        p {
            margin-top: 5px;
            margin-bottom: 12px;
            text-wrap: balance;
        }

        img {
            min-width: 200px;
            border-radius: 10px;
        }
    }
}