body {
    margin: 0;
    background-image: url("../img/background_vague.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    display: grid;
    grid-template-rows: 1fr auto auto;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    color: #480404;
}

/* Sélection de souris  */
::selection {
    background-color: #f6bd60;
    color: white;
}

/* En tête header  */
.entete {
    display: grid;
    grid-template-columns: 80px auto auto auto auto auto;
    gap: 30px;
    padding: 15px 0px 15px 15px;
}

/*entete {
     display: flex;
    gap: 90px;
    padding: 15px;
} */


.entete>a {
    text-decoration: none;
    color: #480404;
}

.entete>:hover {
    color: #84a59d;
}

.entete>img {
    width: 100%;
}

/* Le smooth scroll  */
html {
    scroll-behavior: smooth;
}

/* .entete>img {
    position: fixed;
} */
/*
body > header > div.entete > a:nth-child(2) > div {
    position: fixed;
}
body > header > div.entete > a:nth-child(3) > div {
    position: fixed;
}
body > header > div.entete > a:nth-child(4) > div {
    position: fixed;
} */

.langue {
    margin-left: auto;
    display: inline-block;
    text-align: right;
}


/* Img header  */
header {
    min-height: 100vh;
}

/* .head {
    width: 100%;
    border-bottom: 20px solid #fff;
} */

/* .titrebouton {
    display: grid;
    align-items: center;
} */

/* img du header  */
.imgheader {
    /* border-radius: 250px; */
    max-width: 100%;
    z-index: 0;
    transform: translate(-400px, -30px);

}

.titreheader {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* margin-top: 3%; */
    justify-items: center;
    align-items: center;
}

.titres {
    margin: 40% 0% 0% 0%;
    justify-self: end;
    z-index: 1;
    /* transform: translate(15vh); */
}


/* Titres responsives  */
/* @media screen and (max-width:1000px) {
    .titreheader>.titres>h1{
        font-size: 60pt;
    }
} */
/* Titres  */
/* Qui est ce ?  */
.titreheader>.titres>h1 {
    font-family: 'Playfair Display SC', serif;
    /* position: absolute;
    top: 30vh;
    left: 58vh; */
    font-weight: initial;
    color: #480404;
    font-size: 70pt;
    /* margin: 15% auto 0 auto; */
}

main>.quiestce>h2 {
    font-family: 'Playfair Display SC', serif;
    display: inline-block;
    font-weight: initial;
    font-size: 40pt;
    margin: 0px 0px 0px 0px;
    color: #480404;
}

.soustitre {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 25pt;
    color: #480404;
    margin: 0px 0px 50px 0px;
}

.auteur {
    font-family: 'Montserrat', sans-serif;
    color: #480404;
    font-size: 25pt;
    /* margin: 0.1% auto 0 ; */
}

.titresous {
    font-size: 20pt;
    margin-top: 0px;
    font-family: 'Montserrat', sans-serif;
    color: #480404;
}

/* La programmation  */
main>.prog>h2 {
    font-family: 'Playfair Display SC', serif;
    display: inline-block;
    font-weight: initial;
    font-size: 40pt;
    margin: 0px 0px 0px 0px;
    color: #480404;
}

main>.prog>.auteur {
    font-size: 20pt;
    margin-top: 0px;
}

.titresite {
    font-family: 'Playfair Display SC', serif;
    display: inline-block;
    font-weight: initial;
    font-size: 20pt;
    margin: 0px 0px 10px 0px;
    color: #480404;
}

.savoirplus {
    font-size: 17pt;
}

/* Le design  */
main>.design>.introdes>h2 {
    font-family: 'Playfair Display SC', serif;
    display: inline-block;
    font-weight: initial;
    font-size: 40pt;
    margin: 0px 0px 0px 0px;
    color: #480404;
}

main>.design>.auteur {
    font-size: 20pt;
    margin-top: 0px;
}

/* Les liens  */
header>.titrebouton>a {
    color: black;
    margin: 2% auto;
}

/* le contenu  */
main {
    margin: 80px;
}

/* Le texte  */
.texte {
    color: #480404;
    max-width: 800px;
    text-align: justify;
    margin: 30px 30px 30px 0px;
}

.texte>p>span {
    color: #f28482;
}
#scrolldes > div.introdes > div.texte > p>span {
    color: #fff;
}
#scrolldes > div.logo>.flexlogo > div.texte > p>span {
    color: #fff;
}
#scrolldes > div.graph > div.flextexte > div.texte > p>span {
    color: #fff;
}
#scrolldes > div.dessins>.flexdessins > div.texte > p>span {
    color: #fff;
}

