/* début reset css  */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* fin reset css */

/* début général */

html {
    scroll-behavior: smooth;
    min-height: 100vh;
}

body {
    margin: 0px;
    font-family: "Rubik", sans-serif;
    line-height: 188%;
    color: #3c2a4d;
}

.creme {
    background-color: #C9BECD;
}

::selection {
    color: #C9BECD;
    background: #3c2a4d;
}

* {
    box-sizing: border-box;
}

a {
    color: #3c2a4d;
    text-decoration: none;
}

u {
    text-decoration: none;
    padding: 2px 4px;
    background-color: #C9BECD;
}

p {
    color: #3c2a4d;
}

p a {
    text-decoration: none;
    border-bottom: 1px solid #c9becda8;
}

img {
    width: 100%;
    height: auto;
}

@font-face {
    font-family: "Manif";
    src: url("../asset/MANIF.woff2") format("woff2");
}

@font-face {
    font-family: "Rubik";
    src: url("../asset/Rubik-Regular.ttf") format("truetype");
}

h1 {
    font-family: "Manif", serif;
    font-size: 56px;
    margin: 42px 0px;
    line-height: 120%;
}

h2 {
    font-family: "Manif", serif;
    font-size: 35px;
    margin: 25px 0px;
    line-height: 120%;
}

h3 {
    font-family: "Manif", serif;
    font-size: 30px;
    margin: 25px 0px 8px 0px;
}

h4 {
    font-family: "Manif", serif;
    font-size: x-large;
    margin: 20px 0px;
}

h5 {
    font-family: "Manif", serif;
    margin: 20px 0px;
}

.margium {
    max-width: 1200px;
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0px 15px;
}

.margium-xs {
    max-width: 600px;
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0px 15px;
}

.margium-l {
    max-width: 1400px;
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0px 15px;
}

.margium-xl {
    max-width: 2000px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.double, .doubleinv {
    display: flex;
    flex-direction: row;
    padding: 46px 0px;
}

.d1, .d2 {
    flex: 1;
    padding: 25px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.c {
    text-align: center;
}

.vide {
    height: 50px;
}

/* fin général */

.nouveau-menu {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    padding: 15px;
    font-family: "Manif";
    font-size: xx-large;
    align-items: center;
    transition: 0.3s;
}

.nouveau-menu:hover {
    transform: scale(1.1);
}

.nouveau-menu img {
    width: 45px;
    margin-right: 12px;
}

a.principal {
    background-color: #3c2a4d;
    color: white;
}

#le-musee .langues a {
    border-bottom: 2px #3c2a4d solid;
    transition: 0.1s;
    margin-right: 10px;
    padding: 5px 8px;
    display: inline-block;
}

#le-musee {
    min-height: 100vh;
}

#le-musee {
    min-height: 100vh;
}

.menu-centre {
    max-width: 630px;
    display: block;
    margin: 0 auto;
}

.fadeInUp {
    transform: translateY(50px);
}
/*
.animated {
    opacity: 0;
    visibility: hidden;
    transition: 800ms cubic-bezier(.23, 1, .32, 1);
}
*/
.inview {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
}

img.ne {
    margin-bottom: -50px;
    padding-top: 32px;
    margin: auto;
    width: 100%;
    max-width: 800px;
    margin: 15px auto;
    display: block;
}

#le-musee h1 {
    margin: 10px 0px;
}

#le-musee a img {
    max-height: 30px;
    max-width: 50px;
    padding-left: 5px;
    transition: margin ease 0.3s;
}

#le-musee a {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 8px 8px 8px 0px;
}

#le-musee a:hover img {
    margin-left: 12px;
}

#introduction {
    min-height: 100vh;
    padding: 30px 0px;
}

#menu-tap {
    background-color: #3c2a4d;
    color: #C9BECD;
    padding: 12px 25px;
    text-align: center;
}

#acc-navigation {
    background-color: #3c2a4d;
    color: #C9BECD;
}

.retrait {
    padding-left: 25px;
}

.retrait a {
    display: block;
    padding: 15px 25px !important;
    font-size: 21px !important;
}

