/* Lugrasimo Font */
@font-face {
    font-family: 'Lugrasimo';
    src: url('../Fonts/Lugrasimo/Lugrasimo-Regular.ttf') format('truetype');
    font-display: swap;
}

/* Lato Light */
@font-face {
    font-family: 'Lato';
    src: url('../Fonts/Lato/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Lato Bold */
@font-face {
    font-family: 'Lato';
    src: url('../Fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Lato Italic */
@font-face {
    font-family: 'Lato';
    src: url('../Fonts/Lato/Lato-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Lato Regular */
@font-face {
    font-family: 'Lato';
    src: url('../Fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Lato Thin */
@font-face {
    font-family: 'Lato';
    src: url('../Fonts/Lato/Lato-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Cambay Regular */
@font-face {
    font-family: 'Cambay';
    src: url('../Fonts/Cambay/Cambay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Cambay Bold */
@font-face {
    font-family: 'Cambay';
    src: url('../Fonts/Cambay/Cambay-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Cambay Italic */
@font-face {
    font-family: 'Cambay';
    src: url('../Fonts/Cambay/Cambay-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}




:root {
    --font-size-title-XXL: clamp(90px, 13vw, 240px);
    --font-size-title-XL: clamp(80px, 10vw, 160px);
    --font-size-title-L: clamp(30px, 10vw, 105px);
    --font-size-content-XL: clamp(25px, 6vw, 50px);
    --font-size-content-L: clamp(25px, 5vw, 30px);
    --font-size-content-M: clamp(15px, 4vw, 19px);
    --font-size-content-S: clamp(13px, 3vw, 17px);
    --font-size-content-XS: clamp(13px, 3vw, 16px);
    --font-size-content-XXS: clamp(9px, 1.5vw, 12px);



    --width-content-S: 25vw;
    --width-content-M: 30vw;
    --width-content-M: 30vw;
    --width-content-L: 35vw;

    --font-weight-title: 800;
    --font-weight-button: 500;
    --font-weight-text: 300;

    --icon: clamp(18px, 2vw, 20px);

    --background: hsl(253 43% 3%);
    --background-pattern: hsl(0, 0%, 93%, 0.17);
    --background-lines: hsl(0, 0%, 93%, 0.06);
    --foreground: hsl(253 31% 98%);
    --foreground-pattern: hsl(253, 31%, 98%, 0.6);
    --card: hsl(253, 43%, 4%);
    --card-foreground: hsl(253 31% 99%);
    --border: hsl(215 27.9% 16.9%);
    --input: hsl(215 27.9% 16.9%);
    --secondary: hsl(253 7% 9%);
    --secondary-active: hsl(253, 7%, 6%);
    --secondary-foreground: hsl(253 7% 69%);

    --background-meteor: hsla(257, 47%, 3%, 0.95);
}

* {
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    margin: 0;
    padding: 0;
    font-feature-settings: 'pnum' on, 'lnum' on;
    scroll-behavior: smooth;
    transition: background 250ms ease-out;

    &::selection {
        background-color: var(--foreground);
        color: var(--background) !important;
    }
}

body {
    background-color: var(--background);
    color: var(--foreground);
    margin: 0;
}

#distortionCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}

a:not(.a_special) {
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding-bottom: 2px;
    color: var(--foreground);
    font-size: var(--font-size-content-S);
    cursor: none;

    &::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -14px;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--foreground);
        transition: opacity 150ms ease;
        opacity: 0;
    }

    &:hover {
        &::before {
            opacity: 1;
        }
    }

    &::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) scaleX(0);
        transform-origin: 50% 50%;
        width: 100%;
        height: 1px;
        background-color: var(--foreground);
        transition: transform 250ms;
    }

    &:hover {
        &::after {
            transform: translateX(-50%) scaleX(1);
        }
    }
}

.sub-nav a {
    &:hover {
        &::before {
            opacity: 0 !important;
        }
    }
}

a:has(.icon) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.item_handle {
    position: relative;
}

.item_handle:hover::before,
.activeLabel::before {
    content: "";
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--foreground);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 4s linear infinite;
}

.item_handle:hover::after,
.activeLabel::after {
    content: "";
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--foreground);
    border-radius: 53% 47% 43% 57% / 51% 39% 61% 49%;
    animation: morph 4s linear infinite;
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.icon {
    width: var(--icon);
    height: var(--icon);
    fill: var(--foreground);
    color: var(--foreground);
    stroke: var(--foreground);
}

.button_general {
    text-decoration: none;
    color: var(--foreground);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: auto;
    cursor: none;

    &::before {
        content: "";
        width: 60px;
        height: 60px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border: 1px solid var(--foreground);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        animation: morph 4s linear infinite;
        transition: all 250ms ease;
    }

    &::after {
        content: "";
        width: 60px;
        height: 60px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border: 1px solid var(--foreground);
        border-radius: 53% 47% 43% 57% / 51% 39% 61% 49%;
        animation: morph 4s linear infinite;
        transition: all 250ms ease;
    }

    >svg {
        z-index: 1;
        transition: all 400ms ease;
        fill: none;
    }

    &:hover {

        &::before,
        &::after {
            background-color: var(--foreground);
        }

        >svg {
            color: var(--background);
            fill: var(--background);
        }
    }
}

.button_project {
    padding: 20px;
}

.text_cursive {
    width: fit-content;
    white-space: nowrap;
    font-size: var(--font-size-content-M);
    font-family: "Lugrasimo", cursive;
    font-weight: var(--font-weight-button);
}

.text_italic {
    font-style: italic;
    font-size: var(--font-size-content-S);
    padding-bottom: 1vw;
    font-family: "Cambay", sans-serif;
    font-weight: 300;
    padding-bottom: 1vw;
}

.button_general_container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 2vw;
    width: min-content;
}

.badge_container {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 3px;
}

.badge {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 3px;
    background-color: var(--secondary-foreground);
    background: linear-gradient(to bottom, var(--secondary-foreground), hsl(253, 4%, 52%));
    overflow: hidden;

    >h4 {
        color: var(--foreground);
        mix-blend-mode: overlay;
        filter: brightness(1.5) contrast(2);
        text-transform: uppercase;
        font-size: 16px;

    }

    >svg {
        width: 20px;
        height: 20px;
        fill: var(--foreground);
        color: var(--foreground);
        stroke: var(--foreground);
        mix-blend-mode: overlay;
        filter: brightness(1.5) contrast(2);
        transition: transform 500ms ease;
    }
}

.html {
    background: linear-gradient(to bottom, hsla(12, 77%, 54%, 0.90), hsl(12, 66%, 47%, 0.90));
}

.css {
    background: linear-gradient(to bottom, hsl(228, 78%, 54%, 0.90), hsl(228, 78%, 48%, 0.90));
}

.javascript {
    background: linear-gradient(to bottom, hsl(53, 89%, 55%, 0.90), hsl(53, 74%, 48%, 0.90));
}

.php {
    background: linear-gradient(to bottom, hsl(236, 28%, 60%, 0.90), hsl(236, 20%, 51%, 0.90));
}

.gsap {
    background: linear-gradient(to bottom, hsl(137, 91%, 47%, 0.9), hsla(137, 91%, 38%, 0.9));
}

.cSharp {
    background: linear-gradient(to bottom, hsl(304, 33%, 46%, 0.9), hsla(288, 55%, 43%, 0.9));
}

.tailwind {
    background: linear-gradient(to bottom, hsl(198, 92%, 59%, 0.9), hsla(198, 64%, 45%, 0.9));
}

.react {
    background: linear-gradient(to bottom, hsl(193, 94%, 68%, 0.9), hsla(193, 54%, 55%, 0.9));
}

.prisma {
    background: linear-gradient(to bottom, hsl(202, 55%, 22%), hsla(202, 56%, 15%));
}

.docker {
    background: linear-gradient(to bottom, hsl(206, 85%, 55%, 0.9), hsla(206, 72%, 51%, 0.9));
}

.nodeJS {
    background: linear-gradient(to bottom, hsl(107, 30%, 51%, 0.9), hsla(107, 29%, 46%, 0.9));
}

.chart{
    background: linear-gradient(to bottom, hsl(358, 99%, 73%, 0.9), hsla(358, 48%, 57%, 0.9));
}

.ilustrator{
    background: linear-gradient(to bottom, hsl(36, 100%, 52%, 0.9), hsla(36, 93%, 49%, 0.9));
}

/* TRANSITION DE PAGES */

.transition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 300;
    pointer-events: none;
    background: var(--foreground);
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
}

/* FIN DE TRANSITION DE PAGES */

/* CURSOR */

#trailer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10px;
    width: 10px;
    background-color: var(--foreground);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 50ms ease;
}

.hide-cursor {
    cursor: none;
}

#trailer_icon {
    display: flex;
    width: 25%;
    height: 25%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-35%, -35%);
    color: var(--background);
    fill: var(--background);
}

body:hover>#trailer {
    opacity: 1;
}

/* FIN CURSOR */

/* THEME COLOR */

.light-mode {
    --background: hsl(253 44% 98%);
    --background-pattern: rgba(12, 12, 12, 0.17);
    --background-lines: rgba(12, 12, 12, 0.06);
    --foreground: hsl(253 58% 0%);
    --foreground-pattern: hsl(253, 58%, 0%, 0.6);

    --card: hsl(253 44% 97%);
    --card-foreground: hsl(0 0% 0%);
    --border: hsl(220 13% 91%);
    --input: hsl(220 13% 91%);
    --secondary: hsl(253 5% 89%);
    --secondary-active: hsl(253, 5%, 50%);
    --secondary-foreground: hsl(253 5% 29%);

    --background-meteor: hsla(253, 44%, 98%, 0.95);
}

/* FIN THEME COLOR */

/* TRANSITION PAGE */

.transition {
    position: absolute;
    z-index: 300;
    width: 100%;
    height: 100dvh;
    left: 0;
    top: 0;
    pointer-events: none;
    background-color: var(--foreground);
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
}

/* FIN TRANSITION PAGE */

/* BARRE DE NAVIGATION */

.topNav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em 2em;
    z-index: 102;
}

.right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 3em;
}

.lightDark {
    width: 20px;
    cursor: none;
}

.langue {
    cursor: none;
}

.langue p {
    position: relative;
    width: fit-content;
    font-size: 18px;
    background-color: transparent;
    color: var(--foreground);
    cursor: none;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;

    &:focus {
        outline: none;
    }
}

.logo {
    display: inline-block;
    cursor: none;
}

.logo svg {
    width: 40px;
    height: auto;
    fill: var(--foreground);
    stroke-width: 0px;
    pointer-events: all;
}

.toggle-btn {
    display: flex;
    justify-content: flex-end;
    cursor: none;
}

.burger {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    outline: none;
    border: none;
    width: 28px;
    height: 20px;
    transition: all 250ms ease-out;
    cursor: none;
}

.burger::before,
.burger::after {
    content: "";
    width: 25px;
    height: 2px;
    position: absolute;
    background: var(--foreground);
    transition: all 250ms ease-out;
    will-change: transform;
}

.burger::before {
    transform: translateY(-3px);
}

.burger::after {
    transform: translateY(3px);
}

.active.burger::before {
    transform: translateY(0) rotate(45deg);
}

.active.burger::after {
    transform: translateY(0) rotate(-45deg);
}

.overlay,
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    display: flex;
    z-index: 100;
}

.overlay {
    background: var(--card);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    will-change: transform;
}

.overlay-menu {
    gap: 1em;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-item {
    display: flex;
    clip-path: polygon(-5% -5%, 105% -5%, 105% 105%, -5% 105%);
}

.menu-item p {
    position: relative;
    text-align: center;
    font-size: var(--font-size-title-XL);
    line-height: 80%;
    will-change: transform;
    transition: letter-spacing 0.3s;
}

.menu-item a {
    text-decoration: none;
    color: var(--card-foreground);
    font-family: "Lugrasimo", cursive;
    cursor: none;
}

.menu-item p:hover {
    letter-spacing: 0.075em;
}

.menu-item p#active::after {
    content: "";
    position: absolute;
    top: 45%;
    left: 0;
    transform: translateY(50%);
    background: var(--secondary-foreground);
    width: 0%;
    height: clamp(4px, 1vw, 10px);
    pointer-events: none;
}

.sub-nav {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 1em;
    opacity: 0;
    z-index: 101;
}

.sub-nav p {
    position: relative;
    font-size: var(--font-size-content-S);
    transition: letter-spacing 0.3s;

    >a {
        color: var(--card-foreground);
        cursor: none;
    }

    &:hover {
        letter-spacing: 0.075em;
    }
}

.sub-nav p:not(.sub-nav p:last-child) {
    &::after {
        content: ".";
        position: absolute;
        bottom: 5%;
        right: -0.4em;
        color: var(--card-foreground);
        font-size: var(--font-size-content-L);
    }
}

/* FIN DE LA BARRE DE NAVIGATION */

/* METEOR CARD HOVER EFFECT */

.meteor-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--background-meteor);
}

