/*----------------------------------*/
/*----- INIT :ROOT -----------------*/ 
html{
    font-size: 13px;
    line-height: 15px;
     scroll-behavior: smooth;
}

:root{
  --blue: #1e90ff;
  --white: #ffffff; 
  --yellow:#bfff00;
  --rouge-western:#9e0e40;
}


svg{
    position: absolute;
    width: 0px;
    height: 0px;
    width: 100%;
}

/*----------------------------------*/
/*-------- BASIQUE -----------------*/

body{
    font-family: 'roboto_condensed_regular';
    font-size: 2rem;
    height: 100%;
    margin:0px;
}

/* mommy est une wrappeuse */
#mommy{
    height: 13500px;
    position: relative;
    width: 100%;
    overflow-y: hidden;
    transition: all 1s ease-in-out;
}

/* Tout le contenu = bio + blog */
#content{
    position: absolute;
    top: 0;
    overflow-x: hidden;
    overflow-y: clip;
}

.bgbody{
    position: relative; 
    min-height: 10%;
    width:100%;
    z-index: -10;
    /* Paralax */
    background-image: var(--background);
    background-position:center;
    background-repeat:no-repeat;
    background-size: cover;
    background-attachment: fixed:
}
#section1{
    -webkit-filter: url(#filtrenoirmagenta);
    filter: url(#filtrenoirmagenta);
}
#section2{
    -webkit-filter: url(#filtreblancvert);
    filter: url(#filtreblancvert);
}
#section3{
    -webkit-filter: url(#filtrenoircyan);
    filter: url(#filtrenoircyan);
}
#section4{
    -webkit-filter: url(#filtrenoirmagenta);
    filter: url(#filtrenoirmagenta);
}
#section5{
    -webkit-filter: url(#filtrenoircyan);
    filter: url(#filtrenoircyan);
}

#section6{
    -webkit-filter: url(#filtrenoirmagenta);
    filter: url(#filtrenoirmagenta);
}
#section7{
    -webkit-filter: url(#filtreblancvert);
    filter: url(#filtreblancvert);
}
#section8{
   -webkit-filter: url(#filtrenoircyan);
    filter: url(#filtrenoircyan);
}

#section9{
    -webkit-filter: url(#filtrenoirmagenta);
    filter: url(#filtrenoirmagenta);
}
#section10{
    -webkit-filter: url(#filtreblancvert);
    filter: url(#filtreblancvert);
}
#section11{
    -webkit-filter: url(#filtrenoircyan);
    filter: url(#filtrenoircyan);
}
#section12{
    -webkit-filter: url(#filtrenoirmagenta);
    filter: url(#filtrenoirmagenta);
}
#section13{
    -webkit-filter: url(#filtrenoirmagenta);
    filter: url(#filtrenoirmagenta);
}

#section14{
    -webkit-filter: url(#filtrenoirmagenta);
    filter: url(#filtrenoirmagenta);
}
#section15{
    -webkit-filter: url(#filtreblancvert);
    filter: url(#filtreblancvert);
}
#section16{
    -webkit-filter: url(#filtrenoircyan);
    filter: url(#filtrenoircyan);
}



/*________________________________________*/
/*___________________ STYLE DE TEXTES ____*/

.contenu-texte {
  max-width: 560px;
}

p{
    font-family: 'roboto_condensed_light';
    font-size: 1.5rem;  
    line-height: 1.1em;
    color: var(--yellow);
    padding: 1rem 0 1rem 2rem;
    mix-blend-mode: difference;
}

strong{
    font-family: 'vintage';
    line-height: 1.6rem;
}

blockquote, blockquote p{
    font-family: "vintage";
    color: var(--yellow);
    font-size: 2rem;
    line-height: 1.63rem;
    padding: 1.5rem 0 1rem 0;
    text-transform: uppercase;
    mix-blend-mode: difference;
}

ul, ol{
    font-family: 'roboto_condensed_light';
    font-size: 1.5rem;  
    line-height: 1.1em;
    color: var(--yellow);
    padding: 1rem 0 1rem 2rem;
    mix-blend-mode: difference;
    list-style-position: outside;
}
    ul li{
        list-style-type: disc!important;
    }

    ol li{
       list-style-type: decimal !important; 
    }

em{
    font-family: 'roboto_condensed_light_italic';
}

h1{
    color: var(--yellow); 
    font-family: 'geometry';
    font-size: 3rem;
    line-height: 2.8rem;
    padding: 0 0 1.5rem 0;
}

h1 strong{
    color: var(--yellow); 
    font-family: 'geometry';
    font-size: 3rem;
    line-height: 2.8rem;
    padding: 0 0 1.5rem 0;
}

h2{
    font-family: "vintage";
    color: var(--yellow); 
    font-size: 1.8rem;
    mix-blend-mode: difference;
    line-height: 1.45rem;
   letter-spacing: 0.02rem;
}

h3{
    font-family: "vintage";
    color: var(--yellow);
    font-size: 2rem;
    line-height: 1.63rem;
    text-transform: uppercase;
    mix-blend-mode: difference;
}

h4{
    color: var(--yellow); 
    font-family: "roboto_condensed_bold";
    line-height: 1.8rem;
    padding: 1rem;
}

h4::first-letter {
    font-family: 'roboto_black_italic';
    font-size: 3rem;
}
h4 em{
    color: var(--yellow); 
    font-family: "roboto_condensed_bold_italic";
}

h5{
    color: var(--yellow); 
     font-family: "roboto_condensed_light_italic";
    line-height: 2.1rem;
}


/*_____ hyperliens --------------*/ 

a{
    color: var(--blue);
}

a:hover{
    text-shadow: 7px -7px 0.5rem black, 10px 0 0.5rem black, 7px -7.0710678px 0.5rem black, 0 10px 0.5rem black, -7.0710678px 7.0710678px 0.5rem black, -10px 0px 0.5rem black, -7.0710678px -7.0710678px 0.5rem black, 0 -10px 0.5rem black;
}




#biographie a, #credits a{
    font-family: 'roboto_light';
    color : black;
    text-shadow: 0 0 1em var(--rouge-western), 0 0.15em 0em var(--blue);
}

#biographie a:hover, #credits a:hover{
    color : var(--white);
    text-shadow: 7px -7px 0.5rem black, 10px 0 0.5rem black, 7px -7.0710678px 0.5rem black, 0 10px 0.5rem black, -7.0710678px 7.0710678px 0.5rem black, -10px 0px 0.5rem black, -7.0710678px -7.0710678px 0.5rem black, 0 -10px 0.5rem black;
}





/*-----------------------------------*/
/*_____ GRILLE DE BLOG --------------*/ 

.grille {
    display: flex;;
    padding: 3rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.flexbox{
    display: flex;
    width: -moz-available;
}


.type2{
    margin:3vw 0rem -16vw -4vw;
    width: 160%;
    max-width: 160%;
    min-width: 350px;
}
.type3{
    width: 143%;
    max-width: 143%;
    margin:-3vw 0vw 0vw -16vw;
}
.type4{
    
}
.type5{
    margin: -2vw -15vw -5vw -1vw;
    width: 115%;
    max-width: 115%;
}
.type6{
    width: 93%;
    max-width: 93%;
    margin: -1rem;
}
.type7{
    width: 83%;
    max-width: 83%;
    margin: -2vw -5vw 8vw -10vw;
}





/*.type2{
    margin:3rem 0rem -16rem -4rem;
    width: 160%;
    max-width: 160%;
    min-width: 350px;
}
.type3{
    width: 143%;
    max-width: 143%;
    margin:-3rem 0rem 0rem -16rem;
}
.type4{
    
}
.type5{
    margin: -2rem -15rem -5rem -1rem;
    width: 115%;
    max-width: 115%;
}
.type6{
    width: 93%;
    max-width: 93%;
    margin: -1rem;
}
.type7{
    width: 83%;
    max-width: 83%;
    margin: -2rem -5rem 8rem -10rem;
}
*/


.element{
}

.post-text{
    max-width: 40%;
    height: fit-content;
    padding: 1em;
    max-height: 40em; 
    overflow-y: scroll;
    transform: translate(-10%, -10%);
    scrollbar-color: #ff58f8 transparent;
    scrollbar-width: thin;
    mix-blend-mode: luminosity;
}
.post-text::-webkit-scrollbar {
    width: 7px;
}

/* Track */
.post-text::-webkit-scrollbar-track {
    background: transparent; 
}
 
/* Handle */
.post-text::-webkit-scrollbar-thumb {
    background: #ff58f8; 
}

/* Handle on hover */
.post-text::-webkit-scrollbar-thumb:hover {
    background: #ff58f8;
    border: #e9f7a3 solid 1px;
    transition: 0.5s;
}

.post-text:hover{
    mix-blend-mode:luminosity;
    z-index: 10;
    transition: 0.3s;
    background-color: rgb(40,40,40);
    box-shadow: 1rem 1rem 10rem 10rem rgb(40, 40, 40);
}

.post-text:hover p{
    color: aliceblue;
}

.post-pdf{
    max-width: 40%;
    height: fit-content;
    padding: 1em;
    mix-blend-mode: luminosity;
    cursor: zoom-in;
}

.post-pdf:hover{
    z-index: 10;
    mix-blend-mode: normal;   
    transition: 0.3s;
} 


/*___________________________ post-img _____*/

.post-img{
    max-width: 40%;
    /*min-width: 30%; */
    height: fit-content;
    padding: 1em;
    transform: translate(20%, 20%);
    mix-blend-mode: luminosity;
    display: grid;
    grid-template-columns: minmax(400px, 1fr) 2fr;
}

.post-img:hover{
    z-index: 10;
    mix-blend-mode: normal;
    transition: 0.3s;
}

.contenu-image{
    width: 90%;         
    /* les navigateurs WebKit ignorent ça */
    padding: 10px;
    flex-grow: 3;
}

.contenu-prev{
    max-width: 80%;
    display: block;
    padding: 10px;
}


/*__________________________________*/
/*      Style du embed              */
/*__________________________________*/

.close{
    font-family: 'geometry';
    animation: flicker 1.5s infinite alternate;
    color: #fff;
    width: 100%;
    height: -moz-available;
    
    position: fixed;
    margin: 1rem;
}

.close a{
    font-family: 'geometry';
    color: #fff;
    font-size: 2.5rem;
}

.close a:hover{
    color: var(--blue);
}

/* Flickering animation */
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
      text-shadow:
      0 0 4px #fff,
      0 0 11px #fff,
      0 0 19px #fff,
      0 0 40px #0fa,
      0 0 80px #0fa,
      0 0 90px #0fa,
      0 0 100px #0fa,
      0 0 150px #0fa;
  }
  
  20%, 24%, 55% {        
      text-shadow: none;
  }    
}



.iframe{
    position:fixed;
    width : 80%;
    height: 90%;
}

.iframeHolder{
    position: absolute;
    width: 100%;
    height: 100%;
    top : 0;
    left: 0;
    z-index: 10000000;
}

.button:hover{
    color:blue;
}

/*_____________________________*/
/*___ STRUCTURE _______________*/
/*           / actualites          
/*           / lettrage
/*           /---/ bio wrap
/*               /--/ bio
/*                  / illu
/*                  / credits
/*_____________________________*/

#contenu-bio{
/* background-color: blue;
    opacity: 0.5; */
    position: relative;
    display: block;
    width: -moz-available;
    margin: 2rem; 
    font-size: 1rem;
    padding: 0 0 5rem 0;
}


/*______________________________________________*/
/*________________ACTUALITÉS____________________*/

#actualites{
    position:absolute;
    padding-bottom: 2.5rem;
    z-index: 5000;
    top: 0;
    width: 25%;
    left: 1.2rem;
    color: black;
}

.actualite{
    position: relative;
    display: block;
    /*z-index: 9999;*/
    font-family: 'vintage' !important;
    color: black !important;
    padding: 1rem 1rem 1rem 1rem;
    margin: 1rem 1rem 36% 1rem;
    border-left: 0.01em solid black;
    height: fit-content;
}



/*__ Style des textes des actus __*/

.actualite h1{
    font-family: 'vintage';
    text-transform: uppercase;
    color: black;
    font-size: 1.5rem;
    line-height: 1.1em;
    padding: 1rem 0 1rem 2rem;
    mix-blend-mode: difference;
}

.actualite h2{
    color: black;
    font-size: 1.5rem;
    line-height: 1.1em;
}

.actualite p{
    font-family: 'roboto_condensed_regular';
    color: black;
}
.actualite h3, .actualite h4, .actualite h5, .actualite h6
{
    color: black !important;
}
    

    



/*_____________ BIG LETTRAGE SVG_______________*/

#lettrage{
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        z-index: 100;
    }
img.svg{
        filter: invert(100%) sepia(40%) saturate(6744%) hue-rotate(19deg) brightness(106%) contrast(106%);
        width: 100%;
        }



/*_____________________________*/
/*___ ÉLEMENTS DE NAVIGATION __*/
/*_____________________________*/

#mail{
    position: absolute;
    z-index: 9999;
    width: 200px;
    height: 100px;
    right: 5vw;
    rotate: -4deg;
    cursor:text;
    top: 4rem;
}

#mail a{
    color: black;
    font-family: 'roboto_light';
}

#mail a:hover{
    cursor:text;
    color: var(--white);
}



#remonte{
    right: 0;
    margin: 0rem 2rem 2rem 2rem;
    position:fixed;
    bottom: 0rem;
    z-index: 9999;
    width: 200px;
    height: auto;
    cursor: pointer;
    filter: drop-shadow(12px 2px 25px rgba(250,0,0,0.5));
    -webkit-filter: drop-shadow(12px 2px 25px rgba(250,0,0,0.5));
          transition:  -webkit-filter 1s linear;
    -webkit-transition: -webkit-filter 1s linear;
}
#remonte:hover{
    -webkit-filter: drop-shadow(12px 2px 25px rgba(0,250,0,0.5));

}


#cv{ 
    z-index: 9999;
    width: 150px;
    right: 0px;
    margin: 2rem 5rem 2rem 2rem;
    float: right;
    top: -55px;
    position: sticky;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

#cv a,#cv a:hover{cursor: help;}

.cv{
    position: relative;
   } 

  .fix {
    position: fixed;
    top: 25px !important;
    margin: 2rem 9rem 2rem 2rem;  
  }

#cv img, #remonte img, #mail img{
    width: 100%;
}


#bio-wrap{
    position: relative;
    display: grid;
    grid-gap: 2rem;
    padding: 3rem 0;
    grid-template-columns: minmax(0px, 0.07fr) 0.7fr minmax(0px, 0.3fr) 0.1fr;
    width: 107%;
    background-color: rgba(30, 144, 255, 1);
    margin: 1px 8rem;
    left: -12rem;
}
#bio-wrap p, #bio-wrap li, #bio-wrap ul{
    mix-blend-mode: normal;
    color: black; /* #023020*/
}

#biographie{
    grid-column: 2;
    grid-row: 1;
    column-count: 2;
}

.illustrations{
    grid-column: 3;
    grid-row: 1;
}
#credits{
    grid-column: 3;
    max-width: 500px;
    align-self: end;
}


