@font-face {
    font-family: Franklin-Demi-Cond;
    src: url(../fonts/ITCFranklinGothicStd-DmCd.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: auto;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: MrsEavesOT-Roman;
    src: url(../fonts/MrsEavesOT-Roman.otf);
}

:root {
    --marges: 0.4em;
    --outline: dashed 0.05em white;
    --nav-h: 90vh;
    --text-color: #3e1e11
}

.container {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.loading>h1 {
    margin-top: .4em;
}

.loading {

    font-size: 1.5em;
    position: relative;

    margin: 0;
    color: var(--text-color);




}

body {
    font-size: 17px;
    font-family: Franklin-Demi-Cond;
    line-height: 1.5em;
    text-transform: uppercase;
    margin: 0;
    color: var(--text-color);
    letter-spacing: 0.02em;
    background-color: rgb(255, 255, 255);
}

h1 {
    font-size: 1em;
    font-weight: 400;
    transition: all 0.2s ease-in-out;
    position: relative;
    height: 2em;
    text-align: left;
    margin-left: var(--marges);
}

ul {
    list-style-position: inside;
    padding-left: 0;
    margin: 0;
}

ul .sublist::-webkit-scrollbar {
    display: none;
}

ul li {
    list-style: none;
}

nav {
    font-size: 1.5em;
    list-style-position: inside;
    margin: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--marges);
    z-index: 400;
    position: relative;
}

picture img {
    width: 100%;
    display: block;

}


ul nav li {
    margin: 0;
    list-style: none;
}

nav a {
    cursor: pointer;
}

nav>*:not(.sublist) {
    margin-top: var(--marges)
}

ul.menu {
    grid-column: 2/7;
}

ul.type {
    grid-column: 6/7;
}

ul.sublist {
    top: calc(var(--marges) + 1em);
    height: auto;
    grid-column: 7/13;
    position: relative;
    z-index: 2000;
    pointer-events: none;
    mix-blend-mode: difference;
}

ul.sublist a {
    pointer-events: auto;
    display: table;
    text-decoration: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin-left: 0.1em;
}

ul.sublist a:hover,
.a.three:hover,
nav>ul>li>a:hover {

    text-decoration-style: dashed;
    text-decoration-color: var(--text-color);
    text-decoration-thickness: 2px !important;
    mix-blend-mode: normal;
}

@keyframes appearing {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


div.list-item {
    width: 50%;
    padding-left: calc(100vw / 12);
}

ul.sublist p.type {
    margin: 0;
    top: var(--marges);
    position: sticky;
}

ul.sublist a:first-of-type {}

ul.sublist a,
.stack:not(.containervideo),
.photos,
.containervideo,
.journal,
.description,
.informations {
    animation: appearing 0.6s forwards;
}

ul.sublist a.active {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: var(--text-color);
    text-decoration-thickness: 2px;
}

ul.sublist#livres {
    padding-top: 1em;
}

.signature.hidden {
    display: none;
}

.description.hidden {
    display: none;
}

.description>* {
    color: var(--text-color);
}

.description>p:first-child {
    margin-top: 0;
}

.description>p:last-child {
    padding-bottom: 1em;
}

.list-item.active {}

.description {
    padding-left: calc(100vw / 8);
    margin-right: var(--marges);
    top: calc(var(--marges) + 1em);
}

.description>*>a {
    text-decoration: underline !important;
    text-decoration-style: dashed !important;
    text-decoration-thickness: 2px !important;
    mix-blend-mode: normal;
    display: inline !important;
    padding-left: 0 !important;
}


ul.sublist.hidden,
.about.hidden {
    display: none;
}


img.background {
    top: 0;
    height: auto;
    z-index: 0;
    position: fixed;
    pointer-events: none;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.number {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInAndOut 2s ease-in-out forwards;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
}

.number p {
    color: #000000;
    font-family: Cartes;
    font-size: 30em;
    line-height: 0.9;
    text-align: center;
}

@keyframes carte {
    0% {
        transform: translate(65vw, 90vh) rotate(-65deg);
    }

    100% {
        transform: translate(0, 0) rotate(-5deg);
    }
}


.informations {
    display: block;
    text-align: center;
    margin: 1em 0 1em 0;
    word-spacing: -0.2ch;
}

.informations:empty {
    margin: 0em 0 0em 0;
}

.informations p {
    margin: 0;
}

.carte {
    width: 40vw;
    display: block;
    animation: carte 1.2s forwards;
    z-index: 400;
    position: fixed;
    top: 10vh;
    left: 40vw;
    outline: black;
    outline-color: black;
    outline-style: none;
    outline-width: medium;
    outline: black 1px dashed;
    background-color: #fafafa;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carte a:hover {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: var(--text-color);
    text-decoration-thickness: 1px;
}

.carte.hidden {
    display: none;
}

.signature,
.signature#desktop {
    color: #93786D !important;
}

.signature#desktop {
    font-size: 1.5em;
    z-index: 400;
    margin: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
    text-align: center;
}

.signature a {
    text-decoration: none;
    color: #93786D !important;
}

.about>* {
    display: none;
}

.journal {
    overflow: hidden;
    height: 80vh;
    width: 100vw;
    overflow: visible;
    position: fixed;
    top: 10vh;
    left: 0;
    z-index: 200;
    pointer-events: none;

}

.journal-img {
    pointer-events: all;
    max-width: 20vw;
    max-height: 20vw;
    width: auto;
    height: auto;
    position: absolute;
    animation-fill-mode: both;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    outline: 1px dashed white;
    background-color: var(--text-color);
    cursor: zoom-in;
}