/* Paramètre de base  */
* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-weight: normal;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans';
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora';
}

h1 {
    font-size: 2rem;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background: #F5F5F5;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

*::selection{
    background-color: #0064FF;
    color: #F5F5F5;
}

.preloader{
    background-color: orange;
    z-index: 999;
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.preloader>p{
font-size: 1.5rem;
}
.no_overflow {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: inherit;
}

header {
    width: 100%;
    padding: 2rem;
    border-bottom: 3px solid #0D0D0D;
    background-color: #F5F5F5;
    z-index: 100;
}

.sticky {
    /* position: -webkit-sticky; */
    position: sticky;
    top: 0;
}

.mobile_burger_menu {
    margin: auto;
    position: fixed;
    /* background-color: #0D0D0D; */
    color: #F5F5F5;
    width: 100%;
    height: 100%;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: visible;
}

.display_none {
    /* display: none; */
    visibility: hidden;
}

.mobile_burger_menu>span {
    background: #0D0D0D;
    width: 100%;
    height: 25%;
    position: relative;
    display: block;
    transform: translateX(0);
    transition: all .5s cubic-bezier(.77,0,.175,1)
}

.display_none>span {
    transform: translateX(-100%);
}

.navigation__items{
    position: absolute;
}

.mobile_burger_menu>.navigation__items>.navigation_container>.link_wrapper>a:hover {
    color: #0064FF;
    transition: all 300ms ease-in;
}
.navigation_container{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    justify-content: center;
    align-items: center;
}

/* --- Mobile Menu  */

.menu {
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    outline: none;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-appearence: none;
    -webkit-tap-highlight-color: transparent;
}

.menu svg {
    width: 64px;
    height: 48px;
    top: -6px;
    left: -14px;
    stroke: white;
    stroke-width: 4px;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: block;
    position: absolute;
}
.menu svg path {
    transition: stroke-dasharray var(--duration, 0.85s) var(--easing, ease) var(--delay, 0s), stroke-dashoffset var(--duration, 0.85s) var(--easing, ease) var(--delay, 0s);
    stroke-dasharray: var(--array-1, 26px) var(--array-2, 100px);
    stroke-dashoffset: var(--offset, 126px);
    transform: translateZ(0);
}
.menu svg path:nth-child(2) {
    --duration: 0.7s;
    --easing: ease-in;
    --offset: 100px;
    --array-2: 74px;
}
.menu svg path:nth-child(3) {
    --offset: 133px;
    --array-2: 107px;
}
.menu.active svg path {
    --offset: 57px;
}
.menu.active svg path:nth-child(1), .menu.active svg path:nth-child(3) {
    --delay: 0.15s;
    --easing: cubic-bezier(0.2, 0.4, 0.2, 1.1);
}
.menu.active svg path:nth-child(2) {
    --duration: 0.4s;
    --offset: 2px;
    --array-1: 1px;
}
.menu.active svg path:nth-child(3) {
    --offset: 58px;
}
html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
* {
    box-sizing: inherit;
}
*:before, *:after {
    box-sizing: inherit;
}
#black_menu svg{
    stroke: black;
}

.footer_icons_copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.navigation_social_media_link{
    display: flex;
    gap: 1rem;
}
.navigation_social_media_link>a>svg{
    font-size: 2rem;
}
.navigation_social_media_link>a>svg:hover{
    transition: 0.5s ease-in-out;
    transform: scale(1.2) rotate(360deg);
}
.copyright_wrapper{
    font-size: 0.7rem;
}
/* -------------------- */

.headline {
    font-size: 2rem;
    font-family: 'Sora';
}

main {
    flex: 1;
}

/* ---- Barre de navigation */
/* ------------------------ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_item {
    display: none;
    /*Pour cacher l'élement*/
}

.nav_item>a {
    display: block;
    font-size: 1rem;
    color: #0D0D0D;
    text-decoration: none;
    transition: all 300ms ease-out;
    font-family: Sora;
}

.nav_item>a:hover {
    /* Blue */
    color: #0064FF;
    transition: all 300ms ease-in;
}

.icon_mobile {
    font-size: 2rem;
    transition: 0.5s ease-in-out;
}

.icon_mobile:hover {
    transition: 0.5s ease-in-out;
    transform: scale(1.2) rotate(180deg);
}

.white_icon {
    color: #F5F5F5;
}

.black_icon {
    color: #0D0D0D;
}

.animation_link {
    display: inline-block;
}

.animation_link:after {
    display: block;
    content: '';
    border-bottom: solid 3px #0064FF;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
}

.animation_link:hover:after {
    transform: scaleX(1);
}


