html {
    scroll-behavior: smooth;
    background-color: #f0f0f0;
    --plan-depth-opacity-step: 0;
    --plan-depth-opacity-min: 0;
    --plan-depth-blur-step: 50;
    --plan-depth-blur-max: 100;
}


#canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    opacity: 1;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--ds-font-body);
    background-position: fixed;
    background-repeat: repeat-y;
    background-size: contain;
    /* background-position-y: 20vh; */
    cursor: context-menu;
    overflow-x: hidden;
    background-color: #f0f0f0;
    /* background-blend-mode: color-dodge; */
}

.index-cards-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 30;
}


.index-cards-layer .floating-video {
    pointer-events: auto;
}

.index-cards-layer .floating-video[data-card-interactive="0"],
.index-cards-layer .floating-video[data-card-interactive="0"] * {
    pointer-events: none !important;
}

html[data-active-plan-level="0"] .index-cards-layer {
    z-index: -1 !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

html[data-active-plan-level="0"] .index-cards-layer .floating-video,
html[data-active-plan-level="0"] .index-cards-layer .floating-video * {
    pointer-events: none !important;
}

html[data-plan0-transition-lock="1"] .index-cards-layer {
    z-index: -1 !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

html[data-plan0-transition-lock="1"] .index-cards-layer .floating-video,
html[data-plan0-transition-lock="1"] .index-cards-layer .floating-video * {
    pointer-events: none !important;
}

.index-card-placeholder {
    pointer-events: none;
}

/*
.mode-clair-corps {
    background-color: #01010100;
}

.light-mode-floating-video {
        border: 1px solid white;
    background: rgb(255 255 255 / 50%);
} */

/*

div:hover > #mousetext {
  display : block;

}

#mousetext{
  display:none;
  position:fixed;
  font-style: italic;
  font-size:var(--type-body-xl);
  font-weight: var(--weight-bold);
  color: red;
} */


.mobile-visible {
    visibility: hidden !important;
    display: none !important;
}

/* Smartphone Portrait and Landscape */
@media only screen and (max-device-width : 890px) {
    .mobile-visible {
        visibility: visible !important;
        display: block !important;
    }
}

.mobile-masque {
    visibility: visible !important;
    display: block;
}

/* Smartphone Portrait and Landscape */
@media only screen and (max-device-width : 890px) {
    .mobile-masque {
        visibility: hidden !important;
        display: none !important;
    }
}


section,
header {
    display: block;
}

#container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

#content {
    transform: scale(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

section {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

#plan0 {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
}

html[data-active-plan-level="0"] #content > section#plan0,
html[data-plan0-transition-lock="1"] #content > section#plan0,
html[data-plan0-foreground-visible="1"] #content > section#plan0 {
    z-index: 140 !important;
    isolation: isolate;
}

#plan1 {
    visibility: hidden;
}

#plan2 {
    visibility: hidden;
}

#plan3 {
    visibility: hidden;
}

#plan4 {
    visibility: hidden;
}

#plan5 {
    visibility: hidden;
}

.plan-outro {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.plan-outro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
    z-index: 10;
    contain: none;
    overflow: visible;
}

.plan-outro-text {
    font-size: var(--type-section-title);
    font-weight: var(--weight-medium);
    color: var(--theme-accent);
    margin: 0;
}

.scroll {
    bottom: 15vh;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1%;
    cursor: none;
}

.scroll-animation {
    width: 25px;
    height: auto;
    transition: .8s;
}

.animation-mobile {
    width: 8vh;
    transform: rotate(180deg) scaleX(-1);
    opacity: 100 !important;
    bottom: 9vh;
    position: absolute;
}

.scroll-texte {
    position: absolute;
    font-size: var(--type-meta);
    color: var(--theme-accent);
    opacity: 0;
    transition: .8s;
    visibility: hidden;
    font-weight: var(--weight-regular);
    text-decoration: none;
    cursor: none;
}