.ici::before {
    content: '';
    background: url('../d/ici.svg');
    /*url of image*/
    background-size: cover;
    background-repeat: no-repeat;
    height: 33px;
    /*height of image*/
    width: 33px;
    /*width of image*/
    position: absolute;
    margin-left: -40px;
}

a.ici {
    color: white !important;
    padding-left: 40px !important;
}

#acc-navigation .double {
    padding: 0px;
}

#acc-navigation a, #acc-navigation span {
    font-family: "Manif", serif;
    font-size: 30px;
    margin: 25px 0px;
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    line-height: 120%;
    transition: scale, 0.3s ease;
    cursor: pointer;
    color: #C9BECD;
}

#acc-navigation p {
    font-family: "Rubik", sans-serif;
    margin-top: 12px;
    font-size: medium;
    line-height: 150%;
    color: #C9BECD;
}

#acc-navigation a:hover, #acc-navigation span:hover {
    transform: scale(1.05);
}

#acc-navigation img {
    max-width: 62px;
    margin: 0px 20px;
}

#nav {
    height: 100vh;
    width: 100%;
    background-color: #3c2a4d;
    color: #C9BECD;
    position: fixed;
    top: -100vh;
    transition: 0.3s;
    overflow: auto;
    z-index: 3000;
}

#nav p {
    color: #C9BECD;
    opacity: 1;
}

#nav a {
    color: #C9BECD;
    opacity: 0.78;
}

#nav .double a {
    color: #C9BECD;
    font-family: "Manif", serif;
    font-size: 24px;
    padding: 25px;
    cursor: pointer;
    cursor: url("../asset/cursor.png") 4 12, auto;
    border-bottom: 1px solid #c9becda8;
}

#nav.ouvert {
    height: 100vh;
    background-color: #3c2a4d;
    color: #C9BECD;
    position: fixed;
    top: 0;
    transition: 0.3s;
}

.fermervolet {
    position: fixed;
    display: none;
    top: 25px;
    right: 25px;
    max-width: 60px;
    cursor: pointer;
    transition: transform, 0.3s ease;
}

.fermervolet:hover {
    transform: scale(1.2);
}

.fermer {
    position: absolute;
    top: 25px;
    right: 25px;
    max-width: 60px;
    cursor: pointer;
    transition: transform, 0.3s ease;
}

.credit a {
    text-decoration: none;
    border-bottom: 2px solid #C9BECD;
}

.fermer:hover {
    transform: scale(1.2);
}

img.menu-logo {
    max-width: 200px;
    margin: 30px 0px 0px 0px;
    display: block;
}

.m-c {
    margin: 0px auto 0px auto;
    display: block;
    width: 200px;
}

#nav .double {
    padding: 38px 15px;
}

#nav .double .d1, #nav .double .d2 {
    justify-content: unset;
}

/* Maison tournais */

#menu img {
    max-width: 60px;
    margin-right: 10px;
}

#menu div {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: x-large;
    cursor: pointer;
    padding: 8px;
}

#maison .split {
    display: flex;
    flex-direction: row;
}

#maison .galerie {
    flex: 2;
    padding: 25px;
    background-color: white;
}

#maison .double .d1, #maison .double .d2 {
    justify-content: unset;
}

#joie .double .d1, #joie .double .d2 {
    justify-content: unset;
}

.galerie {
    color: #C9BECD;
    font-size: large;
    padding: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 16px 16px;
    grid-template-areas: ". . p1 p1 . ." "p2 p2 p1 p1 p3 p3" "p2 p2 p4 p4 p3 p3" "p5 p5 p4 p4 p6 p6" "p5 p5 p7 p7 p6 p6" "p8 p8 p7 p7 p9 p9" "p8 p8 p10 p10 p9 p9" ". . p10 p10 p11 p11" ". . . . p11 p11";
}

@media (max-width: 1100px) {
    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 16px 16px;
        grid-template-areas: "p1 p1 . ." "p1 p1 p2 p2" "p3 p3 p2 p2" "p3 p3 p4 p4" "p5 p5 p4 p4" "p5 p5 p6 p6" "p7 p7 p6 p6" "p7 p7 p8 p8" "p9 p9 p8 p8" "p9 p9 p10 p10" "p11 p11 p10 p10" "p11 p11 . .";
    }
}