.paratexte {
    color: #480404;
    font-size: 14pt;
    max-width: 500px;
}

/* Qui est ce ?  */
.flexqui {
    display: flex;
    gap: 300px;
}

.flexqui>img {
    max-width: 25%;
    border-radius: 250px;
    transform: translate(0px, -150px);
}

/* Carousel  */
.carouselflex {
    display: flex;
    justify-content: center;
}

main>.quiestce>.inspi>.carouselflex>#demo{
    width: 70%;
}

.inspi {
    min-height: 100vh;
}

/* La programmation  */
.prog {
    margin-bottom: 100px;
    min-height: 100vh;
}

/* Le carousel de prog  */
#demo2 {
    width: 90vw;
}
.carousel-control-prev {
    transform: translate(-30px);
    width: 0% !important;
}
.carousel-control-prev-icon {
    background-color: #480404;
    border-radius: 20px;
    padding: 20px;
}
.carousel-control-next {
    transform: translate(30px);
    width: 0% !important;
}
.carousel-control-next-icon {
    background-color: #480404;
    border-radius: 20px;
    padding: 20px;
}


div.carousel-inner > .carousel-item > .flexprogcarou > .blabla > a >button{
    position: relative;
    z-index: 10;
}

.flexprogcarou {
    display: flex;
    gap: 20px;
    align-items: center;
}

.blabla {
    text-align: justify;
    align-items: center;
}
#demo2 > div.carousel-inner > div:nth-child(1) > div > div > a > button {
    z-index: 3;
}

/* Les boutons pour les liens de sites  */
.sitebutton {
    background: #f6bd60;
    color: white;
    border: none;
    padding: 10px 15px 10px 15px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    margin-right: 2%;
}

.sitebutton:hover {
    box-shadow: 6px 5px rgb(86, 78, 78);
    transition-duration: 0.4s;
    font-weight: bold;
}

.lien {
    margin: 5% 0% 5% 0%;
    grid-row: span 2;
}

.debut {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr; */
    margin: 100px 0px 0px 0px;
}

/* La boite en savoir plus  */
.plus {
    color: #480404;
    padding: 0px 30px 30px 30px;
    border-radius: 20px;
}

.titreplus {
    display: flex;
    gap: 20px;
    align-items: center;
    cursor: pointer;
}

/* transition ouvert fermer  */

.fermer {
    display: none;
}

.ouvert+.texte {
    display: block;
    text-align: justify;
}

/* La croix  */
.croix {
    position: absolute;
    top: 115%;
    right: 5%;
    display: none;
    cursor: pointer;
}

/* La flèche  */
.ouvert .fleche {
    transform: rotate(180deg);
}

.fleche {
    transition-duration: 0.4s;
}

.titrebout {
    flex: none;
}

/* Le design  */
.introdes {
    margin-bottom: 100px;
}
.logo {
    margin-bottom: 100px;
}
.graph {
    margin-bottom: 100px;
}
.dessins {
    min-height: 70vh;
}