.scroll:hover .scroll-texte {
    opacity: 1;
    visibility: visible;
    letter-spacing: 5px;
    font-weight: var(--weight-medium);
}

.scroll:hover .scroll-animation {
    opacity: 0.2;
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 8vh;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 9;
    width: 48px;
    height: 72px;
    color: #ffffff;
    pointer-events: auto;
    text-decoration: none;
    transition: transform 260ms ease;
}

.scroll-hint:hover {
    transform: translateX(-50%) translateY(3px);
}

.scroll-hint-icon {
    width: 28px;
    height: 52px;
    display: block;
    animation: scroll-hint-arrow-bob 1.6s ease-in-out infinite;
}

@keyframes scroll-hint-arrow-bob {
    0%,
    100% {
        opacity: 0.92;
        transform: translateY(-1px);
    }
    50% {
        opacity: 0.92;
        transform: translateY(8px);
    }
}

/* nav */

#nav {
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 100 !important;
    text-align: center;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: var(--rs-nav-bottom-final, clamp(16px, 3vh, 44px));
    opacity: 1;
    visibility: visible;
    transition:
        bottom 260ms ease,
        transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease,
        visibility 0s linear 0s;
}

html[data-active-plan-level="0"] #nav {
    transform: translate3d(0, calc(100% + var(--rs-nav-bottom-final, clamp(16px, 3vh, 44px)) + 24px), 0);
    pointer-events: none !important;
    transition:
        bottom 260ms ease,
        transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease,
        visibility 0s linear 0s;
}

html[data-plan0-transition-lock="1"] #nav {
    transform: translate3d(0, calc(100% + var(--rs-nav-bottom-final, clamp(16px, 3vh, 44px)) + 24px), 0);
    pointer-events: none !important;
    transition:
        bottom 260ms ease,
        transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease,
        visibility 0s linear 0s;
}

#nav ul {
    margin: 0;
    padding: 0;
}

#navig {
    position: fixed !important;
}

#nav li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

#nav li a {
    text-decoration: none;
    background: var(--theme-accent-soft-strong);
    padding: 1px 14px;
    border-radius: 30px;
    margin: 1px;
    font-size: var(--type-meta);
    transition: .5s;
    display: inline-block;
    height: 8px;
    line-height: 10px;
}

#nav li a:hover {
    background: var(--theme-accent-soft-heavy);
    padding: 4px 14px !important;
    font-size: var(--type-meta);
}

#nav li a.current {
    background: var(--theme-accent);
    padding: 1px 23px;
    font-size: var(--type-meta);
}

#nav li a.current:hover {
    padding: 4px 23px !important;
}

#sec:hover a {
    font-size: var(--type-body-lg) !important;
    padding: 2px 14px;
}

#sec:hover a.current {
    padding: 2px 23px;
}

#nav-inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#bar {
    display: flex;
    /*  position: absolute;*/
    justify-content: center;
    align-items: center;
    /* left: calc(53% - 189px/2 - 0.5px); */
    bottom: 0;
    position: relative;
    height: 45px;
    padding: 15px 15px;
    box-sizing: border-box;
    overflow: visible;
    border-radius: 12px;
    border: 2px solid #ffffff;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.2);
}

#sec {
    opacity: 1;
    padding-top: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 100%;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 101;
    color: var(--theme-accent);
    transition: 300ms ease;
}

.nav-arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

.nav-arrow::before {
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    background: currentColor;
    -webkit-mask: url('/assets/icon/return.svg') center / contain no-repeat;
    mask: url('/assets/icon/return.svg') center / contain no-repeat;
}

.nav-arrow img {
    display: none;
}

.nav-arrow-prev {
    right: calc(100% + 10px);
}

.nav-arrow-next {
    left: calc(100% + 10px);
}

.nav-arrow-next::before {
    transform: scaleX(-1);
}

.nav-arrow.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