.meteors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.meteor {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    background: #64748b;
    border-radius: 50%;
    transform: rotate(215deg);
    box-shadow: 0 0 0 1px #ffffff10;
    pointer-events: none;

    &::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 1px;
        background: linear-gradient(90deg, #64748b, transparent);
    }
}

@keyframes meteor {
    0% {
        transform: rotate(215deg) translateX(0);
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: rotate(215deg) translateX(-500px);
        opacity: 0;
    }
}

.animate-meteor-effect {
    animation: meteor 5s linear infinite;
}

/* FIN METEOR CARD HOVER EFFECT */

/* NIGHT DARK MODE SWITCH */

.themeToggle {
    color: var(--foreground);
    width: 3em;
}

.st-sunMoonThemeToggleBtn {
    position: relative;
    cursor: none;
}

.st-sunMoonThemeToggleBtn .themeToggleInput {
    opacity: 0;
    width: fit-content;
    aspect-ratio: 1;
}

.st-sunMoonThemeToggleBtn svg {
    position: absolute;
    left: 0;
    width: 22px;
    /* taille de l'îcone */
    height: auto;
    transition: transform 0.4s ease;
    transform: rotate(40deg);
}

.st-sunMoonThemeToggleBtn svg .sunMoon {
    transform-origin: center center;
    transition: inherit;
    transform: scale(1);
}