@media (max-width: 800px) {
    .grid-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 16px 16px;
        grid-template-areas: "p1" "p2" "p3" "p4" "p5" "p6" "p7" "p8" "p9" "p10" "p11";
    }
}

.grid-container div {
    position: relative;
    min-height: 428px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: unset;
    align-items: flex-end;
    background-size: cover;
    width: 100%;
    cursor: pointer;
    cursor: url("../asset/cursor-maison.png") 4 12, auto;
    background-position: center;
}

#p1 {
    grid-area: p1;
    background-image: url("../d/Un-metier-textile2.jpg");
}

#p2 {
    grid-area: p2;
    background-image: url("../d/Vitrine-des-veuves-Casterman.jpg");
}

#p3 {
    grid-area: p3;
    background-image: url("../d/Liste-de-votants-MDT.jpg");
}

#p4 {
    grid-area: p4;
    background-image: url("../d/Seq-1Sta-4.jpg");
}

#p5 {
    grid-area: p5;
    background-image: url("../d/Mannequin-de-la-Beguine.jpg");
}

#p6 {
    grid-area: p6;
    background-image: url("../d/Mannequin-entretient-cuivre.jpg");
}

#p7 {
    grid-area: p7;
    background-image: url("../d/Espace-Age-de-La-vie.jpg");
}

#p8 {
    grid-area: p8;
    background-image: url("../d/Certificat-Famille-nombreuses.jpg");
}

#p9 {
    grid-area: p9;
    background-image: url("../d/Tour-des-enfants.jpg");
}

#p10 {
    grid-area: p10;
    background-image: url("../d/Portrait-Helene-dutrieu.jpg");
}

#p11 {
    grid-area: p11;
    background-image: url("../d/cabaret.jpg");
}

#volet-info {
    height: 100vh;
    width: 40vw;
    padding: 50px 25px;
    background-color: #C9BECD;
    color: #3c2a4d;
    position: fixed;
    right: -100vw;
    top: 0;
    transition: 0.3s;
    overflow: auto;
    z-index: 1000;
}

.creme p a {
    text-decoration: none;
    border-bottom: 3px solid #f0e5f5;
}

.over {
    background-color: rgba(25, 25, 25, 0.435);
    padding: 19px;
    color: white;
    position: absolute;
    display: flex;
    flex-direction: unset;
    align-items: flex-end;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.over h3 {
    margin-bottom: 0px;
    line-height: 150%;
    font-size: 28px;
}

#volet-info p {
    color: #3c2a4d;
}

#volet-info a {
    color: #3c2a4d;
    text-decoration: underline;
}

#volet-info .double .d1, #volet-info .double .d2 {
    justify-content: unset;
}

audio {
    width: 100%;
    margin: 20px 0px;
}

#volet-info.ouvert {
    height: 100vh;
    background-color: #C9BECD;
    color: #3c2a4d;
    position: fixed;
    right: 0;
    top: 0;
    transition: 0.3s;
}

#volet-info.ouvert .fermervolet {
    display: block;
}

#volet-info.ouvert {
    height: 100vh;
    background-color: #C9BECD;
    color: #3c2a4d;
    position: fixed;
    right: 0;
    top: 0;
    transition: 0.3s;
}

.stat {
    color: #3c2a4d;
    font-family: "Manif", serif;
    font-size: xx-large;
    text-align: center;
    margin-top: 25px;
}

/* iframe responsive */

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* porte */

#porte1 {
    background-image: url("../d/porte-sexe.png");
}

#porte2 {
    background-image: url("../d/porte-expression.png");
}

#porte3 {
    background-image: url("../d/porte-identite.png");
}

.porte {
    height: 430px;
    width: 350px;
    margin: 0px auto;
    background-size: 350px;
    cursor: pointer;
    cursor: url("../asset/cursor-genre.png") 4 12, auto;
}

.porte.ouvert {
    background-position-y: 430px;
}

.split {
    display: flex;
    flex-direction: row;
    padding: 0px 0px;
}

.play {
    height: 60px;
    width: 60px;
    background-size: 60px;
    background-position-y: 0px;
    margin: 0px auto;
    background-image: url("../asset/play.svg");
    cursor: pointer;
}
img.trouble {
    width: 60px;
    cursor: pointer;
}
.ddt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-left: 123px;
}
.ddt .play, .ddt .trouble{
    margin: 0px 20px;
    
}