html.debug-hide-nav-arrows .nav-arrow {
    display: none !important;
}

.haut {
    display: flex;
    position: absolute;
    justify-content: center;
    right: calc(48% - 189px/2 - 0.5px);
    align-items: center;
    bottom: -20px;
}

#toggle {
    position: absolute;
    z-index: 99 !important;
    height: 40px;
    backdrop-filter: blur(6px);
    border-radius: 9px;
    box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.2);
    transition: 500ms ease;
    cursor: pointer;

}

.haut a img {
    position: absolute;
    z-index: 90 !important;
    height: 40px;
    backdrop-filter: blur(6px);
    border-radius: 9px;
    box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 500ms ease;
    transform-origin: bottom left;
    filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.562);
}

.haut a img:hover {
    background-color: white;
    transition-delay: 0s !important;
    transform: scale(1.03) !important;
}

.zone-haut {
    width: 40px;
    height: 40px;
    background-color: red;
    z-index: 80;
    transform-origin: bottom left;
    opacity: 0;
}

#toggle:hover~.zone-haut {
    transform: scaleX(5) scaleY(3.5);
}

.zone-haut:hover {
    transform: scaleX(5) scaleY(3.5);
}

#menu-1 img {
    right: -120px;
    bottom: 60px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(60px) translateX(-20px) scaleX(.2);
    transition-delay: .2s;
}

#menu-2 img {
    bottom: 115px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(115px) translateX(-40px) scaleX(.2);
    transition-delay: .2s;
}

.haut:hover #menu-1 img {
    opacity: 1;
    transform: translateY(0vh) translateX(0px);
    transition-delay: 0s;
    visibility: visible;
    filter: blur(0px);
}

.haut:hover #menu-2 img {
    opacity: 1;
    transform: translateY(0vh) translateX(0px);
    transition-delay: .08s;
    visibility: visible;
    filter: blur(0px);
}

.menu {
    display: flex;
    position: absolute;
    justify-content: center;
    bottom: 87vh;
    right: 4vw;
    align-items: center;
}

.menu img {
    position: absolute;
    z-index: 99 !important;
    height: 40px;
    backdrop-filter: blur(6px);
    border-radius: 9px;
}

.presentation {
    left: 5vw;
    padding: 50px;
    margin: 0;
    /* width: 40vw; */
    z-index: 11;
    text-align: center;
}

.presentation h1 {
    color: #fff;
    font-style: normal;
    font-weight: var(--weight-regular);
    font-size: var(--type-display-hero);
    contain: paint;
}



#pres-under {
    z-index: 10;
    color: rgba(0, 0, 0, 0);
}

#pres-under span {
    -webkit-box-shadow: 0px 0px 25px 25px #f1f1f1f1;
    box-shadow: 0px 0px 25px 25px #f1f1f1bd;
    background: #f1f1f1bd;
}

#pres-under span span {
    -webkit-box-shadow: 0px 0px 30px 10px #ffffff00;
    box-shadow: 0px 0px 30px 10px #ffffff00;
    background: #ffffff00;
    color: rgba(0, 0, 0, 0);
}

#pres-under #hand {
    opacity: 0;
}


.presentation h1 span span {
    color: #ffffff;
    font-weight: var(--weight-medium);
    background: #ffffff00;
}

.bouton {
    width: auto;
    min-height: var(--ui-btn-min-height, 48px);
    padding: var(--ui-btn-padding-y, 12px) var(--ui-btn-padding-x, 24px);
    font-size: var(--type-ui-button);
    font-weight: var(--weight-medium);
    transition: 300ms ease;
    border-radius: var(--ui-btn-radius, 10px);
    color: #fff;
    /* filter: grayscale(1) brightness(1.5); */
}

.home-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    contain: none;
    overflow: visible;
}

#btncontact {
    margin-left: 50px;
}

