@charset "UTF-8";

@font-face {
    font-family: "Basel Grotesk";
    src: url("/media-wip/font/BaselGrotesk-Bold.woff2") format('woff2');
}

:root {
    --text-color: rgb(255, 255, 255);
    --smooth-easing: cubic-bezier(0.8, 0, 0.3, 1);

}

body {
    font-family: "Basel Grotesk";

}

h2 {
    color: var(--text-color);
    font-size: 0.7em;
    transform: translateY(-20%);
}

.title {
    color: var(--text-color);
    padding-left: 10px;
}

.subtitle {
    color: var(--text-color);
    padding-left: 10px;
    padding-right: 10px;
}


#header-block-pt.blur {
    filter: blur(5px);
    opacity: 0.6;
}


.header {
    display: flex;
    position: fixed;
    box-sizing: border-box;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    mix-blend-mode: exclusion;


}

.header-block {
    display: flex;
    flex-direction: row;
    position: relative;
    height: 1.2em;
    align-items: center;
    filter: grayscale(100%);


}

#header-block-pt {
    transition: filter 0.3s --smooth-easing;

}


#header-block-projects {
    display: flex;
    align-items: center;
    /* Aligne verticalement le menu et le sous-titre */
}


.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    --webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.075, 0.82, 0.165, 1)
}

.background.background-active {
    opacity: 1;

}

#dropdown-project-menu {
    position: absolute;
    left: 0;
    top: 0;

    display: flex;
    flex-direction: column;
    width: auto;
    min-width: fit-content;
    height: 1em;
    overflow: hidden;

    transition:
        height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
}

#dropdown-project-placeholder {
    height: 1em;
    /* La largeur est gérée en JS */
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    visibility: hidden;
}

.subtitle {
    white-space: nowrap;
}


#dropdown-project-menu .menu-track {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Suppression du positionnement relatif interne s'il y en avait */
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;

    /* Optimisation performance */
}

#dropdown-project-menu .title {
    line-height: 1em;
    height: 1em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.1s ease;

}




.container {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    flex-direction: column;
    box-sizing: border-box;
    overflow-y: auto;
    flex-wrap: nowrap;
    /* background-color: rgb(64, 137, 55); */

}


.project {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    /* transform: scale(.9); */
    border-radius: 10px;
    transition: border-radius 0.4s ease;
    transition: opacity 0.4s ease;
    overflow: hidden;



}

.project.is-active {
    opacity: 1;
    /* transform: scale(1); */
    border-radius: 0px;
    transition: transform 0.4s ease;






}


.project-tn {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}