.play.lu {
    background-position-y: 60px;
}

.player {
    height: 60px;
    width: 60px;
    background-size: 60px;
    background-position-y: 0px;
    background-image: url("../asset/play.svg");
    cursor: pointer;
    transition: 0s;
    z-index: 10;
}

.player.lu {
    background-position-y: 60px;
}

.playertout {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 5px 0px;
    cursor: pointer;
    width: -moz-fit-content;
}

.playercontex {
    background-color: #3c2a4dde;
    padding: 4px 18px 4px 25px;
    margin-left: -15px;
    height: min-content;
    border: 0px;
    border-radius: 2px;
    color: #C9BECD;
}

button.playercontex {
    background-color: #3c2a4dde;
    padding: 6px 18px 6px 25px !important;
    margin-left: -15px;
    height: min-content;
    border: 0px;
    border-radius: 2px;
    color: #C9BECD;
    font-family: "Rubik", sans-serif;
    font-size: medium;
    cursor: pointer;
}

.credit {
    display: flex;
    flex-direction: row;
}

.credit h4 {
    margin: 0px;
    font-size: large;
}

.creun {
    flex: 1;
    align-items: right;
    text-align: right;
    padding: 15px;
}

.credeux {
    flex: 1;
    align-items: left;
    padding: 15px;
}

.split .c {
    flex: 1;
    padding: 25px 10px;
    display: flex;
    text-align: center;
    align-self: center;
    justify-content: center;
    flex-direction: column;
}

.ls img {
    max-height: 46px;
    margin: 0px auto;
    width: initial;
}

/* soeur */

.contenu {
    display: flex;
    padding-top: 15px;
    flex-direction: row;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    background-color: #ffffff;
    vertical-align: middle;
    -webkit-overflow-scrolling: touch;
    text-align: center;
    /*You can delete it*/
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.contenu::-webkit-scrollbar {
    display: none;
}

.reve {
    max-width: 450px;
    width: 100%;
    min-width: 360px;
    padding: 5px 35px 20px 35px;
    text-align: left;
    background-color: #f6f1fa;
}

.puces {
    height: 46px;
    width: 3px;
    background-color: #3c2a4d;
    margin-top: -19px;
}

.point {
    text-orientation: mixed;
    justify-content: center;
    padding: 0px 50px;
    background-color: #e9e1f0;
    min-width: 160px;
    color: #82518b;
    display: flex;
    align-items: center;
}

.lapse {
    width: 0px;
    display: block;
    min-width: 130px;
    background-color: #f6f1fa;
}

.rien {
    width: 510px;
    display: block;
    min-width: 80px;
}

.contenu h3 {
    margin: 32px 0px 6px 0px;
    color: #853593;
}

.dicat {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 20px;
    margin-top: -30px;
    width: min-content;
    margin-left: auto;
    margin-right: auto;
}

.dicat img {
    padding: 15px;
    background-color: #3c2a4d;
    cursor: pointer;
    z-index: 20;
    width: 60px;
}

h3.ltsl {
    margin-bottom: -20px;
    font-size: x-large;
}

/* les touraniennes sont là */

.tapisserie {
    background-image: url("../d/tapisserieblarge.jpg");
}
.tapisserie img{
    height: max-content;
height: intrinsic;
}

.carte {
    margin: 15px 0px 0px 0px;
}

.portrait {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.portrait img {
    max-width: 260px;
    margin: 15px;
    cursor: pointer;
    cursor: url("../asset/cursor-maison.png") 4 12, auto;
}
/*Ressources  */ 

img.ressources {
    max-width: 180px;
    max-height: 180px;
}

@media (max-width: 1100px) {
    #volet-info {
        height: 100vh;
        width: 60vw;
    }
}

@media (max-width: 1050px) {
    .split {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .double, .split {
        flex-direction: column;
    }
    #maison h1 {
        font-size: 36px;
    }
    .doubleinv {
        flex-direction: column-reverse;
    }
    #acc-navigation a, #acc-navigation span {
        font-size: 26px;
    }
    #volet-info {
        height: 100vh;
        width: 100vw;
    }
    a.resp {
        font-size: 18px !important;
    }
}