.home-project-links-shell {
    width: min(920px, 88vw);
    margin: 28px auto 0;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(7, 7, 7, 0.42);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.home-project-links-title {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.84rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-project-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.home-project-link,
.home-project-link:visited {
    display: flex;
    flex: 1 1 210px;
    min-width: min(100%, 210px);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.home-project-link:hover,
.home-project-link:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.home-project-link__title {
    font-size: 1rem;
    font-weight: var(--weight-medium);
    line-height: 1.35;
    text-align: left;
}

.home-project-link__meta {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.home-project-link-empty {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .home-project-links-shell {
    border-color: rgba(18, 18, 18, 0.09);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46)),
        rgba(255, 255, 255, 0.64);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-project-links-title {
    color: rgba(18, 18, 18, 0.54);
}

html[data-theme="light"] .home-project-link,
html[data-theme="light"] .home-project-link:visited {
    color: #101010;
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(18, 18, 18, 0.08);
}

html[data-theme="light"] .home-project-link:hover,
html[data-theme="light"] .home-project-link:focus-visible {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(18, 18, 18, 0.14);
}

html[data-theme="light"] .home-project-link__meta,
html[data-theme="light"] .home-project-link-empty {
    color: rgba(18, 18, 18, 0.58);
}

@media (max-width: 720px) {
    .home-project-links-shell {
        width: min(92vw, 640px);
        padding: 15px;
        margin-top: 22px;
    }

    .home-project-quicklinks {
        gap: 10px;
    }

    .home-project-link,
    .home-project-link:visited {
        flex-basis: 100%;
        min-width: 0;
    }
}


/*
    #btndiscute::before {
        position: absolute;
        content: "";
        background: #ffffff9e;
        transition-duration: 0.3s;
        z-index: -1;
        inset: -12.5% 0px 0px -2.5%;
        width: 0px;
        height: 125%;
        opacity: 1;
        border-radius: 14px;
    } 

    #btndiscute:hover::before {
        width: 105%;
        height: 125%;
        opacity: 1;
        
    } */


.bouton:hover {
    transition: 300ms ease;
}






.emoji {
    position: relative;
    height: 1.2em;
    width: auto;
    bottom: -2.5px;
    margin-left: 0.3vw;
    margin-right: 0.3vw;
}

@keyframes handshake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}





.c3 {
    /* position: absolute;*/
    transition: transform 380ms ease, opacity 380ms ease;
}

.img {
    background: hsla(0, 0%, 0%, 0.3);
    color: white;
    text-align: center;
    height: 100%;
    font-size: var(--type-display-hero-accent);
}

/* step 2 */

.csstransforms #content {
    position: absolute;
    width: 90vw;
    height: 100vh;
    left: 5vw;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.csstransforms section {
    position: absolute;
}

.csstransforms #plan1 {
    -webkit-transform: scale(0.3333);
    -moz-transform: scale(0.3333);
    -o-transform: scale(0.3333);
    transform: scale(0.3333);
}

.csstransforms #plan2 {
    -webkit-transform: scale(0.1111);
    -moz-transform: scale(0.1111);
    -o-transform: scale(0.1111);
    transform: scale(0.1111);
}

.csstransforms #plan3 {
    -webkit-transform: scale(0.0370333333333333);
    -moz-transform: scale(0.0370333333333333);
    -o-transform: scale(0.0370333333333333);
    transform: scale(0.0370333333333333);
}

.csstransforms #plan4 {
    -webkit-transform: scale(0.0123444444444444);
    -moz-transform: scale(0.0123444444444444);
    -o-transform: scale(0.0123444444444444);
    transform: scale(0.0123444444444444);
}

.csstransforms #plan5 {
    -webkit-transform: scale(0.0041148148148148);
    -moz-transform: scale(0.0041148148148148);
    -o-transform: scale(0.0041148148148148);
    transform: scale(0.0041148148148148);
}

