:root         { --dark-gray:  #767676; --medium-gray:  #B5B5B5; --light-gray : #F5F5F5; 
                --dark-color: #AE650B; --medium-color: #FAB856; --light-color: #FFF7EB;
                --dark-blue: #0048cc; --med-blue: #bdd6ff; --light-blue: #d8e4f9; }

@font-face {
 font-family: "PT Sans Narrow";
 src: url("../fonts/PTN57F.woff2") format("woff2");
}

@font-face {
 font-family: "Lavi";
 src: url("../fonts/Lavi.woff2") format("woff2");
}

@font-face {
 font-family: "PT Sans Narrow";
 src: url("../fonts/PTN77F.woff2") format("woff2");
 font-weight: bold;
}

@font-face {
 font-family: "Tovari Sans";
 src: url("../fonts/TovariSans.woff2") format("woff2");
}

@font-face {
 font-family: "UnPilgi";
 src: url("../fonts/UnPilgiBold.woff2") format("woff2");
}

html {
    scroll-behavior: smooth;
}


body {
    margin: 0px;
    font-family: sans-serif;
}

a {
    color: var(--dark-color);
    text-decoration: underline dotted;
    transition: 0.2s;
}

a:hover:not(.active) {
    color: var(--medium-color);
}

a img {
    transition: 0.2s;
}

a:hover img {
    filter: brightness(125%);
}

ul {
    list-style: square;
}

#mobile-header {
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    height: 50px;
    width: 100%;
    z-index: 2;
    background: linear-gradient(var(--med-blue),var(--light-blue));
    transition: top 0.2s;
    font-family: "Tovari Sans", sans-serif;
    font-weight: normal;
}

#mobile-header a {
    color: black;
    font-size: 25px;
    margin-left: 13px;
    margin-right: 13px;
    flex: 0 1 auto;
    text-align: center;
}

#mobile-header a:hover:not(.active) {
    color: var(--dark-blue);
}

#mobile-header .logo {
    font-size: 25px;
    flex: 1 0 auto;
    text-align: right;
    padding-top: 5px;
}

#mobile-header img {
    transition: 0.2s;
}

#mobile-header .catch-phrase {
    flex: 1 0 auto;
    font-family: "Tovari Sans", sans-serif;
    font-weight: normal;
    font-size: 30px;
    margin-left: 10px;
    text-align: left;
    padding-top: 0;
    margin-top: 25px;
}

.mobile-header-opened {
    top: -51px;
}

.mobile-header-closed {
    top: -51px;
}

#mobile-overlay {
    background: #000000;
    z-index: 2;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    transition: 0.2s;
}

.mobile-overlay-opened {
    opacity: 0;
    pointer-events: none;
}

.mobile-overlay-closed {
    opacity: 0;
    pointer-events: none;
}

.close-nav {
    display: none;
    font-size: 25px;
    margin-left: 13px;
}

aside {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 4;
    background: #FFFFFF;
    scrollbar-color: transparent transparent;
    scrollbar-width: thin;
}

aside:hover {
    scrollbar-color: auto;
}

.sidebar-opened {
    width: 276px;
}

.sidebar-closed {
    width: 276px;
}

aside header {
    width: 276px;
}

aside header img {
    margin: 10px auto;
    display: block;
    transition: 0.2s;
}

aside header .desktop-intro {
    font-family: "PT Sans Narrow", sans-serif;
    text-align: center;
    font-style: italic;
    font-size: 23px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0;
}

aside header .desktop-intro em {
    font-style: normal;
}

aside header .catch-phrase {
    font-family: "Tovari Sans", sans-serif;
    font-weight: normal;
    text-align: center;
    font-size: 35px;
    transform: rotate(-2deg);
    margin-top: 0;
    margin-bottom: 0;
}

aside .photo {
    width: 150px;
    height: 150px;
    border-radius: 80px;
    margin: 25px auto 10px auto;
    border: 5px solid black;
}



aside nav {
    width: 266px;
    padding-left: 10px;
}

aside nav h2 {
    font-family: "PT Sans Narrow", sans-serif;
    font-size: 27px;
    margin-bottom: 0;
    margin-top: 30px;
}

.menu ul {
    list-style: none;
    font-family: "Tovari Sans", sans-serif;
    font-weight: normal;
    font-size: 30px;
    padding-left: 9px;
    margin-bottom: 0;
    margin-top: 0;
}

.menu ul a {
    display: flex;
    align-items: baseline;
    height: 40px;
    margin-top: 9px;
    margin-bottom: 9px;
    flex-direction: columns;
    transition: 0.2s;
}

