* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --lang-btn-left: 84.1%;
    --index-btn-left: 92.8%;
}

body {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow: hidden;
    height: 100vh;
}

.header_flex_container {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 1vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    z-index: 10;
    transition: transform 0.3s ease;
}

.header_left {
    display: flex;
    align-items: flex-start;
    flex: 0 0 auto;
}

.header_text_logo {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1vw;
    line-height: 1.05;
    color: black;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 0.8vw;
    cursor: pointer;
}

.header_text_logo .name,
.header_text_logo .role {
    color: black;
}

.header_text_logo .role {
    font-weight: normal;
    font-size: 1vw;
}

.header_right {
    display: flex;
    align-items: flex-start;
    gap: 0.8vw;
    flex: 0 0 auto;
}

.indexbutton {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    color: black;
    position: fixed;
    left: var(--index-btn-left);
    top: 1vw;
    z-index: 11;
}

.langbutton {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.indexbutton h1,
.langbutton h1 {
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    margin: 0;
}

.langbutton-fixed {
    position: fixed;
    left: var(--lang-btn-left);
    top: 1vw;
    z-index: 11;
}

.contactpage {
    text-decoration: none;
    color: black;
}

.contactbutton {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.contactbutton h1 {
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    margin: 0;
}

.header_flex_container h1 {
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    margin: 0;
}

.a_propos_flex_container {
    display: flex;
    width: 100%;
    height: calc(100vh - var(--header-height, 3vw));
    gap: 0vw;
    overflow: hidden;
}

.body_left, .body_right {
    flex: 1 1 50%;
    height: 100%;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2vw;
    transition: flex 0.3s ease, width 0.3s ease, opacity 0.3s ease;
    min-width: 0;
}

.body_left {
    margin-right: 0.2vw;
}

.body_left::-webkit-scrollbar,
.body_right::-webkit-scrollbar,
.body_description::-webkit-scrollbar,
.body_index::-webkit-scrollbar {
    display: none;
}

.a_propos_flex_container.description-open .body_left,
.a_propos_flex_container.description-open .body_right,
.a_propos_flex_container.index-open .body_left,
.a_propos_flex_container.index-open .body_right {
    width: 40%;
}

.a_propos_flex_container.contact-open .body_left {
    flex: 0 0 50%;
    width: 50%;
    transition: none;
}

.a_propos_flex_container.contact-open .body_right {
    flex: 0 0 0%;
    width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.body_left.no-transition,
.body_right.no-transition {
    transition: none !important;
}

.body_description {
    width: 0;
    height: 100%;
    overflow: hidden;
    padding: 0;
    background: white;
    transition: width 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    margin-left: 0;
    position: relative;
}

.body_description.open {
    width: 20%;
    padding: 0vw 1vw 2vw 1vw;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    margin-left: 0;
}

.description-content {
    padding: 0vw 0vw 0vw 0vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.description-content::-webkit-scrollbar {
    display: none;
}

.body_description.open .description-content {
    opacity: 1;
    transform: translateY(0);
}

.description-text {
    flex-grow: 1;
}

.description-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1vw;
}

.description-header h2 {
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    margin: 0;
}

.project-date {
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    color: black;
    align-self: flex-start;
}

.description-content p {
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    margin-bottom: 1vw;
}

.description-separator {
    width: 100%;
    height: 0px;
    background-color: black;
    margin: 1vw 0;
}

.description-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2vw;
    line-height: 1;
    padding-bottom: 1vw;
}

.category-tag {
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: black;
}

.category-tag:not(:last-child)::after {
    content: ",";
    margin-right: 0.2vw;
}

.body_index {
    width: 0;
    height: 100%;
    overflow: hidden;
    padding: 0;
    background: white;
    transition: width 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    margin-left: 0;
    position: relative;
}

.body_index.open {
    width: 20%;
    padding: 0vw 1vw 2vw 1vw;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    margin-left: 0;
}

.index-content {
    padding-left: 0vw;
    flex-grow: 1;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.index-content::-webkit-scrollbar {
    display: none;
}

.body_index.open .index-content {
    opacity: 1;
    transform: translateY(0);
}

.category-item {
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    margin-bottom: 0.2vw;
    cursor: pointer;
    color: black;
    transition: opacity 0.2s ease;
}

.category-item.active {
    text-decoration: underline;
}

.close-btn {
    position: absolute;
    bottom: 1vw;
    left: 1vw;
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    color: black;
    text-align: left;
    width: fit-content;
    z-index: 2;
}

.image-container {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.image_pageprojet {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.image-number {
    position: absolute;
    top: 0.5vw;
    left: 0.5vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1vw;
    line-height: 1.05;
    color: white;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 1;
}

.textfixed {
    position: sticky;
    top: 6vw;
    padding-right: 4vw;
}

.logo {
    height: 2.5vw;
    width: auto;
    display: block;
}

.index-columns {
    display: flex;
    gap: 2.58vw;
}

.index-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-mobile-role {
    display: none;
}
.body_contact {
    position: fixed;
    top: var(--header-height, 3vw);
    right: 0;
    width: 0;
    height: calc(100vh - var(--header-height, 3vw));
    overflow: hidden;
    padding: 0;
    background: white;
    transition: width 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    z-index: 5;
}

.body_contact.open {
    width: 50%;
    padding: 0.2vw 1vw 2vw 1vw;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.body_contact::-webkit-scrollbar {
    display: none;
}

.contact-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.contact-content::-webkit-scrollbar {
    display: none;
}

.body_contact.open .contact-content {
    opacity: 1;
    transform: translateY(0);
}

.contact-columns {
    display: flex;
    gap: 2.58vw;
}

.contact-column {
    flex: 1;
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    color: black;
}

.contact-column a {
    color: inherit;
    text-decoration: none;
}

.contact-column-right {
    display: flex;
    flex-direction: column;
}

.contact-copyright {
    position: absolute;
    bottom: 1vw;
    left: calc(50% + 1.29vw);
    font-size: 1vw;
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    color: black;
}

@media (max-width: 768px) {

    body {
        overflow: auto;
        height: auto;
    }

    
    .header_flex_container {
        padding: 4vw 4vw 3vw 4vw;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 0;
    }

    .header_left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .header_right {
        flex: 0 0 auto;
        gap: 4vw;
    }

    .header_text_logo {
        font-size: 14px;
        gap: 2vw;
        line-height: 1.3;
        flex-wrap: wrap;
    }

    .header_text_logo .name {
        font-size: 14px;
        line-height: 1.3;
    }

    .header_text_logo .role {
        display: none;
    }

    .indexbutton h1,
    .langbutton h1,
    .contactbutton h1,
    .header_flex_container h1 {
        font-size: 14px;
        line-height: 1.3;
    }

    
    .a_propos_flex_container {
        flex-direction: column;
        height: auto;
        overflow: visible;
        gap: 0;
    }

    .body_left,
    .body_right {
        flex: none;
        width: 100% !important;
        height: auto;
        overflow: visible;
        gap: 1.5vw;
        padding-top: 1.5vw;
    }

    .body_left {
        margin-right: 0;
        margin-bottom: 0;
    }

    
    .a_propos_flex_container.description-open .body_left,
    .a_propos_flex_container.description-open .body_right,
    .a_propos_flex_container.index-open .body_left,
    .a_propos_flex_container.index-open .body_right,
    .a_propos_flex_container.contact-open .body_left,
    .a_propos_flex_container.contact-open .body_right {
        width: 100% !important;
        flex: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        overflow: visible !important;
        transition: none !important;
    }

    .image-number {
        font-size: 12px;
    }

    .langbutton-fixed {
        position: static;
        top: auto;
        left: auto;
    }

    .indexbutton {
        position: static;
        top: auto;
        left: auto;
    }

    .close-btn {
        font-size: 14px;
        bottom: 5vw;
        left: 5vw;
        padding: 2vw 0;
    }

    .body_description {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        height: 0;
        z-index: 20;
        margin-left: 0;
        border-top: 1px solid #e0e0e0;
        transition: height 0.3s ease, opacity 0.3s ease;
    }

    .body_description.open {
        width: 100% !important;
        height: 35vh;
        padding: 5vw 5vw 14vw 5vw;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        margin-left: 0 !important;
    }

    .description-content {
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .description-header h2 {
        font-size: 14px;
        line-height: 1.3;
    }

    .project-date {
        font-size: 14px;
    }

    .description-content p {
        font-size: 14px;
        line-height: 1.1;
        margin-bottom: 3vw;
    }

    .description-separator {
        margin: 3vw 0;
    }

    .category-tag {
        font-size: 14px;
    }

    .body_index {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        height: 0;
        z-index: 20;
        margin-left: 0;
        border-top: 1px solid #e0e0e0;
        transition: height 0.3s ease, opacity 0.3s ease;
    }

    .body_index.open {
        width: 100% !important;
        height: 35vh;
        padding: 5vw 5vw 14vw 5vw;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
    }

    .index-content {
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .category-item {
        font-size: 14px;
        margin-bottom: 1vw;
    }

    .index-columns {
        gap: 10vw;
    }

    .body_contact {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        height: 0;
        z-index: 30;
        transition: height 0.3s ease, opacity 0.3s ease;
    }

    .body_contact.open {
        width: 100% !important;
        height: 100dvh;
        padding: 5vw 5vw 14vw 5vw;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
    }

    .contact-content {
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .contact-columns {
        flex-direction: column;
        gap: 8vw;
    }

    .contact-mobile-role {
        display: block;
        font-size: 14px;
        line-height: 1.1;
        margin-bottom: 8vw;
    }

    .contact-column {
        font-size: 14px;
        line-height: 1.1;
    }

    .contact-copyright {
        font-size: 14px;
        bottom: 16vw;
        left: 5vw;
    }
}