/* animation texte apparition */ 
/* -------------------------- */
.link_wrapper{
overflow: hidden;
}

.mobile_burger_menu:not(.display_none) > .navigation__items > .navigation_container > .link_wrapper > a{
    display: inline-block;
    transform: translateY(0px);
    transition-duration: 1s;
    transition-delay: 0.6s;
    transition-property: transform;
    transition-timing-function: ease-in-out;
}

.link_wrapper > a {
    transform: translateY(50px);
}

.mobile_burger_menu:not(.display_none) > .navigation__items > .footer_icons_copyright > a{
    display: inline-block;
    transform: translateY(0px);
    transition-duration: 1s;
    transition-delay: 0.6s;
    transition-property: transform;
    transition-timing-function: ease-in-out;
}

/* .mobile_burger_menu:not(.display_none) > .navigation__items > .footer_icons_copyright{
    transform: translateY(0px);
    transition-duration: 1s;
    transition-delay: 0.6s;
    transition-property: transform;
    transition-timing-function: ease-in-out;
} */

.navigation_social_media_link {
    transform: translateY(150px);
}

.mobile_burger_menu:not(.display_none) > .navigation__items > .footer_icons_copyright>.navigation_social_media_link{
    transform: translateY(0px);
    transition-duration: 1s;
    transition-delay: 0.8s;
    transition-property: transform;
    transition-timing-function: ease-in-out;
}

.copyright_wrapper {
    transform: translateY(150px);
}
.mobile_burger_menu:not(.display_none) > .navigation__items > .footer_icons_copyright>.copyright_wrapper{
    transform: translateY(0px);
    transition-duration: 1s;
    transition-delay: 1s;
    transition-property: transform;
    transition-timing-function: ease-in-out;
}


/* @keyframes fade_in {
    to{
transform: translateY(50px);
    }
    from{
        transform: translateY(0px);
    }
} */
/* Back to top */ 
/* ----------- */ 

#progress {
    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 70px;
    width: 70px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
}

#progress-value {
    display: block;
    height: calc(100% - 15px);
    width: calc(100% - 15px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: #001a2e;
}

.progress-circular {
    position: relative;
    width: 114px;
    height: 114px;
}

.progress-background {
    fill: none;
    stroke-width: 10px;
    stroke: lightgray;
}

.progress-value {
    fill: none;
    stroke-width: 10px;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 360;
    stroke-dashoffset: 120; /* CHANGE THIS IN JS */
    stroke: red;
}


/* Media Queries pour l
a nav bar */
/* ----------------------------- */

@media screen and (min-width: 768px) {
    .nav_item {
        display: flex;
        gap: 2rem;
    }

    .menu {
        display: none;
    }
}

/* --- Primary_Button */
/* ---------------- */

.primary_button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border: 1px solid #0D0D0D;
    box-shadow: 5px 5px 0px #0D0D0D;
    border-radius: 9px;
    background-color: #F5F5F5;
    gap: 0.8rem;
    transition: 0.3s ease-in-out;
}

.primary_button:hover {
    box-shadow: none;
    transform: translate(5px, 5px);
}

.primary_button>svg {
    font-size: 1.5rem;
}

.button_page_project{
    display: flex;
    width: 100%;
    justify-content: end;
}

/* --- Ghost_Button */
/* ---------------- */

.ghost_button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border: 1px solid #0D0D0D;
    box-shadow: 5px 5px 0px #F5F5F5, 5px 5px 0 1px #0D0D0D;
    border-radius: 9px;
    gap: 0.8rem;
    transition: 0.3s ease-in-out;
}

.ghost_button:hover {
    box-shadow: none;
    transform: translate(5px, 5px);
}

.ghost_button>svg {
    font-size: 1.5rem;
}

.dark_ghost_button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border: 1px solid #F5F5F5;
    box-shadow: 5px 5px 0px #0D0D0D, 5px 5px 0 1px #F5F5F5;
    border-radius: 9px;
    gap: 0.8rem;
    transition: 0.3s ease-in-out;
}

.dark_ghost_button:hover {
    box-shadow: none;
    transform: translate(5px, 5px);
}

.dark_ghost_button>svg {
    font-size: 1.5rem;
}

.back_to_the_top {
    position: absolute;
    bottom: 0;
    right: 1rem;
}

/* ---- Footer */
/* ----------- */

footer {
    background-color: #0D0D0D;
    color: #F5F5F5;
    font-size: 0.8rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.footer_icons {
    display: flex;
    gap: 1rem;
}

.footer_icons>a>svg {
    font-size: 2rem;
}

.footer_icons>a>svg:hover {
    transition: 0.5s ease-in-out;
    transform: scale(1.2) rotate(360deg);
}