:root {
    --offset: 60px;
    --w: 700px;
    --background: rgb(255, 255, 255);
    --link:  rgb(255, 255, 76);
    /* --darkgrey: rgb(76, 46, 19); */
    /* --darkgrey: rgb(104, 99, 0); */
    --darkgrey: olive;
    --offp: 45px;
    --accent: rgb(255, 160, 129);
    box-sizing: border-box;
}

@font-face {
    font-family:'sherif';
    src: url(fonts/MetaAccanthis_regular.ttf);
    font-style: normal;
}

@font-face {
    font-family:'sherif';
    src: url(fonts/MetaAccanthisAlternate.ttf);
    font-style: italic;
}

@font-face {
    font-family:'basic';
    src: url(fonts/FreeSans.ttf);
}

@font-face {
    font-family:'full';
    src: url(fonts/FluxischElse-Regular.otf);
}

html {
    scroll-behavior: smooth;
}

body{
    font-size: 14px;
    padding: 0;
    margin: 0;
    background-color: var(--background);
    overflow-x: hidden;
    font-family: 'full';
}

/*#################################################### 
MENU ############################################*/

.menu{
    position: fixed;
    bottom: 0vh;
    right: 0px;
    z-index: 5000;
    color: var(--darkgrey);
    background-color: var(--background);
    font-size: 14px;
    text-align: center;
    padding: 1em;
    margin: 1.5em;
    width: auto; 
    border: 1px solid black;
}

/* .menu summary{    
    position: inherit;
    height: 1em;
    margin-bottom: 0.5em;
    list-style: none;
    text-align: center;
    font-size: 1.25em;
    cursor: pointer;
}

details[open] summary {
    color: transparent;
}

details[open] summary::after {
  content: "X";
  text-align: right;
  margin-left: 100px;
  color: red;
} */

.menu ul{    
    padding-bottom: 0em;
    list-style: none;
}

.limenu li{
    right: 0em;
    font-size: 1.2em;
    font-family: 'full';
}

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


/*#################################################### 
MOI ############################################*/

header, footer{
    font-size: 1.5em;
    position: relative;
    top: 0%;
    left: 0ch;
    z-index: 15;
    color: var(--darkgrey);
    padding: 1em;
    margin: 0;
}

footer{
    border-top: 1px solid var(--darkgrey);
}

.fan2listes{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1em;   
}

footer .fan2listes{
    margin-top: 0;
}

.fan2listes ul{
    margin-right: 2em;
}

.fan2listes li{
    font-family: 'full';
    font-size: 0.8em;
    line-height: 1.2em;
}


/*#################################################### 
PROJETS ############################################*/


.tag {
    position: sticky;
    z-index: 999;
    width: 100%;
    height: 10ch;
    left: 0;
    top: 0px;
    border: var(--darkgrey) 1px solid;
    display: flex;
    flex-direction: row;
    color: var(--darkgrey);
    background-color: var(--background);
    font-size: 1.2em;
    /*METTRE UNE COULEUR + VISIBLE*/
}

.tag a {
    text-decoration: none;
    color: inherit;
}

.general{
    padding: 0.5em;
    border-right: 1px solid var(--darkgrey);
    flex-basis: 40%;
}

.blog{
    padding: 0.5em;
}



/*#################################################### 
FONTS ############################################*/


ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

p{
    margin: 0;
}

a{
    text-decoration: none;
    color: inherit;
}

a:hover{
    text-shadow: 0 0 0.5em var(--link);
}

.message{
    font-family: 'full';
}


/*#################################################### 
IMAGES ############################################*/

.slide-box {
    height: 70vh;
    box-sizing: border-box;
    position: relative;
    z-index: 103;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-left: 0em;
    overflow-x: hidden;
    background-color: var(--background);
}

.ab .slide-box {
    flex-direction: column;
    margin-top: 50px;
    min-height: 100vh;
    height: auto;
}

img {
    box-sizing: border-box;
    height: 90%;
    object-fit: contain;
    max-width: 100%;
    padding: 0.25em;
    margin: auto 2rem;  
}

.imgpng{
    background-color: white;
}





/*#################################################### 
TABLETTE ############################################*/

@media screen and (max-width: 700px) {
    .slide-box {
        margin-left: var(--offp);
    }

    .tag {
        width: 100%;
    }

    .tag .num {
        width: 45px;
        font-size: 18px;
    }

    .projtit {
        font-size: 19px;
    }

    img {
        padding: 0;
    }

    .offset{
        padding-left: var(--offp);
      
    }

    /*details summary h2::before{
        width: var(--offp);
    }*/
}


/*#################################################### 
MOBILE ############################################*/

@media screen and (max-width: 500px){

    body{
        font-size: 12px;
    }

    .tag {
        position: sticky;
        z-index: 999;
        width: 100%;
        height: 20ch;
        left: 0;
        top: 0px;
        border: var(--darkgrey) 1px solid;
        display: flex;
        flex-direction: row;
        color: var(--darkgrey);
        background-color: var(--background);
        font-size: 0.8rem;
    }

    .menu{
        font-size: 10px;
    }

    

}