.menu ul a {
    text-decoration: none;
    color: var(--dark-gray);
}

.menu ul a:hover:not(.active) {
    color: var(--dark-color);
}

.nav-square {
    background-color: #FFFFFF;
    border-radius: 9px;
    font-size: 22px;
    width: 40px;
    height: 40px;
    text-align: center;
    margin-right: 9px;
    transition: 0.2s;
}

.article-nav .nav-square {
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    margin-right: auto;
    margin-left: auto;
}

a:hover:not(.active) .nav-square {
    background-color: var(--medium-color);
}

.nav-square i {
    margin-top: 9px;
}


.menu ul a.page-selected  {
    color: black;
}

.page-selected .nav-square {
    background-color: var(--medium-gray);
    color: black;
}

.nav-and-lang {
    display: flex;
}

.nav-and-lang h2 {
    flex: 1 0 fit-content;
}

.nav-and-lang a {
    margin-top: 25px;
    flex: 0 1 fit-content;
}

.nav-and-lang i::after {
    display: inline-block;
    margin-left: 10px;
    margin-top: 10px;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.external {
    font-size: 15px;
    margin-left: 10px;
}

a.lang-closed {
    color: var(--dark-gray);
}

a.lang-opened {
    color: var(--dark-color);
}

.nav-and-lang a:hover:not(.active) {
    color: var(--dark-color);
}

.nav-and-lang .nav-square {
    width: 70px;
    font-size: 25px;
}

.lang-opened .nav-square {
    width: 70px;
    font-size: 25px;
    background-color: var(--medium-color);
}


#language-selection {
    position: absolute;
    right: 0;
    transform: translate3d(0px, 65px, 0px);
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 0px;
}

.language-selection-closed {
    opacity: 0;
    pointer-events: none;
}

.language-selection-opened {
    opacity: 1;
    pointer-events: auto;
}

#language-selection ul a {
    height: auto;
}

.mobile-margin {
    background: linear-gradient(var(--med-blue),var(--light-blue));
    height: 50px;
    display: none;
}

#banner {
    background-image: url(../img/fond_header_v3.png);
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 30px 0px 30px;
    margin-left: 286px;
    margin-bottom: 20px;
    justify-content: space-evenly;
    align-content: center;
    position: relative;
}

#banner a {
    color: #000000;
    text-decoration: none;
}

#banner a:hover:not(.active) {
    color: var(--dark-color);
}

#personnage {
    flex: 0 0 24%;
    align-items: flex-end;
    display: flex;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#personnage img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#banner a {
    flex: 0 0 24%;
    padding-bottom: 20px;
}

.diapo {
    background-color: #FFFFFF;
    border: 1px solid #AAAAAA;
    padding: 15px 15px 15px 15px;
    margin: 5px 5px 5px 5px;
    border-radius: 5px;
}

.diapo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.diapo h2 {
    margin-top: 10px;
    margin-bottom: 0px;
    font-family: "Tovari Sans", sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1;
    font-size: 2rem;
}

#diapo-gb {
    transform: rotate(2deg);
    transition: transform 0.25s;
}

#diapo-gb:hover:not(.active) {
    transform: rotate(0deg);
    transition: transform 0.25s;
}

#diapo-editions {
    transform: rotate(-3deg);
    transition: transform 0.25s;
}

#diapo-editions:hover:not(.active) {
    transform: rotate(0deg);
    transition: transform 0.25s;
}

#diapo-studios {
    transform: rotate(5deg);
    transition: transform 0.25s;
}

#diapo-studios:hover:not(.active) {
    transform: rotate(0deg);
    transition: transform 0.25s;
}

#banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to top, white, transparent);
}

.content {
    display: block;
    margin: auto;
    padding-top: 10px;
    padding-left: 286px;
    padding-right: 10px;
    max-width: 1514px;
    transition: 0.2s;
}

.alignleft {
    float: left;
}


