@font-face {
    font-family: 'lin-libertine';
    src: url(/user/themes/hypertext/fonts/WOFF2/LinLibertine_DRah.ttf);
}
@font-face {
    font-family: 'lin-libertine-italic';
    src: url(/user/themes/hypertext/fonts/WOFF2/LinLibertine_RIah.ttf);
}
:root{
    --color: #fff;
    --seconde-color: #000;
    --nuances: #e8e8e8;
    --tonic: #8DF4A5;
}
*{
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    cursor: url(/user/themes/hypertext/assets/arrow.cur), default;
}
html{
    height: 100vh;
}
body{
    font-family: 'lin-libertine', serif;
    background-color: var(--color);
    max-width: 90vw;
    height: fit-content;
}
header{
    /* font-style: italic; */
    font-family: 'lin-libertine-italic', serif;
    font-size: 65pt;
    line-height: 1;
    max-width: 90vw;
    /* METTRE EN ABSOLUE SI ON VEUT POUVOIR SCROLLER !! */
    position: absolute;
    top: 0;
    z-index: -10;
    padding-top: 1em;
}
footer{
    position: fixed;
    height: fit-content;
    width: fit-content;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,0%);
    scale: .8;
}
main{
    display: block;
    margin-top: 5em;
    max-width: 70vw;
    padding-bottom: 5em;
    z-index: 10;
}
article{
    background-color: var(--color);
    padding: 1em;
    width: fit-content;
    margin-bottom: 4em;
}
a{
    text-decoration: none;
    color: var(--seconde-color);
    padding: .1em .2em;    
    white-space: nowrap;
}
p a{
    color: var(--tonic);
}
a:hover{
    color: var(--tonic);
    background-color: var(--color);
    box-shadow: 5px 5px 15px var(--tonic) !important;
}
a:active, a.return:active{
    color: var(--color);
    background-color: var(--tonic);
}
.logo{
    height: 1em;
    width: auto;
    position: absolute;
    top: .2em;
    left: 50%;
    transform: translate(-50%, 0);
}
.subtitle{
    padding-top: 1em;
    margin: 0 auto;
}

a:hover:not(a.return){
    text-decoration: underline var(--tonic);
}
p, li{
    font-size: 18pt;
    max-width: 50ch;
}
hr{
    color: var(--tonic);
    border: .05em solid var(--tonic);
}
.grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 4em;
}

.grid img:nth-child(3n){
    grid-column-start: 1;
    grid-column-end: 3;
}
.grid img:nth-child(2n){
    grid-column-start: 2;
    grid-column-end: 3;
}
img:not(.logo), article, .blog .return{
    box-shadow: 5px 5px 15px var(--seconde-color);
}
.default article, .default main{
    display: none;
}
.default .return{
    display: none;
}
.return{
    display: block;
    z-index: 10;
    font-size: 45pt;
    line-height: 1;
    position: fixed;
    top: 1.5em;
    right: 2em;
    background-color: var(--color);
}

@media screen and (max-width:900px) {
    header{
        font-size: 30pt;
    }
    a{
        white-space: inherit;
    }
    .blog main{
        max-width: 90vw;
    }
    .grid{
        grid-template-columns: repeat(1,1fr);
    }
    .return{
        font-size: 30pt;
        top: 1em;
        right: 1em;
    }
}