@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; */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Commun */

body {
    font-size: 18px;
}

h1,
h3,
h4 {
    font-family: 'Tangerine', cursive;
}

h2,
h5,
ul,
a,
p {
    font-family: 'Dosis', sans-serif;
    font-size: 1em;
}

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

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



/* volets titre */


h1 {
    font-size: 6em;
    font-weight: 400;
}

h1 span {
    font-size: 1em;
    color: var(--color-main);
}

h2 {
    font-size: 1.5em;
    font-weight: 400;
}

h2 span {
    font-size: 1em;
    text-decoration: underline;
    text-decoration-line: solid;
    text-decoration-color: var(--color-main);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

/* volet photo */

.volets {
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.volet-photo-id {
    width: 30vw;
    height: 400px;
    background: left repeat-x url(../images/kraft-500w.webp);
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-id {
    width: 22vw;
    max-width: 360px;
    height: 22vw;
    max-height: 360px;
    border: 15px solid white;
    border-radius: 50%;
}

/* volet Titre */

.volet-titre {
    width: 70vw;
    height: 400px;
    padding: 0 40px 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* volet contacts */

.volet-contact {
    width: 30vw;
    height: auto;
    background: repeat url(../images/kraft-500w.webp);
}

h3 {
    font-weight: 400;
    font-size: 3em;
    color: #FFF;
    text-align: center;
    padding: 1vh;
    background-color: var(--color-main);
    margin: 3vh 0 1vh 0;
}

.volet-center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.volet-center li {
    list-style-type: none;
    padding: .5vh 0;
}

.volet-center li a {
    display: flex;
    flex-direction: row;
    justify-content: left;
    margin-right: -2em;
}

.volet-center li a p {
    margin-left: -1.5em;
}

.icone, .loisirs li i {
    background-color: var(--color-main);
    color: #FFF;
    text-align: center;
    line-height: 2.2rem;
    padding: 7px;
    width: 2em;
    height: 2em;
    border-radius: 50%;
}

.nom {
    font-weight: 800;
    font-size: 1.2em;
}

/* -- Contact -- */

.volet-contact p {
    padding: 5px 2em;
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    color: var(--color-text);
}

.monoBlock {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.mono {
    width: 10vw;
    height: auto;
    padding: 2vh 0;
}

.softwareBlock {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 40px;
}

.software {
    font-family: 'Dosis', sans-serif;
}

/* volet contacts fin */

/* volet info */
.volet-info {
    display: flexbox;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: max-content;
    width: 70vw;
    height: auto;
    padding: 0 40px;
}

h4 {
    font-weight: 400;
    font-size: 3em;
    color: var(--color-text);
    text-align: left;
    padding: 3vh 0 1vh 40px;
    border-bottom: 1px solid var(--color-main);
    margin: 1vh 0;
}

.chapter {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 2em;
}

.chapter-date {
    width: 25%;
    min-width: 200px;
    text-align: end;
    padding-right: 2vw;
}

h5 {
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-bottom: .5em;
}

.society {
    margin-bottom: .5em;
}

.software li,
.chapter ul li {
    list-style-type: none;
    padding-left: 1em;
    text-indent: -1em;
}

.software li::before,
.chapter ul li::before {
    content: "\0025A0";
    color: var(--color-main);
    margin-right: .5em;
}

/* Footer */

footer {
    width: 100vw;
    height: 450px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}


/* Loisirs */

.footer-gauche {
    width: 30vw;
    height: auto;
    padding-bottom: 2vh;
    background: repeat url(../images/kraft_bkg.webp);

}

.loisirs {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loisirs li {
    font-size: 1.5rem;
    list-style-type: none;
    padding: .5vh 0;
}

/* citations */

.footer-droit {
    width: 70vw;
    height: 100%;
    padding-bottom: 3vh;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.captions {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.captions figure {
    width: 25%;
}

.captions figcaption {
    text-align: center;
    line-height: 1.5em;
    margin-bottom: 40px;
}

.captions cite {
    font-style: normal;
}

.auteur {
    font-family: 'Dosis', sans-serif;
    font-weight: 600;
    font-size: 1.3em;
    line-height: 2em;
}

.citation {
    font-family: 'Dosis', sans-serif;
    font-weight: 400;
    font-style: italic;
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    line-height: 1.2em;
    padding-bottom: .5em;
}

cite {
    font-family: 'Dosis', sans-serif;
    font-weight: 500;
}

@media (max-width: 1000px) {
    .volets {
        flex-direction: column;
        width: 100vw;
    }

    .volet-photo-id,
    .volet-contact {
        background: repeat url(../images/kraft-300w.webp);
    }

    .captions figure {
        width: 30%;
    }

    .photo-id {
        width: 35vw;
        min-width: 360px;
        height: 35vw;
        min-height: 360px;
    }

    h2 {
        text-align: center;
    }

    .volet-photo-id,
    .volet-titre,
    .volet-contact,
    .volet-info,
    .footer-gauche,
    .footer-droit {
        width: 100vw;
    }

    .chapter {
        flex-direction: column;
        justify-content: flex-start;
    }

    .chapter-date {
        text-align: start;
        width: 100%;
    }

    .chapter-date br {
        content: ' '
    }

    .chapter-date br:after {
        content: ' '
    }

    .captions {
        flex-direction: column;
    }

    .captions figure {
        width: 100%;
    }

    .citation {
        text-align: center;
    }
}

@media (max-width: 500px) {

    .volet-photo-id,
    .volet-contact {
        background: repeat url(../images/kraft-200w.webp);
    }
}