/*_____________________________*/
/*___ SOURCES (description) __*/
/*_____________________________*/

#sous-titrage{
    position: fixed !important;
    bottom: 2rem !important;
    z-index: 9999;
    font-size: 2rem;
    line-height: 2.15rem;
    color: var(--yellow);
    text-align: center;
    text-shadow: 7px -7px 0.5rem black, 10px 0 0.5rem black, 7px -7.0710678px 0.5rem black, 0 10px 0.5rem black, -7.0710678px 7.0710678px 0.5rem black, -10px 0px 0.5rem black, -7.0710678px -7.0710678px 0.5rem black, 0 -10px 0.5rem black ;
    display: flex;    
    justify-content: space-evenly;
    align-items: flex-end;
    width: 80%;
    
  /* visibility: hidden !important;*/
}

.hidden{
    visibility: hidden !important;
}



/*----------------------------------*/
/* SOUS TITRE CONTENANT LES SOURCES */ 
.source{
    font-family: 'roboto_condensed_italic';
    color: yellow;
    display: inline;
}


/*_________________________________________________*/
/* REGLES CSS APPLIQUEES ENTRE 1300px et 900pixels */
/*_________________________________________________*/

@media screen and (max-width:1300px){
    .grille{
        padding: 0.2rem;
    }
    
    h1, h1 strong{
        font-size: 2.2rem;
        line-height: 2.2rem;  
    }
    
    #bio-wrap{
        grid-template-columns: minmax(0px, 0.07fr) minmax(500px, 1.2fr) minmax(0px, 0.3fr) 0.05fr;
        width: 111%;
    }
    
    #actualites{
        position: relative;
        width: 55%;
    }
    
    .actualite{
        margin: 1rem 1rem 1rem 1rem;
    }
    
    .post-text{
        max-width: 40%;
        margin: 20%;
        background-color: rgb(40,40,40);
        box-shadow: 1rem 1rem 5rem 5rem rgb(40, 40, 40);
    }
    
    .post-text:hover{
        background-color: rgb(40,40,40);
    }
    
    .post-img{
        grid-template-columns: minmax(300px, 1fr) 2fr;
        transform: translate(0);
    }
   
    .post-pdf{
        max-width: 50%;
        margin:4vw 0rem 0rem 0rem;
    }

        