.st-sunMoonThemeToggleBtn svg .sunRay {
    transform-origin: center center;
    transform: scale(0);
}

.st-sunMoonThemeToggleBtn svg mask>circle {
    transition: transform 0.64s cubic-bezier(0.41, 0.64, 0.32, 1.575);
    transform: translate(0px, 0px);
}

.st-sunMoonThemeToggleBtn svg .sunRay2 {
    animation-delay: 0.05s !important;
}

.st-sunMoonThemeToggleBtn svg .sunRay3 {
    animation-delay: 0.1s !important;
}

.st-sunMoonThemeToggleBtn svg .sunRay4 {
    animation-delay: 0.17s !important;
}

.st-sunMoonThemeToggleBtn svg .sunRay5 {
    animation-delay: 0.25s !important;
}

.st-sunMoonThemeToggleBtn svg .sunRay5 {
    animation-delay: 0.29s !important;
}

.st-sunMoonThemeToggleBtn .themeToggleInput:checked+svg {
    transform: rotate(90deg);
}

.st-sunMoonThemeToggleBtn .themeToggleInput:checked+svg mask>circle {
    transform: translate(16px, -3px);
}

.st-sunMoonThemeToggleBtn .themeToggleInput:checked+svg .sunMoon {
    transform: scale(0.55);
}

