.inactive p {
    color: var(--secondary-foreground) !important;
    cursor: auto !important;
}

.project_container {
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8vw;
    padding: 10vw;
    padding-bottom: 5vw;
    width: 100%;
}

.project_container main {
    width: 100%;
    display: flex;
    justify-content: space-between;

    >h1 {
        font-size: var(--font-size-title-L);
        font-family: "Lugrasimo", cursive;
        color: transparent;
        text-transform: capitalize;
        -webkit-text-stroke: 2px var(--foreground);
        font-weight: 300;
    }

    >h3 {
        display: flex;
        text-align: right;
        font-size: var(--font-size-content-L);
        line-height: 130%;
        font-weight: var(--font-weight-text);
    }
}

.aside_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    >aside {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;

        >h3 {
            display: flex;
            flex-direction: row;
            font-style: normal !important;
            font-weight: var(--font-weight-text) !important;

            >a {
                margin-right: 5px;
                padding-bottom: 0 !important;
                font-size: var(--font-size-content-M) !important;
            }

            >span {
                color: var(--secondary-foreground);
                font-size: var(--font-size-content-M) !important;
            }
        }
    }
}

.aside_container ul {
    list-style-type: none;

    >li {
        width: 100%;
        font-size: var(--font-size-content-XS);
        line-height: 120%;
        font-weight: var(--font-weight-text);
        font-family: "Cambay", sans-serif;
    }
}

.aside_li-bold {
    font-size: var(--font-size-content-M) !important;
    padding-bottom: .75rem;
}

.aside_content {
    display: flex;
    flex-direction: column;
    gap: 2.5vw;
    flex: 3;
}

.aside_content-description {
    display: flex;
    gap: 4vw;

    >h3 {
        flex: 1;
    }
}

.aside_badge-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.aside_link-description {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;

    >a {
        width: fit-content;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        line-height: 200%;
        font-weight: var(--font-weight-button);
        gap: 0.25rem;
        white-space: nowrap;
        padding: 0 8px;
        border-radius: .5rem;
        color: var(--foreground);
        border: 1px solid var(--secondary);
        transition: all 250ms ease;

        &:hover {
            background-color: var(--secondary);
        }

        &:active {
            background-color: var(--secondary-active);
        }
    }
}

.aside_link-description a:has(.icon_link-rocket){
    gap: 0.4rem;
}

.icon_link-rocket{
    transform: rotate(45deg);
}

.badge_container {
    height: fit-content;
}

.text_content {
    width: 100%;
    font-size: var(--font-size-content-XS);
    line-height: 200%;
    font-weight: var(--font-weight-text);
    font-family: "Cambay", sans-serif;
}

.aside_title {
    position: relative;
    border-bottom: 1px solid var(--foreground);
    font-size: var(--font-size-content-L);
    line-height: 130%;
    font-weight: var(--font-weight-text);
    padding-bottom: 3vw;
}

/* FIN SECTION INTRODUTION */

/* DÉBUT SECTION IMAGE */

.projet_image {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2vw;
    padding: 0 10vw 10vw 10vw;

    >img {
        width: 80%;
        max-height: 80dvh;
        object-fit: cover;
        z-index: 2;
    }

    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 5%;
        background-color: var(--foreground);
        width: 90%;
        height: 1px;
    }
}

.vertical_content{
    width: 80%;
    display : flex;
    justify-content : flex-start;
    align-items : center;
    gap: 1vw;
    flex-wrap: wrap;
    >img{
        max-width: 100%;
        max-height: 70dvh;
    }
}

/* FIN SECTION IMAGE */

/* SECTION NEXT PROJECT */

.next_project {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5vw;
    align-items: center;
    padding: 10vw;

    >a {
        font-size: var(--font-size-content-L);
        color: var(--foreground);
        cursor: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;

        &::before {
            background-color: transparent !important;
        }

        >svg {
            width: clamp(20px, 5vw, 50px);
            height: clamp(20px, 5vw, 50px);
        }
    }

    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 5%;
        background-color: var(--foreground);
        width: 90%;
        height: 1px;
    }
}

.project_image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
}

.project_image img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.project_preview {
    position: absolute;
    left: 80%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

/* FIN SECTION NEXT PROJECT */


@media(max-width: 1050px) {
    .project_container {
        padding: 10dvh 5vw;
        gap: 10vw;
    }

    .project_container main {
        flex-wrap: wrap;
        gap: 2vw;
    }

    .aside_container {
        flex-direction: column;
    }

    .project_deliverable {
        display: none !important;
    }

    .aside_title {
        padding-bottom: 5vw;
    }

    .aside_content {
        gap: 5vw;

        >aside {
            flex-direction: column;
            gap: 5vw;
        }
    }

    .aside_badge_description {
        gap: 5vw;
    }

    h1 {
        -webkit-text-stroke: 1px var(--foreground) !important;
    }

    .next_project {
        justify-content: center;

        >a {
            font-size: var(--font-size-content-S);
        }
    }

    .projet_image {
        padding: 0 5vw 5vw 5vw;

        >img {
            width: 100%;
            height: auto;
        }
    }

    .vertical_content{
        width: 100%;
    }
}

@media(max-width: 756px) {
    .project_image {
        display: none;
    }
    .vertical_content img{
        width: 100%;
    }
}