.csstransforms #plan6 {
    -webkit-transform: scale(0.0013716049382716);
    -moz-transform: scale(0.0013716049382716);
    -o-transform: scale(0.0013716049382716);
    transform: scale(0.0013716049382716);
}


/* step 3 */

/* set arbitrary height on proxy scroller */

.csstransforms #scroller {
    height: 4000px;
}

/* prevent content from scrolling */
.csstransforms #wrap {
    position: fixed;
    width: 100%;
}


.arriere-flou {
    width: 100%;
    height: 100%;
    filter: blur(80px);
    border-radius: 8px;
    backdrop-filter: blur(12px);
}

.video-poster-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.video-poster-container video,
.video-poster-container .index-card-poster-image {
    width: auto;
    height: 36vh;
    min-height: 290px;
    transition: 600ms ease-in-out;
}

.video-poster-container .index-card-poster-image {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.video-poster-container video:not([src]),
.video-poster-container video[src=""] {
    opacity: 0;
    visibility: hidden;
}

.video-poster-container video:not([src]) + .index-card-poster-image,
.video-poster-container video[src=""] + .index-card-poster-image {
    opacity: 1;
    visibility: visible;
}

.floating-video.show-static-poster .video-poster-container .index-card-poster-image {
    opacity: 1;
    visibility: visible;
}

.floating-video.show-static-poster .video-poster-container video {
    opacity: 0;
    visibility: hidden;
}





.vertical:hover {
    background-size: 111% auto;
    background-repeat: no-repeat;
    background-position: center;
}

.video-block:hover .lecture {
    opacity: 0;
    width: 3vh;
    transition: 200ms ease-in-out 0ms;
}

.video-block:hover .titre-video {
    opacity: 1;
    transform: translatey(-2vh);
    transition: 300ms ease-in-out 100ms;
}

.video-block:hover .type-video {
    opacity: 1;
    transform: translatey(0vh);
    transition: 300ms ease-in-out 200ms;
}

.video-block:hover #video-button1 {
    opacity: 1;
    transform: translatey(7vh);
    transition: 300ms ease-in-out 300ms;
}

.video-block:hover .color-overlay {
    opacity: 0.8;
}

.type-video {
    font-family: var(--ds-font-brand);
    font-weight: var(--weight-regular);
    color: #ffffff;
}

.type-video .info-date,
.type-video .info-date::before {
    color: #ffffff;
    opacity: 1;
    font-weight: inherit;
}

.lecture {
    transition: 200ms ease-in-out 150ms;
    font-size: var(--type-display-hero);
    z-index: 3;
    width: 4vh;
    opacity: 1;
    filter: drop-shadow(0px 0px 35px #000);
    display: none;
}

.video-block h2 {
    margin: 7%;
    position: absolute;
    color: white;
    font-size: var(--type-card-title);
    font-weight: var(--weight-regular);
    opacity: 0;
    transition: 300ms ease-in-out 0ms;
    transform: translatey(-1vh);
    letter-spacing: 0.03em;
    z-index: 3;
    left: 5px;
    bottom: 40px;
    line-height: normal;
}

.video-block h3 {
    margin: 7%;
    position: absolute;
    color: white;
    font-size: var(--type-body-sm);
    font-weight: var(--weight-regular);
    opacity: 0;
    transition: 300ms ease-in-out 100ms;
    transform: translatey(1vh);
    letter-spacing: 0.01em;
    z-index: 3;
    left: 5px;
    bottom: 20px;
}

.video-block .bouton-action {
    position: absolute;
    transition: 300ms ease-in-out 200ms;
    transform: translatey(9vh);
    opacity: 1;
}

.apercu-video {
    height: 38vh;
    position: absolute;
}

.bouton-action {
    border-radius: var(--ui-btn-radius, 10px);
    letter-spacing: 0.01em;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.color-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(0deg, rgb(0 0 0) 27%, rgb(0 0 0 / 36%) 100%);
    transition: 500ms ease-in-out;
}

.en-construction {
    filter: grayscale(1);
    opacity: .5;
    cursor: help !important;
}

.en-construction .top-bar,
.en-construction .top-bar-title,
.en-construction a {
    cursor: help !important;
}


.animation-fond {
    margin-top: -20vh;
    z-index: -1;
    position: relative;
    width: 30%;

}


#filtre {
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 30px;
}