.columns {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.column {
    margin-bottom: auto;
    width: 752px;
}

.block {
    border: 1px solid #BFBFBF;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 1.12rem;
    line-height: 1.5;
}

.block h1 {
    font-family: "Tovari Sans", sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1;
    font-size: 2.5em !important;
    text-align: center;
    border-bottom: 3px solid var(--medium-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.block h2 {
    font-family: "Tovari Sans", sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1;
    font-size: 1.67rem;
    margin-top: 2rem;
    margin-bottom: 0.7rem;
}

.block h3 {
    font-family: "Tovari Sans", sans-serif;
    font-weight: normal;
    line-height: 1;
    font-size: 1.6rem;
}

.block blockquote {
    font-style: italic;
}
.block blockquote em {
    font-style: normal;
}

#portfolio {
    color: white;
    background-color: #2a2925;
    background-image: url(../img/fond_portfolio.jpg);
    background-position: center;
}

#portfolio h1 {
    border-bottom: 3px solid white;
}

.portfolio {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.portfolio-item {
    flex: 1 0 30%;
    background-color: #FFFFFF;
    padding: 10px;
    border-radius: 10px;
    height: fit-content;
}

.portfolio-item:hover:not(.active) { background-color: #F9F9F9; }
.portfolio-item img { width: 100%; }
.portfolio-item video { width: 100%; }

.portfolio-item p {
    color: black;
    text-align: center;
    font-style: italic;
}

.mail {
    text-align: center;
    font-family: system-ui;
    font-weight: bold;
    background-color: #F5F5F5;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border-radius: 25px;
}

#rencontres {
    background-image: url(../img/fond_rencontres_light.jpg);
    background-position: right;
    background-size: cover;
}

#contact {
    background-color: #F0F0F0;
}

.contact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.contact-item {
    flex: 0 0 30%;
    background-color: #FFFFFF;
    padding: 10px;
    border-radius: 10px;
    height: fit-content;
}

.contact-item h2 {
    margin-top: 0;
    padding: 15px 15px 0px 15px;
    text-align: center;
    font-size: 2rem;
}
.contact-item h2:hover:not(.active) { color: var(--dark-color); }
.contact-item i {
    float: left;
    font-size: 40px;
    padding-right: 5px;
}
.contact-item.is-collapsed p { display: none; }
.contact-item.is-expanded p { display: block; }
.contact-item.is-collapsed .mail { display: none; }
.contact-item.is-expanded .mail { display: block; }

.collapse-switch { cursor: pointer; }

#soutien {
    color: white;
    background-color: #2a2925;
    background-image: url(../img/fond_portfolio.jpg);
    background-position: center;
}

#soutien h1 {
    border-bottom: 3px solid white;
}

#soutien a {
    color: var(--light-color);
}

#soutien a:hover:not(.active) {
    color: var(--medium-color);
}


#soutien table {
    width: 100%;
}

#soutien th, td {
  text-align: center;
  border: 1px solid #DBDBDB;
  padding: 8px;
}

.bien {
    font-weight: bold;
    color: #7BC936;
}
    
.moyen {
    font-weight: bold;
    color: #DCAF09;
}
    
    
.mauvais {
    font-weight: bold;
    color: #F9A294;
}


.block p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.block .datepubli {
    font-size: 0.9rem;
    color: #595959;
    text-align: right;
    font-style: italic;
    margin-bottom: 1rem;
}

.block .datepubli .gee {
    text-transform: uppercase;
}

.block .datepubli i {
    font-size: 20px;
    color: var(--dark-color);
}

.block img {
    display: block;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.block .img-caption {
    display: block;
    padding-top: 0px;
    margin-top: -20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    text-align: center;
    font-style: italic;
}

.block .several-images {
    text-align: center;
}

.block .several-images img {
    display: inline-block;
}

.block .paypal {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.block video {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    max-width: 100%;
}

.block audio {
    display: block;
    width: 100%;
}

.block iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.block hr {
    clear: both;
    border: 1px solid var(--medium-color);
    width: 67%;
}

.block .footnote ol {
    font-size: 0.9rem;
    padding-right: 2rem;
}

.block .clear {
    clear: both;
}

.block .warning {
    border: 3px solid #732a1f;
    border-radius: 10px;
    background: #fff2ea;
    color: #732a1f;
    margin: 25px;
    padding: 5px;
}

.block .legend {
    font-size: 11px;
    text-align: center;
    font-style: italic;
}

pre {
    padding-top: 0;
    margin-top: 0;
}

.block::after {
    content: "";
    clear: both;
    display: table
}

.donate-button {
    --dark-color: #E72508;
    --medium-color: #FC8B70;
    --light-color: #FFEFEB;
    margin-top: 30px;
}


.button {
    border: transparent;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 1.12rem;
    line-height: 1.5;
    text-transform: uppercase;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-size: 25px;
    font-family: "Tovari Sans", sans-serif;
    font-weight: normal;
    background-color: var(--dark-color);
    transition: 0.2s;
    padding: 5px 15px;
}

.button a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
}

.button a i {
    font-size: 35px;
    padding-bottom: 2px;
}

.button:hover:not(.active) {
    background-color: var(--medium-color);
}

.button:hover:not(.active) a {
    color: white !important;
}

.button span {
    margin-top: 5px;
}

.img-left {
    display: flex;
    width: 100%;
    gap: 5px;
    align-items: center;
}


#soutien img {
    padding-left: 0;
    padding-right: 0;
}