.flexlogo {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.flexgraph {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 30px;
}

.flextexte {
    display: flex;
}

/* Galerie d'images  */
.flexgalerie2 {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    align-items: flex-end;
    margin: 0px 60px 0px 60px;
}

.flexgalerie2>.box>img {
    width: 100%;
    transition-duration: 0.8s;
}

.flexgalerie2>.box>img:hover {
    transform: scale(3);
    transition-duration: 0.8s; 
}

.imggauche:hover {
    transform-origin: 20% 50%;
}

.imgdroite:hover {
    transform-origin: 78% 20%;
}

.container {
    display: flex;
    padding: 4% 2%;
    box-sizing: border-box;
    width: auto;
  }
  
  .box {
    flex: 1;
    margin: 2% 2%;
  }
    
  .box:hover { 
    z-index: 3;
}

/* animation affiche  */
.flexgalerie1 {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    align-items: flex-end;
    margin: 0px 60px 0px 60px;
}

.flexgalerie1>.box>img {
    width: 80%;
    transition-duration: 0.8s;
}

.flexgalerie1>.box>img:hover {
    transform: scale(2.5);
    transition-duration: 0.8s; 
}

.imggauche:hover {
    transform-origin: 20% 50%;
}

.imgdroite:hover {
    transform-origin: 78% 50%;
}

.container {
    display: flex;
    padding: 4% 2%;
    box-sizing: border-box;
    width: auto;
  }
  
  .box {
    flex: 1;
    margin: 2% 2%;
  }
    
  .box:hover { 
    z-index: 3;
}
/* Les dessins  */
.flexdessins {
    display: flex;
    justify-content: center;
}

.sousflex {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: flex-end;
}

.flexdessins>.sousflex>.box>img {
    width: 60%;
    transition-duration: 0.8s;
}

.flexdessins>.sousflex>.box>img:hover {
    transform: scale(2);
    transition-duration: 0.8s;
}

#scrolldes > div.dessins > div.flexdessins > div.texte {
    width: 120vw;
}

/* légendes des images  */
.frame {
    
    cursor: pointer;  
    perspective: 500px; 
  }
  .frame img {
    display: inline-block;
    width: 90%;
    height: 90%;
  }

#scrolldes > div.logo > div.frame.col-xs-6 > img {
    position: relative;
}

  .frame .details {
    width: 90%;
    min-height: 20%;  
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    padding: 10px;
    transform: translate(-50%, -50%);
    transform-origin: 50%;
    background: #587c73bd;
    border-radius: 50px;
    opacity: 0;
    transition: all 0.4s ease-in;
    text-align: left;
  }
  .frame:hover .details {
    transform: translate(-40%, -50%);
    opacity: 1;
  }
/* #scrolldes > div.logo > div.flexlogo > div.frame > img:hover {
      opacity: 0.5;
  } */

  /* Texte légende  */
.legend {
    font-family: 'Playfair Display SC', serif;
    display: inline-block;
    font-weight: initial;
    font-size: 30pt;
    margin: 0px 0px 0px 0px;
    color: #fff;
}

.textlegend {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}
.textlegend>p:nth-child(1) {
    font-weight: bold;
}

/* La flèche pour remonter la page  */
.flechehaut {
    position: relative;
}

.flechehaut>a>img {
    position: fixed;
    bottom: 25px;
    right: 10px;

}

/* Le footer  */
footer {
    color: #480404;
    padding: 20px 0px 20px 0px;
    text-align: center;
}

footer>h2 {
    font-family: 'Playfair Display SC', serif;
    display: inline-block;
    font-weight: initial;
    font-size: 40pt;
    margin: 0px 0px 0px 0px;
    color: #480404;
}

.flexfooter {
    display: flex;
    justify-content: space-evenly;
}

.foot1 {
    text-align: left;
}
.foot2 {
    text-align: right;
}

#scrollfooter > div > div.foot1 > a,
#scrollfooter > div > div.foot2 > a {
    text-decoration: none;
    color: #480404;
}
#scrollfooter > div > div.foot1 > a:hover,
#scrollfooter > div > div.foot2 > a:hover {
    color: #f28482;
} 

.example {
    display: block;
    width: 50%;
    background: blue;
    margin: 10px auto;
    border: solid 3px rgba(255,100,100,0);
    background-color: #A00;
}