.bouton-filtre {
    font-family: var(--ds-font-body);
    font-size: var(--type-body);
    padding: 6px 20px;
    color: var(--theme-accent);
    border-radius: 8px;
    border: 2px solid #ffffff;
    background: #ffffff69;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    text-decoration: none;
    margin-right: 15px;
    margin-left: 15px;

}

.bouton-filtre:active {
    background-color: var(--theme-accent);
    color: white;
}




::-moz-selection {
    color: var(--theme-selection-text, var(--theme-accent));
    background-color: var(--theme-selection-bg, rgba(18, 18, 18, 0.14));
}

::selection {
    color: var(--theme-selection-text, var(--theme-accent));
    background-color: var(--theme-selection-bg, rgba(18, 18, 18, 0.14));
}



#page-bio {
    /*  display: grid;
        grid-template-areas: "bio form";
        padding-right: 30vh;
        padding-left: 30vh;
        padding-top: 20vh;
        grid-gap: 30px; */
    display: flex;
    /*  padding: 15vh 20vw 0 20vw;*/
    grid-gap: 13vw;
    flex-direction: row-reverse;
    margin: auto;
    /* plan 4 */
    margin-top: 30vh;
    width: 60vw;
    align-items: center;
}

#description-moi {
    flex: 2;
}

#plan6 {
    display: flex;
}

#txt-bio {
    grid-area: bio;
    line-height: 2em;
    backdrop-filter: blur(12px);
    border-radius: 8px;
    border: 3px solid white;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 48px rgba(0, 0, 0, 0.07);
    padding: 4vh;
}

#contact-form {
    grid-area: form;
    /*
        width: 100vw;
        height: 100vh;
        
        backdrop-filter: blur(12px);
        border-radius: 8px;
        border: 3px solid white;
        background: rgba(255, 255, 255, 0.5);
        box-shadow: 0px 0px 48px rgba(0, 0, 0, 0.07);
        padding: 4vh;
        */
    display: flex;
    align-items: center;
    justify-content: center;
}


input[type=text],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #4b4b4b96;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit] {
    background-color: #222222;
    color: white;
    font-weight: var(--weight-medium);
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 300ms;
}

input[type=submit]:hover {
    background-color: var(--theme-accent);
}

#at {
    margin-right: 1vw;
    margin-top: 4vh;
}

#insta {
    margin-right: 1vw;
}

#intro {
    margin-bottom: 3vh;
    font-size: var(--type-section-title);
    font-weight: var(--weight-medium);
    line-height: 1.6;
}

#intro span {
    font-size: var(--type-body-xl);
    font-weight: var(--weight-light);
}

#txt {
    font-size: var(--type-body-xl);
    line-height: 1.6em;
    color: #535353;
}

#txt a {
    color: var(--theme-accent);
    font-weight: var(--weight-medium);
    transition: 200ms;
}

#txt a:hover {
    color: #222222;
    font-weight: var(--weight-medium);
}

/*
    #page-bio img {
        width: 2vw;
        opacity: 0.9;
        transition: 700ms;
    }*/

#page-bio a {
    text-decoration: none;
}

#atat {
    text-align: right;
}

#instainsta {
    text-align: center;
}

#inin {
    text-align: left;
}

#page-bio img:hover {
    opacity: 1;
    transform: scale(1.05);
}

#bio {
    background-position-y: -35vh;
}

.vid {
    display: flex;
    justify-content: center;
}

.info-date::before {
    content: " • ";
}








