

/* GENERAL */


@font-face {
    font-family: 'Fraunces28ptSoftWonky-Regular';
    src:  url('-polices/Fraunces28ptSoftWonky-Regular.otf');
    }

@font-face {
    font-family: 'Fraunces28ptSoftWonky-LightItalic';
    src : url('-polices/Fraunces28ptSoftWonky-LightItalic.otf');
}

*
{
font-family: 'Fraunces28ptSoftWonky-Regular', Times New Roman, Sérif;
color: black;
font-size: 1em;
font-weight: normal;
font-style: normal;
margin: 0;
}





/* Partie GAUCHE */

html, body {
    height: 100%;
    overflow: hidden;
    margin: 0;
}


#bloc_page
{
        display: flex;
        height: 100%;
        justify-content: flex-start;
        /*justify-content: space-between;*/
}


#header
{
    width:265px;
    max-width: 265px;
    min-width: 265px;
    padding: 24px;
    height: 100%;
    overflow: auto;

    /* Pour Firefox */
    scrollbar-width: thin;
}


h1
{
    margin-bottom: 140px;
}

#apropos 
{
margin-bottom: 140px;
text-decoration: none;
}

#apropos a {
    font-family: 'Fraunces28ptSoftWonky-LightItalic';
    text-decoration: none; 
}

#apropos a:hover {
    text-decoration: underline; 
}

#liste_projets
{
	padding: 0;
	margin: 0;
    margin-bottom: 140px;
}

#liste_projets a
{
        font-family: 'Fraunces28ptSoftWonky-LightItalic';
        text-decoration: none;
}

#liste_projets a:hover
{
        text-decoration: underline;
}


#liste_onglets
{
        padding: 0;
        margin: 0;
        margin-bottom: 210px;
}

#liste_onglets a
{
        text-decoration: none;
}

#liste_onglets .apropos a:hover
{
    text-decoration: underline;
}


#credits 
{
margin-bottom: 25px;
text-decoration: none;
}

#credits a {
    font-family: 'Fraunces28ptSoftWonky-LightItalic';
    text-decoration: none; 
}

#credits a:hover {
    text-decoration: underline; 
}



/* Section DROITE */

em 
{
    font-family: 'Fraunces28ptSoftWonky-LightItalic';
}

#section 
{
    overflow: auto;
    background-color: whitesmoke;
    
    scrollbar-width: thin;
}

#vignette-container
{
        background:#feebdc; 
        width: 86%;
        overflow: auto;
        display: flex;
        display: inline-block;
        width: 100%;
}


.overlay-image {
    position: relative; 
    overflow: hidden;
}

.overlay-image a{
    display: block;
    height: 100%;

}

.overlay-image img {
    display: block;
    object-fit: contain;
    max-width: 100%;
}

/* Texte original */
.overlay-image .text {
z-index: 2;
position:absolute;
right: 0;
bottom: 0;
color: black;
background-color: white;
padding : 2px 7px 2px 7px;
font-size: 1.03em;
}


/* Overlay elsa, utile car sinon la MEP part dans tous les sens   */
.overlay-image .hover {
    z-index: 1;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
}


/* Apparition overlay sur passage souris */
.overlay-image:hover .hover {
 opacity: 1;
}

/* Apparition de la bande colorée sur le passage de la souris chatGPT*/
.overlay-image:hover .color-band {
    opacity: 1;
}



.fade-in {
    opacity: 0;
   /* filter: brightness(2);*/
  }
  
.fade-in-active {
    opacity: 1;
    /*filter: brightness(1);*/
    transition: opacity 0.4s ease;
  }
  