/*fermeture de balise media screen 1300-900px*/
}

/*_______________________________________________*/
/* REGLES CSS APPLIQUEES EN DESSOUS DE 900pixels */
/*_______________________________________________*/


@media screen and (max-width:900px){
    html{
        font-size: 10px;
        line-height: 12px;
    }
    
    #contenu-bio{
        width:100%;
        margin: 0rem;
        left: 0;
    }
    #mail {
        position: relative;
        height: auto;
        top: 0;
        left: 40%;
        padding-bottom: 1rem;
    }
    
    .grille{
        padding-top: 3rem;
      /*  padding:1rem;*/
        width: 97%; /* Adapté la grille à la largeur fenêtre*/
    }

    #bio-wrap{
        display: block;
        width: 98%;
        left: 0;
        margin: 0;
        padding: 3rem 2rem 0 0;
    }
    
    #biographie{
        column-gap: 0rem;
    }
    #remonte, #mail{
        width: 12rem;
    }
    #actualites{
        width: 50%;
    }
    .post-text{
        max-width: 100%;
        margin: 12%;
    }
    
       
    .post-pdf{
        max-width: 80%;
    }
        
    .post-img{
        max-width: 85%; /* Réduire la largeur des posts pour qu'ils restent deux colonnes*/
        grid-template-columns: minmax(150px, 1fr) 1fr;
    }
    
    /* Décalage des carroussel d'img */
    .type2{

        width: 100%;
        max-width: 110%;
        min-width: 80%;
    }
    .type3{
        width: 83%;
        max-width: 83%;

    }
    .type4{
        width: 83%;
        max-width: 83%;
    }
    .type5{

        width: 105%;
        max-width: 105%;
    }
    .type6{
        width: 73%;
        max-width: 93%;

    }
    .type7{
        width: 73%;
        max-width: 83%;
    }
 

    
}  


/*_______________________________________________*/
/* REGLES CSS APPLIQUEES EN DESSOUS DE 900pixels */
/*_______________________________________________*/


@media screen and (max-width:330px){
    html{
        font-size: 8px;
        line-height: 9.3px;
    }
    #mommy{
        width:330px;
        height:auto;
    }
    
    #actualites{
        width: 70%;
    }
    .bgbody {
        width:330px;
        height: auto;
        background-size: cover;
    }
    .post-img{
        mix-blend-mode:normal;
    }
    .post-img:hover{
        mix-blend-mode:normal;
    }
    
}