/***********MEDIA QUERIES********* -------------------------------*/
/* PHONE */

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

    body {
        /* background-size: auto; */
        background-position-y: 0;
    }

    

    #bar:hover #sec a {
        font-size: var(--type-meta) !important;
        padding: 0px 14px;
    }

    #nav li a:hover {
        background: var(--theme-accent);
        padding: 0px 14px !important;
        font-size: var(--type-meta);
    }

    .csstransforms #wrap {
        transform: translateY(-8vh);
    }

    #btndiscute {
        margin: 80px 0 0 0;
        font-size: var(--type-ui-button);
        padding: 8px 34px;
    }
    

    #btncontact {
        margin: 15px 0 0 0;
        font-size: var(--type-ui-button);
        padding: 8px 35px;
    }

    .home-buttons {
        align-items: baseline;
        display: flex;
        align-items: baseline;
        justify-content: center;
        flex-wrap: wrap;
        
    }

    #plan0 {
        height: 110%;

    }

    

    .presentation h1 {
        font-size: var(--type-display-hero);
        font-weight: var(--weight-medium);
        line-height: 1.5em;
        margin-bottom: 0;
    }

    .presentation h1 span span {
        font-weight: var(--weight-bold);
        font-size: var(--type-display-hero-accent);
    }

    .video-poster-container video,
    .video-poster-container .index-card-poster-image {
        width: auto;
        height: 36vh;
        min-height: 290px;
    }

    .video-block:hover .video-poster-container video,
    .video-block:hover .video-poster-container .index-card-poster-image {
        height: 45vh;
    }

    .gauche-haut {
        margin: 1%;
        position: absolute;
        top: 18vh;
        left: 5vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    .gauche-bas {
        margin: 1%;
        position: absolute;
        bottom: 8vh;
        left: 5vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    .droite-haut {
        margin: 1%;
        position: absolute;
        top: 18vh;
        right: 5vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    .droite-bas {
        margin: 1%;
        position: absolute;
        bottom: 8vh;
        right: 5vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    #page-bio {
        align-items: center;
        width: 80vw;
        grid-gap: 6vw;
        flex-direction: column;
        padding-top: 10vh;
    }

    .portrait-flottant {
        display: none;
        width: 80vw !important;
        height: 20vh !important;
        min-width: 100px;
    }

    .top-bar p {
        margin-top: 12px;
        margin-bottom: 12px;
        font-size: var(--type-meta);
    }

    .video-block {
        top: 30px;
    }

    .presentation {
        padding: 100px 30px 30px 30px;  
        width: 100%;
    }

    #txt-bio {
        padding: 3vw;
    }

    #intro {
        font-size: var(--type-body-lg);
    }

    #intro span {
        font-size: var(--type-label);
    }

    #txt {
        font-size: var(--type-body);
    }

    #myVideo {
        position: fixed;
        z-index: -1;
        width: auto;
        height: 80vh;
        transform: rotate(90deg);
        opacity: .6;
    }

    #nav li a {
        background: var(--theme-accent-soft-strong);
    }

    .haut {
        left: 85vw;
        display: none;
    }

    .video-block h2 {
        font-size: var(--type-card-title);
        font-weight: var(--weight-semibold);
        line-height: 1.1em;
        bottom: 20px;
    }

    .video-block h3 {
        font-size: var(--type-caption);
        font-weight: var(--weight-regular);
        line-height: 1.1em;
        bottom: 4px;
    }

    #titre-contact {
        padding: 17vh 10vw 14vh 10vw;
    }

    #pres-top {
        margin-right: 0;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .csstransforms #content {
        width: 100vw;
        left: 0;
    }




}

/* DESKTOP */

