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


:root {

    --size_font: 18px;
    --spacer_0: 5px;
    --spacer_1: 20px;
    --spacer_2: 40px;
    --spacer_3: 60px;
}


html,
body {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    background-color: #fff;
    color: #2c2c2c;



}

.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: 1.5%;
    padding-left: 3%;
    padding-right: 3%;
    z-index: 99999;
    color: #ffff;
    mix-blend-mode: difference;
}

a {
    color: #fff
}

.titlenav a {

    text-decoration: none;

}

h2.webdesign {
    font-size: 13vw;
    overflow: hidden;
    position: relative;
    height: 265px;
    width: 100%;
}

h2.webdesign span {
    position: absolute;
    top: 100%;
    animation: reveal-animation 1.3s ease-in-out forwards;
}

.subtitle {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 110px;
}

.subtitle span {
    position: absolute;
    top: 100%;
    font-size: 7vw;
    line-height: 1;

    animation: reveal-animation 1.3s ease-in-out forwards;
    animation-delay: 0.8s;
}



@media screen and (max-width: 800px) {
    h2.webdesign {
        height: 80px;
    }

    .subtitle {
        height: 25px;
    }
}

@keyframes reveal-animation {
    0% {
        top: 100%;
    }

    100% {
        top: 0%;
    }
}

h2 {
    font-size: 3.5vw;
}


.link_home {
    color: #000;
}

.link_home {
    color: #000;
}

.link_home:hover {
    color: #d3d3d3;
}


/* -------------------------------------------------------------------------- */
/*                                    LOCO                                    */
/* -------------------------------------------------------------------------- */

html.has-scroll-smooth {
    overflow: hidden;
}

