/* General */
html {
    /* for anchors in gallerie pages */
    scroll-behavior: smooth;
}

body {
    background-color: white;
    color: black;
    font-family: "Open Sans", sans-serif;
    margin: 0;
}

ul {
    padding: 0;
}

li {
    /* no bullet point */
    list-style-type: none;
}

a {
    text-decoration: none;
    color: black;
}

h2,
h3 {
    text-align: center;
}

a:hover {
    text-decoration: underline;
}

/* for sections with distinct color in background */
.with-background {
    background-color: rgb(241, 239, 231);
}

img {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.logo {
    box-shadow: none;
}

/* Picture with legend */
.illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em 0 1em 0;
    font-style: italic;
    font-size: 0.9em;
}

/* Sizing for all pictures in presentation pages */
.big-picture {
    max-width: 100%;
    max-height: 700px;
}

.medium-picture {
    max-width: 100%;
    max-height: 400px;
}

.margin-option {
    margin: 1em 0;
}


/* header */

nav {
    padding: 0 0.4em;
}

nav a {
    padding: 0 0.4em 0 0;
}

h1 {
    font-size: 1.6em;
    font-weight: 400;
    margin: 0.5em 0;
    font-family: "Roboto Flex", sans-serif;
}

h1 a:hover {
    text-decoration: none;
}

nav div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    max-width: 2em;
    box-shadow: none;
}

#small-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0.5em;
    overflow: hidden;
}

#small-menu.hidden {
    /* toogle in Javascript */
    height: 0;
    padding-bottom: 0;
}

#small-menu a {
    padding: 0 0 0.2em 0;
    display: block;
}

.large-menu-item {
    display: none;
}

@media screen and (min-width: 1024px) {
    .large-menu-item {
        display: inline-block;
        padding: 0 1.3em 0 0;
    }

    #burger-icon {
        display: none;
    }

    #small-menu {
        display: none;
    }

    h1 {
        font-size: 2.5em;
        margin: 0.3em 0;
    }

    nav a img {
        display: flex;
    }
}

/* footer */

footer {
    margin: 2em 10% 1em 10%;
}

footer div,
footer p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer img {
    max-width: 25px;
    box-shadow: none;
}

footer a {
    text-align: center;
    font-size: 0.8em;
    padding: 0.1em 0.3em 0.1em 0.3em;
}

footer p {
    text-align: center;
}

@media screen and (min-width: 1024px) {
    footer {
        margin: 2em 35% 1em 35%;
    }
}

/* Legal mentions */

#legal_mentions {
    padding: 1em;
}

#legal_mentions div {
    text-align: center;
}

#legal_mentions p {
    text-align: justify;
}

@media screen and (min-width: 1024px) {
    #legal_mentions {
        padding: 0 30%;
    }
}

/* Call to action button */
.cta {
    display: inline-block;
    border-radius: 40px;
    font-weight: bold;
    padding: 1em 1.2em;
    margin: 1em;
    border: solid;
    border-width: 2px;
    background-color: white;
}

.cta:hover {
    text-decoration: none;
    background-color: rgb(239, 240, 239);
}

.plus {
    display: flex;
    justify-content: center;
    margin: 1em;
}

.plus .cta {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 1.2em;
}

/* General flex banner with 1 text area and 1 image */
.flex-banner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap-reverse;
    padding: 1.5em 5%;
    text-align: center;
}

.flex-banner div {
    text-align: center;
    max-width: 100%;
}

@media screen and (min-width: 1024px) {
    .flex-banner div {
        max-width: 45%;
    }
}

/* General section with 1 image and 1 text area, centered */
.centered-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
}

@media screen and (min-width: 1024px) {
    .centered-section {
        padding: 2em 20%;
    }

}

.centered-section p {
    text-align: center;
}


/* Quote styling for page "about" */
.quote {
    font-style: italic;
    font-size: 1.2em;
}

.quote-author {
    font-size: 1.1em;
}

/* Distinctions list styling */

.distinction {
    font-weight: bold;
}

.distinction-location {
    font-style: italic;
    margin-bottom: 0.4em;
}

.distinction-year {
    display: flex;
    flex-direction: column;
}

.distinction-year div {
    text-align: center;
}

@media screen and (min-width: 1024px) {
    .distinction-year {
        flex-direction: row;
        align-items: start;
        margin: 1em;
    }

    .distinction,
    .distinction-location {
        display: inline;
    }

    .distinction {
        margin-right: 0.5em;
    }

    .distinction-year h3 {
        margin: 0 2em 0 0;
    }
}


/* Exhibitions grid */
.exhibitions-list {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
}

.exhibition {
    margin: 1em 2em;
}

@media screen and (min-width: 1024px) {
    .exhibition {
        max-width: 250px;
    }
}

.exhibition div {
    text-align: center;
}

.exhibition img {
    max-width: 100%;
}

.exhibition-dates,
.exhibition-location {
    font-weight: bold;
    text-align: center;
}

.next-exhibitions-section {
    padding: 1em;
}


/* Art menu - anchors for sub-menu items in pages "oeuvres" */

.art-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.art-menu a {
    text-align: center;
    padding: 0.1em 0.5em;
}

@media screen and (min-width: 1024px) {
    .art-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Gallery */

.gallery-section {
    padding: 1em 0;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    padding: 1em 0;
}

.artwork {
    padding: 1em;
}

.small-artwork {
    max-width: 150px;
}

.medium-artwork {
    max-width: 100%;
}

.large-artwork {
    max-width: 100%;
}

@media screen and (min-width: 1024px) {
    .small-artwork {
        max-width: 200px;
    }

    .medium-artwork {
        max-width: 400px;
    }

    .large-artwork {
        max-width: 800px;
    }
}

.artwork img {
    max-width: 100%;
}

.art-metadata {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 1em 0 1em;
}