@media only screen and (min-width: 890px) and (max-width: 1500px) {

    .csstransforms #content {
        width: 100vw;
        left: 0;
    }

    .color-overlay {
        background: linear-gradient(0deg, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 30%) 100%);
    }

    .presentation {
        padding-left: 20vw;
        padding-right: 20vw;
    }

    .presentation h1 {
        font-size: var(--type-display-hero);
        line-height: 5.5vw;
    }

    .video-poster-container video,
    .video-poster-container .index-card-poster-image {
        width: auto;
        height: 36vh;
        min-height: 290px;
    }

    .video-block:hover .video-poster-container video,
    .video-block:hover .video-poster-container .index-card-poster-image {
        height: 45vh;
    }

    .gauche-haut {
        margin: 4vh;
        margin-top: -10vh;
        position: absolute;
        top: 12vh;
        left: 5vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    .gauche-bas {
        margin: 4vh;
        margin-bottom: -10vh;
        position: absolute;
        bottom: 12vh;
        left: 5vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    .droite-haut {
        margin: 4vh;
        margin-top: -10vh;
        position: absolute;
        top: 12vh;
        right: 5vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    .droite-bas {
        margin: 4vh;
        margin-bottom: -10vh;
        position: absolute;
        bottom: 12vh;
        right: 5vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    #page-bio {
        align-items: center;
        width: 70vw;
        grid-gap: 8vw;
    }

    .portrait-flottant {
        width: 25vw !important;
        height: 35vh !important;
        min-width: 250px;
    }

    #myVideo {
        min-width: 100vw;
        min-height: 100vh;
        z-index: -1;
        position: fixed;
        opacity: .6;
    }



    #intro {
        font-size: var(--type-body-xl);
        line-height: 1.5;
    }

    #intro span {
        font-size: var(--type-body-xl);
    }

    #txt {
        font-size: var(--type-body-lg);
        line-height: 1.6;
        color: #535353;
    }

    .scroll h2 {
        font-size: var(--type-body);
        line-height: 2vw;
        font-weight: var(--weight-light);
        position: fixed;
        bottom: 3vh;
        color: #222222;
    }

    .scroll {
        bottom: 11vh;
    }

    .video-block h2 {
        font-size: var(--type-card-title);
        line-height: 1.3em;
    }

    

}


/* MAX MAX */

@media only screen and (min-width: 1500px) {

    .presentation h1 {
        font-size: var(--type-display-hero);
        line-height: 3.5vw;
    }

    .scroll h2 {
        font-size: var(--type-body);
        line-height: 2vw;
        font-weight: var(--weight-light);
        position: fixed;
        bottom: 9vh;
        color: #222222;
    }

    .video-poster-container video,
    .video-poster-container .index-card-poster-image {
        width: auto;
        height: 36vh;
        min-height: 290px;
    }

    .video-block:hover .video-poster-container video,
    .video-block:hover .video-poster-container .index-card-poster-image {
        height: 45vh;
    }

    .video-verticale {
        width: 20vw;
        max-width: 1000px;
        max-height: 545px;
        height: 60vh;
        min-height: 350px;
        border: 3px solid white;
        transform: translate(0px, 0px);
    }

    .gauche-haut {
        margin: 4vh;
        margin-top: -10vh;
        position: absolute;
        top: 15vh;
        left: 10vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    .gauche-bas {
        margin: 4vh;
        margin-bottom: -10vh;
        position: absolute;
        bottom: 15vh;
        left: 10vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    .droite-haut {
        margin: 4vh;
        margin-top: -10vh;
        position: absolute;
        top: 15vh;
        right: 10vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    .droite-bas {
        margin: 4vh;
        margin-bottom: -10vh;
        position: absolute;
        bottom: 15vh;
        right: 10vw;
        transition: transform 380ms ease, opacity 380ms ease;
    }

    #myVideo {
        min-width: 100vw;
        min-height: 100vh;
        z-index: -1;
        position: fixed;
        opacity: .6;
    }









}

/* Low performance fallback */
html.low-perf #plan1,
html.low-perf #plan2,
html.low-perf #plan3,
html.low-perf #plan4,
html.low-perf #plan5 {
    visibility: visible !important;
}

html.low-perf * {
    cursor: auto !important;
}