.st-sunMoonThemeToggleBtn .themeToggleInput:checked+svg .sunRay {
    animation: showRay1832 0.4s ease 0s 1 forwards;
}

@keyframes showRay1832 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* FIN DE NIGHT DARK MODE SWITCH */

/* SCROLL UP ET DOWN BUTTON */

.hero_scroll_down,
.content_scroll_right,
.footer_scroll_up {
    width: clamp(85px, 12vw, 115px);
    height: clamp(17px, 3vw, 23px);
    overflow: hidden;
    border: none;
    color: var(--foreground);
    background: none;
    position: relative;
    padding-bottom: 2em;
    cursor: none;
}

.hero_scroll_down_fr {
    width: clamp(103px, 12vw, 130px);
}

.hero_scroll_down_en {
    width: clamp(95px, 12vw, 122px);
}

.content_scroll_right_fr {
    width: clamp(120px, 12vw, 160px);
}

.footer_scroll_up_fr {
    width: clamp(120px, 12vw, 150px);
}

.footer_scroll_up_en {
    width: clamp(85px, 10vw, 108px);
}

.hero_scroll_down>h2,
.footer_scroll_up>h3,
.content_scroll_right>h3 {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero_scroll_down .clone>*,
.hero_scroll_down .text>*,
.footer_scroll_up .clone>*,
.footer_scroll_up .text>*,
.content_scroll_right .clone>*,
.content_scroll_right .text>* {
    opacity: 1;
    font-size: var(--font-size-content-S);
    font-family: "Lugrasimo", cursive;
    font-weight: 500;
    transition: 0.2s;
    margin-left: 4px;
}

.hero_scroll_down .clone>* {
    transform: translateY(-28px);
}

.footer_scroll_up .clone>* {
    transform: translateY(60px);
}

.content_scroll_right .clone>* {
    transform: translateX(-160px);
}

.hero_scroll_down:hover .clone>*,
.footer_scroll_up:hover .clone>*,
.content_scroll_right:hover .clone>* {
    opacity: 1;
    transform: translateY(0px);
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.content_scroll_right:hover .clone>* {
    transform: translateX(0px);
}

.hero_scroll_down:hover .text>*,
.footer_scroll_up:hover .text>*,
.content_scroll_right:hover .text>* {
    opacity: 1;
    transform: translateY(28px);
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.content_scroll_right:hover .text>* {
    transform: translateX(160px);
}

.footer_scroll_up:hover .text>* {
    transform: translateY(60px);
}

.hero_scroll_down:hover .clone> :nth-child(1),
.footer_scroll_up:hover .clone> :nth-child(1),
.content_scroll_right:hover .clone> :nth-child(1) {
    transition-delay: 0.15s;
}

.hero_scroll_down:hover .clone> :nth-child(2),
.footer_scroll_up:hover .clone> :nth-child(2),
.content_scroll_right:hover .clone> :nth-child(2) {
    transition-delay: 0.2s;
}

.footer_scroll_up:hover .clone> :nth-child(3),
.content_scroll_right:hover .clone> :nth-child(3) {
    transition-delay: 0.25s;
}

/* FIN SCROLL UP ET DOWN BUTTON */

/* SCROLL INDICATOR */

.scroll_indicator-container {
    position: fixed;
    top: 50%;
    left: 0;
    padding-left: clamp(1%, 2em, 2%);
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 250ms ease-out;
}

.scroll_indicator-trail {
    position: relative;
    height: 200px;
    width: 2px;
    margin-bottom: 18px;
}

.scroll_indicator-trail:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--scroll-height, 40%);
    background: linear-gradient(transparent, var(--foreground) 60%);
}

.icon_space-rocket {
    position: absolute;
    top: var(--scroll-height, 40%);
    left: 50%;
    transform-origin: center center;
    transform: translateX(-50%) rotate(180deg);
}

.iconEarth {
    fill: none;
    stroke: var(--foreground);
    stroke-miterlimit: 10;
    stroke-width: 23px;
}

/* FIN SCROLL INDICATOR */

/* SKILLS CONTAINER */

.all_skills-container {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    margin: 3vw 0;
}

.skills_container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1vw;
    padding: 1vw;
    border: 1px solid var(--border);
    border-radius: 5px;
    background-color: var(--card);
    min-height: 150px;

    &::after {
        content: "Skills";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: var(--font-size-title-XL);
        text-transform: uppercase;
        z-index: 0;
        color: var(--secondary-foreground);
        opacity: 0.1;
        letter-spacing: 5px;
        transition: filter 250s ease;
    }

    >h3 {
        text-indent: 0;
        padding-bottom: 0 !important;
    }
}