html.has-scroll-dragging {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.has-scroll-smooth body {
    overflow: hidden;
}


[data-scroll-direction="horizontal"] [data-scroll-container] {
    height: 100vh;
    display: inline-block;
    white-space: nowrap;
}

[data-scroll-direction="horizontal"] [data-scroll-section] {
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
    height: 100%;
}

.c-scrollbar {
    position: absolute;
    right: 0;
    top: 0;
    width: 11px;
    height: 100%;
    transform-origin: center right;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
}

.c-scrollbar:hover {
    transform: scaleX(1.45);
}

.c-scrollbar:hover,
.has-scroll-scrolling .c-scrollbar,
.has-scroll-dragging .c-scrollbar {
    opacity: 1;
}

[data-scroll-direction="horizontal"] .c-scrollbar {
    width: 100%;
    height: 10px;
    top: auto;
    bottom: 0;
    transform: scaleY(1);
}

[data-scroll-direction="horizontal"] .c-scrollbar:hover {
    transform: scaleY(1.3);
}

.c-scrollbar_thumb {
    position: absolute;
    top: 0;
    right: 0;
    background-color: black;
    opacity: 0.5;
    width: 7px;
    border-radius: 10px;
    margin: 2px;
    cursor: -webkit-grab;
    cursor: grab;
}

.has-scroll-dragging .c-scrollbar_thumb {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

[data-scroll-direction="horizontal"] .c-scrollbar_thumb {
    right: auto;
    bottom: 0;
}


.little_title span {
    display: inline-block;
}

.section_first {

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 4vw;
    margin: 0;
}

.section_2 {

    width: 100vw;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.section_2 p {

    font-size: 3vw;

}

.section_projet {
    display: flex;
    flex-direction: column;
    width: 100vw;
    padding-top: 8.6vh;



}

.header_projet {
    display: flex;
    flex-direction: column;

}

.hd_row1 {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100%;

}

.title_section_projet {
    padding-left: 5%;
    font-style: extra-light;
    font-weight: 200;
    padding-top: 5vh;
    padding-bottom: 5vh;

}

.hd_r1_col_left {
    font-size: 1.8vw;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.hd_r1_col_right {
    padding: 5%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.hd_r1_col_right img {
    height: 600px;
    width: 450px;

}

.hd_r1_col_left-text h3 {
    margin-top: 2%;
    margin-bottom: 2%;
}

.hd_r1_col_left-text h4 {
    margin-top: 2%;
    font-size: 1.5vw;
    color: rgb(145, 145, 145);
    font-weight: extra-light;

}

.section_projet_2 {
    display: flex;
    flex-direction: column;
    width: 100vw;
    padding-top: 8.6vh;


}

.hd_row2 {
    display: flex;
    flex-direction: row-reverse;
    width: 85vw;
    margin: auto;
    height: 100%;
}






.gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gllr_row_1,
.gllr_row_2,
.gllr_row_3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding-left: 5%;
    padding-right: 5%;
}

.gllr_row_1 img,
.gllr_row_2 img,
.gllr_row_3 img {
    height: 350px;
    margin: 10px;
}


.social-media {
    width: 100%;
    overflow-y: none;
    margin-top: 5%;
    margin-bottom: 5%;

}

.social-media h2 {
    color: #fff;

}

.liens_rs {
    display: flex;
    flex-direction: row;
    align-items: center;


}

.liens_rs a {
    display: flex;
    flex-direction: row !important;
    align-items: center !important;

}

.lien_rs svg {
    padding-bottom: 10px;
    margin: 10px !important;
}

/*----------------------------------------------------- */
/*-----------------------SCROLLABLE-------------------- */
/*----------------------------------------------------- */
.container_scrollable {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
    overflow-y: hidden;



}

.media-scroller {
    margin-top: var(--spacer_3);
    width: 90vw;
    margin-bottom: var(--spacer_3);
    display: flex;
    height: 380px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    white-space: nowrap;
    transition: all 0.2s;
    transform: scale(0.98);
    will-change: transform;
    user-select: none;
    cursor: grab;
    overflow-y: hidden;




}

.media-scroller::-webkit-scrollbar {
    display: none;
}

.media-scroller.active {
    cursor: grabbing !important;
    cursor: -webkit-grabbing;
    transform: scale(1);

}

.card_info_link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: var(--spacer_0);
    padding-right: var(--spacer_1);
}

.card_info.active {
    cursor: grabbing !important;
    cursor: -webkit-grabbing;
    transform: scale(1);

}

.media-element {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-left: var(--spacer_2);

}

.media-element>img {
    inline-size: 100%;
    padding-top: var(--spacer_0);

}

.snaps-inline {
    scroll-snap-type: inline mandatory;
    scroll-snap-align: start;
    scroll-padding-inline: var(--spacer_0);
    scroll-padding-right: var(--spacer_1);


}


.snaps-inline::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

.snaps-inline::-webkit-scrollbar-button {
    width: 16px;
    height: 16px;
}

.snaps-inline::-webkit-scrollbar-thumb {
    background: #d3d3d3;
    border: 0px none #ffffff;
    border-radius: 50px;

}

.title_card {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-right: var(--spacer_1);
    padding-bottom: var(--spacer_0);
    align-items: center;
}


.title_card h5 {
    color: #ffff;
    font-family: montserrat;
    font-weight: 600;
    font-size: 12px;

}





.card_info h4 {
    padding-left: var(--spacer_1);
    padding-bottom: var(--spacer_0);
}


.card_info p {
    padding-right: var(--spacer_1);
    padding-left: var(--spacer_1);
    padding-top: var(--spacer_0);
    color: #ffff;
}

.card_info {
    scroll-snap-align: start;
    height: 300px;
    background-color: rgb(29, 28, 28);
    width: 480px;
    min-width: 480px;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    box-sizing: border-box;
    margin-left: 20px;
}

.card_info h4 {
    color: #ffff;
}

.card_info img {
    height: 300px;
    inline-size: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 10px;

}

.card_btn {
    padding: 10px var(--spacer_1);
    color: #000;
    border: none;
    border-radius: 50px;
    width: 160px;
    font-weight: bold;

}

.card_btn:hover {

    color: #d3d3d3;


}