#notification {
    opacity: 0;
    text-align: center;
    font-family: "PT Sans Narrow", sans-serif;
    font-size: 1.75rem;
    pointer-events: none;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    max-height: calc(100% - 150px);
    max-width: calc(100% - 60px);
    transform: translate(-50%, -50%);
    background-color: #444444;
    color: #FFFFFF;
    border: 0px;
}

#general-footer {
    font-size: 0.9rem;
    color: #555555;
    text-align: center;
    font-style: italic;
    margin-top: 50px;
    margin-bottom: 30px;
    border-top: 1px solid #BFBFBF;
}

#general-footer img {
    max-width: 120px;
}

.mobile-popup {
    border: 1px solid #BFBFBF;
    border-radius: 15px;
    background-color: #FFFFFF;
    z-index: 3;
    padding-right: 20px;
    transition: 0.2s;
}

#mobile-follow {
    position: fixed;
    bottom: 70px;
    left: 10px;
    max-height: calc(100% - 80px);
    overflow-y: auto;
    scrollbar-color: transparent transparent;
    scrollbar-width: thin;
}

#mobile-follow ul {
    margin-bottom: 0;
}

.mobile-follow-closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-follow-opened {
    opacity: 0;
    pointer-events: none;
}


#mobile-footer {
    border-top: 1px solid #BFBFBF;
    position: fixed;
    bottom: -60px;
    left: 0;
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background-color: #FFFFFF;
    transition: bottom 0.2s;
    align-items: center;
    z-index: 3;
}

.mobile-footer-item {
    flex: 1 1 0%;
    text-align: center;
    font-family: "PT Sans Narrow";
    font-size: 20px;
}

.mobile-footer-item a {
    text-decoration: none;
}

.mobile-footer-item i {
    display: block;
    font-size: 25px;
}

.mobile-footer-item span {
    display: block;
    margin-top: -5px;
    font-weight: bold;
}

/* Medium-screen */
@media screen and (max-width: 1542px) {
    .mobile-header-opened {
        top: 0px;
    }

    .mobile-header-closed {
        top: -51px;
    }

    aside .close-nav {
        display: inline-block;
        float: left;
    }

    aside header img {
        margin-left: 50px;
        display: block;
    }
    
    aside header .desktop-intro {
        display: none;
    }

    .desktop-logo img {
        display: none;
    }
    
    aside {
        width: 0px;
        transition: 0.2s;
    }
    
    .mobile-margin {
        display: block;
    }
    
    #banner {
        margin-left: 0;
    }

    .content {
        padding-left: 10px;
    }

    .sidebar-opened {
        width: 276px;
    }

    .sidebar-closed {
        width: 0px;
    }

    .mobile-follow-closed {
        opacity: 0;
        pointer-events: none;
    }

    .mobile-follow-opened {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-overlay-opened {
        opacity: 0.33;
        pointer-events: auto;
    }
    
    .mobile-overlay-closed {
        opacity: 0;
        pointer-events: none;
    }
}

/* Small screens */
@media screen and (max-width: 1275px) {

    .diapos a {
        flex: 1 0 25%;
    }

    #personnage img {
        max-width: 220px;
    }

    .share-button {
        display: none;
    }
    
    .columns {
        display: block;
        margin: auto;
    }

    .column {
        position: relative;
        top: auto;
        width: 100%;
    }

    #mobile-footer {
        bottom: 0px;
    }
 
    #general-footer {
        margin-bottom: 90px;
    }
}

/* Very small screens */
@media screen and (max-width: 900px) {

    #banner {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    #personnage img {
        max-width: 150px;
    }

    .content {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    .column {
        width: 100%;
    }
    
    .contact-item {
        flex: 1 0 40%;
    }
    
    .block {
        border: 0;
        border-radius: 0;
        border-bottom: 2px solid #BFBFBF;
    }
}


/* Smartphone screens */
@media screen and (max-width: 600px) {

    #banner a {
        flex: 0 0 48%;
    }
    #personnage {
        flex: 0 0 48%;
    }
    #personnage img {
        max-width: 180px;
    }

    #mobile-header .logo { text-align: center; }
    #mobile-header .catch-phrase { display: none; }
    
    .portfolio-item {
        flex: 1 0 80%;
    }
    
    .contact-item {
        flex: 1 0 80%;
    }
    
    .block {
        padding-left: 5px;
        padding-right: 5px;
    }
}