/* FIN SKILLS CONTAINER */

/* DÉBUT HERO PRINCIPAL */

.hero {
    position: relative;
    height: 100dvh;
    width: 100%;
    padding: 10vw;
    display: flex;
    justify-content: space-between;
    flex-direction: column;

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

.hero_principale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.hero_title {
    font-size: var(--font-size-title-XL);
    font-family: "Lugrasimo", cursive;
    color: transparent;
    -webkit-text-stroke: 2px var(--foreground);
    font-weight: 300;
}

.hero_principale aside {
    margin-top: 5dvh;
    font-size: var(--font-size-content-S);

    >h3 {
        font-family: "Cambay", sans-serif;
        font-weight: 100;
        font-size: var(--font-size-content-S);
        font-style: italic;
        text-transform: uppercase;

    }
}

/* FIN HERO PRINCIPAL */

/* DÉBUT FOOTER */

.footer {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.footer_description {
    position: relative;
    padding: 10dvh 15vw;

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

.footer_description header {
    position: relative;
    padding-bottom: 3vw;

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

    >h2 {
        font-size: var(--font-size-content-XL);
        line-height: 150%;
        font-weight: 500;
    }
}

.footer_description footer {
    padding-top: 3vw;
}

.footer_nav {
    width: 100%;
}

.footer_nav ul {
    display: flex;
    list-style: none;
    gap: 8vw 5vw;
}

.footer_nav p {
    font-size: var(--font-size-content-S);
    margin-bottom: 8px;
}

.footer_nav article{
    display: flex;
    gap: 2vw;
}

.footer_nav a {
    width: fit-content;
}

.footer aside {
    padding: 2vw 5vw;

    >h2 {
        text-align: left;
        font-size: var(--font-size-title-XXL);
        text-transform: uppercase;
    }

    >a {
        color: var(--foreground);
        text-decoration: none;
        font-size: var(--font-size-content-S);
    }
}

/* FIN FOOTER */


@media (max-width: 1250px) {

    .button_general {
        width: 20px;

        &::before,
        &::after {
            width: 40px;
            height: 40px;
        }

        &:hover {

            &::before,
            &::after {
                width: 40px;
                height: 40px;
            }
        }
    }

    .item_handle {

        &::before,
        &::after {
            width: 40px;
            height: 40px;
        }

        &:hover {

            &::before,
            &::after {
                width: 40px;
                height: 40px;
            }
        }
    }

    .text_italic {
        padding-bottom: 2vw !important;
    }

    .logo svg {
        width: 30px;
    }

    .burger::before,
    .burger::after {
        width: 22px;
    }

    .st-sunMoonThemeToggleBtn svg {
        width: 22px;
        /* taille de l'îcone */
        height: 20px;
    }

    .scroll_indicator-container {
        display: none;
    }

    .sub-nav p:not(.sub-nav p:last-child) {
        &::after {
            bottom: 0%;
            font-size: calc(var(--font-size-content-L) + 13px);
        }
    }

    .hero {
        justify-content: space-around;
    }

    .hero_title {
        -webkit-text-stroke: 1px var(--foreground);
    }

    .topNav {
        padding: 1.5em 1em;
        width: calc(100% - 1em);
    }

    .footer_description {
        padding: 15vw 10vw;
    }

    .footer aside {
        padding: 5vw;

        >a {
            margin-top: 2vw;
        }
    }

    .footer_nav ul {
        display: flex;
        flex-wrap: wrap;
    }

    .footer_description footer {
        padding-top: 6vw;
    }

    .footer_description header h3 {
        padding-bottom: 2vw;
    }
}

@media (max-width: 1050px) {

    .all_skills-container {
        flex-direction: row;
    }

    .all_skills-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .skills_container {
        padding: 3vw;
    }

    *{
        cursor: auto !important;
    }
}