@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');
/* font-family: 'Tangerine', cursive; */
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;400;500;600;700;800');
/* font-family: 'Dosis', sans-serif; */

:root {
    --color-main: rgb(200, 20, 0);
    --color-text: rgb(0, 0, 20);
    --color-nav1: rgb(222, 184, 135);
    --color-nav2: rgb(184, 134, 11);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
}

h1,
h2,
h3 {
    font-family: 'Tangerine', cursive;
    font-weight: 700;
    color: var(--color-text);
}

.chapeau {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 auto;
    width: 100vw;
    height: auto;
}

a {
    color: var(--color-main);
    text-decoration: none;
}

a:hover {
    color: var(--color-text);
}

h1 {
    font-size: 4em;
    text-align: center;
    padding-top: 80px;
    margin-bottom: 2vw;
}

.chapeau p {
    width: 50vw;
    height: auto;
    font-family: 'Dosis', sans-serif;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 2vw;
}

/* -- Pages --*/

h2 {
    font-size: 3em;
    margin: 4vw 0 2vh 4vw;
    text-decoration-style: solid;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    text-decoration-color: var(--color-main);
}

.galerie {
    width: 100vw;
    padding: 0 2vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.portfolio,
.retouche,
.illustration,
.web {
    min-width: calc(200px+4em);
    width: calc(34vw+4em);
    max-width: calc(600px+4em);
    aspect-ratio: 1.42;
    margin: 2vh 2vw;
    -webkit-box-shadow: 10px 9px 21px 1px rgba(0, 0, 0, 0.38);
    box-shadow: 10px 9px 21px 1px rgba(0, 0, 0, 0.38);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.illustration img,
.webp,
.svg {
    min-width: 200px;
    width: 30vw;
    max-width: 600px;
    margin: 2em;
}

.portfolio a {
    font-family: 'Tangerine', cursive;
    font-size: 2em;
    color: var(--color-text);
    margin-bottom: 4px;
    text-decoration: none;
    text-align: center;
}