/* CSS */

:root {
    --main-color:#f65058;
    --second-color:#F79B9F;
}

[lang="en"]{
    display:none;
}

@media screen and (max-width: 640px) {
    * {
        font-size: 16px;
    }

    section h1, section h1 span {
        font-size: 1rem;
    }

    footer li, footer li a {
        font-size: 1rem;
    }

    body {
        padding: 0 0.8rem;
    }

    
}

@media screen and (min-width: 640px) {
    * {
        font-size: 22px;
    }

    section h1, section h1 span {
        font-size: 1.35rem;
    }

    footer li, footer li a {
        font-size: 0.7rem;
    }

    body {
        padding: 0 2rem;
    }
    .figcaption{ font-size: 16px; }
}

* {
    font-family: 'work-avec';
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-smooth: never;
    -moz-font-smooth: never;
}



body {
    max-width: 40rem;
    margin: 0 auto;
    padding-bottom: 5rem;
}


a, 
a:visited{
    color: currentColor;
    text-decoration-color: var(--main-color);
    text-decoration-skip-ink: auto;

}

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


header{
    padding-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

header a, header a:visited{
    text-decoration: none;
    color: currentColor;
}

header p{
    cursor: pointer;
}

header p:hover {
    opacity: 0.5;
}

header a:hover{
    color: var(--second-color)
}

section h1 {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px var(--main-color) solid;
    margin-bottom: 1rem;
    color: var(--main-color);
    font-weight: normal;
    padding-top:1rem;
}


section h1 a {
    font-weight: bold;
    text-decoration: none;
}

section h1 a:hover {
    color: var(--second-color)
}

section h1 span {
    color: currentColor;
    text-decoration: none;
    padding-right: 0.5rem;
}

header h1, header h1 small, header p {
    font-size: 1rem;
    font-weight: normal;
}


section p, section ul {
    margin-bottom: 1rem;
}

 



ul {
    list-style-position: inside;
    list-style-type: none;
}

ul + figure {
    margin-top: 2rem;
}

section ul li::before {
    content: "⟡";
    padding-right: 1rem;
    font-weight: bold;
}

figure {
    width: 100%;
    margin: 1rem 0;
}

figure img {
    width: 100%;
}

.portrait {
    width: 70%;
    margin-left: 15%;
}

.img-border{
    border : 1px solid black;
}



/* footer */

footer {
    margin-top: 3rem;
    
}

footer::before {
    content: "———";
    display: block;
    font-size: 0.7rem;
    margin-bottom: 0.7rem;

}

footer ul {
    margin-bottom: 0.7rem;
}
footer li, footer li a {
    font-size: 0.7rem;
}

footer a, 
footer a:visited{
    color: currentColor;
    text-decoration-color: var(--main-color);
    text-decoration-skip-ink: auto;

}

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

nav{
    margin-top: 64px;
}