:root {
    --font-family-instrument: "Instrument Serif";
    --font-family-ballet: "Ballet";
    --font-family-inter: "Inter";
    --font-size-0: 14px;
    --font-size-1: 16px;
    --font-size-2: 19px;
    --font-size-3: 28px;
    --font-size-4: 37px;
    --font-size-5: 50px;
    --font-size-6: 67px;
    --font-size-7: 89px;
    --white: #fffffd;
    --black: #151515;
    --semi-black: #4c4c4c;
    --grey: #f5f5f5;
    --red: rgb(255, 64, 0);
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    overflow-x: hidden;
}
.body-black {
    background: var(--black);
}

.body-overflow {
    overflow-x: hidden;
    overflow-y: hidden;
    background: var(--red);
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: var(--black);
}
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.arrow-white {
    width: 12px;
    margin-right: 0.5rem;
}

.ancre {
    position: fixed;
    width: 50px;
    right: 2rem;
    bottom: 2rem;
    mix-blend-mode: difference;
    z-index: 220;
}

.link:hover {
    font-weight: 600;
}

.link:hover img {
    rotate: -45deg;
    transition: rotate 0.3s ease;
}

.close-btn:hover {
    font-size: 35px;
    transition: font-size 0.3s ease;
}

.menu-title:hover {
    font-weight: 900;
}

.menu-proj:hover {
    font-weight: 900;
}
.menu-404:hover {
    font-weight: 900;
}

.button-404 > a {
    color: var(--white);
}
.ancre:hover {
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.plus:hover {
    font-weight: 700;
    font-style: italic;
}
.button-about:hover {
    font-weight: 700;
    font-style: italic;
}
.button-404:hover {
    font-weight: 500;
    font-style: italic;
}
.button-more-pratique:hover {
    font-weight: 500;
    font-style: italic;
}
.button-meme-margin:hover {
    font-weight: 500;
    font-style: italic;
}
.acceder:hover {
    font-weight: 800;
    font-style: italic;
}

.lien-footer:hover {
    font-style: italic;
}
.legal-footer:hover {
    font-weight: 600;
    font-style: italic;
}

.acceder > a {
    color: var(--black);
}

/* PROJECTS */

.img-project-home:hover {
    transform: translateY(-20px);
    filter: grayscale(100%);
    transition: transform 0.3s ease;
}

.body-project {
    background: var(--black);
}
.h1-proj {
    font-family: var(--font-family-inter);
    font-weight: 800;
    font-size: var(--font-size-3);
    color: var(--white);
    margin-left: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.menu-proj {
    color: var(--white);
    font-family: var(--font-family-inter);
    font-weight: 600;
    position: absolute;
    top: 2.5rem;
    right: 1rem;
    z-index: 4;
}

/* 404 */
.erreur {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-1);
    font-weight: 800;
    color: var(--red);
}
.h1-erreur {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-5);
    font-weight: 800;
}

.h1-erreur + p {
    font-family: var(--font-family-instrument);
    font-size: 27px;
    color: var(--red);
}
.erreur-container {
    justify-self: center;
    justify-items: center;
    min-height: 50vh;
    margin-top: 8vh;
    animation: fadeInOpacity 1.5s ease-in forwards;
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.h1-proj-red {
    color: var(--red);
    font-family: var(--font-family-inter);
    font-weight: 800;
    font-size: var(--font-size-3);
    margin-left: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.h1-proj-black {
    color: var(--black);
    font-family: var(--font-family-inter);
    font-weight: 800;
    font-size: var(--font-size-3);
    margin-left: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
.h1-proj-black.absolute,
.li-absolute-project,
.photo-project-first {
    animation: fadeInOpacity 1.5s ease-in forwards;
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.erreur-container > p {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-1);
    text-align: center;
    margin-top: 1rem;
}

.button-404 {
    padding: 12px 18px 12px 6px;
    background: var(--black);
    display: block;
    justify-self: center;
    margin-bottom: 5rem;
    color: var(--white);
    margin-top: 3rem;
}
.button-about {
    padding: 9px 15px 9px 3px;
    background: var(--white);
    display: block;
    justify-self: center;
    margin-bottom: 5rem;
    color: var(--black);
    margin-top: 2rem;
}
.turned-arrow {
    width: 28px;
    margin-bottom: 0.25rem;
}
.img-404 {
    width: 95vw;
    justify-self: center;
}
/* MENU 404 */
.menu-404 {
    color: var(--black);
    font-family: var(--font-family-inter);
    font-weight: 600;
    position: absolute;
    top: 2.5rem;
    right: 1rem;
    z-index: 4;
}

/* FOOTER */

.background-footer {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: var(--black);
}
.ca-footer {
    width: 5rem;
    top: 9.5vh;
    right: 12vw;
    margin-left: 1rem;
}
.plus {
    padding: 1rem;
    background-color: var(--white);
    border-radius: 2px;
    top: 14.5rem;
    padding: 6px 9px 6px 9px;
    margin-right: 1.5rem;
    margin-top: 0.7rem;
    font-family: var(--font-family-inter);
    font-weight: 500;
    color: var(--black);
}

.ca-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.lien-footer {
    color: var(--white);
    font-weight: 600;
}
.links-footer {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: 4rem;
    font-family: var(--font-family-inter);
    font-size: var(--font-size-1);
}

.legal-footer {
    color: var(--white);
    font-family: var(--font-family-inter);
    font-size: 13px;
    margin-bottom: 0.5rem;
}
.legal-footer > a {
    color: var(--white);
}

.legal-margin {
    margin: 2rem;
}
/* ROLLER */

.rose-footer {
    position: relative;
    width: 1.5rem;
}
.flexbox-roller {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5vh;
    margin-top: 5vh;
    background: var(--white);
    padding: 0.2rem;
    width: 100vw;
    overflow-x: hidden;
}
.relative-centered {
    padding-left: 20vw;
    padding-right: 20vw;
}

.flexbox-roller > h2 {
    color: var(--black);
    font-weight: 800;
    font-size: var(--font-size-0);
}

/* HEADER */

.colored-div {
    background: rgb(255, 64, 0);
    width: 40vw;
    height: 100vh;
}
.grid-home {
    width: 100vw;
    display: grid;
    grid-template-columns: 40% 60%;
}

.title-header {
    position: absolute;
    font-family: var(--font-family-inter);
    font-size: var(--font-size-6);
    font-weight: 1000;
    rotate: 90deg;
    margin-top: 17rem;
    margin-left: -3rem;
    animation: fadeInOpacity 1.5s ease-in forwards;
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-title {
    font-family: var(--font-family-inter);
    font-weight: 600;
    position: absolute;
    top: 87vh;
    left: 3.2rem;
    z-index: 4;
}
.arrow-black {
    position: absolute;
    width: 25px;
    top: 82vh;
    left: 4rem;
    z-index: 4;
    animation: rebond 2s infinite;
}
@keyframes rebond {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px); /* Remonte un peu */
    }
    60% {
        transform: translateY(-10px); /* Petit saut */
    }
}
.side-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--semi-black);
    transition: transform 0.4s ease;
    z-index: 9999;
    padding: 20px;
}

.side-nav.active {
    transform: translateX(-300px);
}

.close-btn {
    font-size: 30px;
    cursor: pointer;
    display: block;
    text-align: right;
    color: var(--white);
}

.side-nav ul {
    list-style: none;
    padding-top: 50px;
}
.side-nav li {
    margin-bottom: 20px;
}
.side-nav a {
    text-decoration: none;
    color: var(--white);
    font-size: var(--font-size-1);
    font-family: var(--font-family-inter);
    font-weight: 200;
}
.img-home {
    height: 100vh;
    object-fit: cover;
    animation: slideFromRight 1s ease-out forwards;
}

@keyframes slideFromRight {
    0% {
        opacity: 1;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.title-home {
    position: relative;
    width: 100%;
}

/* PROJECTS */

.project-grid {
    display: flex;
    flex-direction: column;
    gap: 55px;
    margin: 0 1rem 5rem 0;
    animation: fadeInOpacity 1.5s ease-in forwards;
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.grid-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.grid-image-both {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
}

.image-project-home.two {
    width: 182px;
}
/* PROJETS */

.title-proj {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-5);
    font-weight: 1000;
    position: absolute;
    top: -5rem;
    line-height: 45px;
    left: 1rem;
}

.title-proj-two {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-5);
    font-weight: 1000;
    position: absolute;
    top: -5rem;
    line-height: 45px;
    left: -2rem;
}

.details-proj-two {
    margin-left: -2rem;
}

.title-project {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-5);
    font-weight: 1000;
    position: absolute;
    top: -6.5rem;
    line-height: 45px;
    left: -0.5rem;
}

.title-project.prod {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-3);
    font-weight: 1000;
    position: absolute;
    top: -6.5rem;
    line-height: 30px;
    left: 1rem;
}

.li-absolute-meme,
.li-absolute {
    animation: fadeInOpacity 1.5s ease-in forwards;
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.li-absolute {
    position: absolute;
    font-weight: 300;
    top: 30vh;
}

.li-absolute-project {
    position: absolute;
    font-weight: 300;
    top: 30vh;
    left: 2rem;
    transform: translateX(-50%);
}

.li-project {
    position: absolute;
    font-weight: 300;
    top: 30vh;
    left: 0.5rem;
    transform: translateX(-50%);
}

.li-absolute-meme {
    position: absolute;
    font-weight: 300;
    top: 30vh;
    left: 3rem;
}

.master-1 {
    font-weight: 800;
    font-family: var(--font-family-inter);
    margin-left: -1.5rem;
}

.design {
    font-weight: 500;
    font-family: var(--font-family-inter);
    margin-left: -1.5rem;
}

.caragi {
    inset: 0;
    width: 100vw;
    position: absolute;
}

.details-proj.un {
    font-weight: 800;
    font-family: var(--font-family-inter);
    margin-left: 1rem;
}
.details.un {
    font-weight: 800;
    font-family: var(--font-family-inter);
    margin-left: 1rem;
}
.details-proj.deux {
    font-weight: 500;
    font-family: var(--font-family-inter);
    margin-left: 1rem;
}
.details.deux {
    font-weight: 500;
    font-family: var(--font-family-inter);
    margin-left: 1rem;
}
.details-proj.trois {
    font-weight: 300;
    font-family: var(--font-family-inter);
}

.details.trois {
    font-weight: 300;
    font-family: var(--font-family-inter);
    margin-left: 1rem;
}

.photo-project-first {
    width: 100%;
}

.title-desc {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-2);
    font-weight: 500;
    margin-top: 3rem;
    margin-left: 2rem;
    margin-bottom: 1rem;
}
.title-desc ~ p {
    font-family: var(--font-family-inter);
    line-height: 22px;
    font-weight: 200;
    font-size: var(--font-size-0);
    width: 85%;
    margin-left: 2rem;
}

.proj-grid {
    display: flex;
    margin-top: 2.5rem;
}

.proj-grid-motion {
    margin-top: 2.5rem;
}

.proj-grid-motion > video {
    margin-bottom: 2.5rem;
}

.proj-grid > section > img {
    width: 100%;
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
}
.flex-more {
    display: flex;
    flex-direction: column;
    margin-top: 10vh;
    margin-bottom: 8vh;
    padding: 1.5rem;
}
.more-project {
    font-weight: 700;
}

.more-project > h3 {
    margin-bottom: 0.8rem;
}
.plus-proj {
    margin-bottom: 2rem;
    margin-left: 0.6rem;
}
.more-proj-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    align-items: flex-start;
    margin: 0 auto;
}
.more-project > img {
    justify-self: end;
}

h3 {
    font-weight: 600;
}
.project-motion {
    width: 90vw;
    justify-self: center;
}
.one,
.two,
.three,
.four {
    width: 160px;
    height: 190px;
    object-fit: cover;
}
.one:hover,
.two:hover,
.three:hover,
.four:hover {
    transform: translateY(-20px);
    filter: grayscale(100%);
    transition: transform 0.3s ease;
}
/* A PROPOS */

.top-colored {
    background: var(--red);
    height: 40vh;
    width: 100vw;
    top: 0;
}

.h1-proj-black.absolute {
    position: absolute;
    top: 0;
}

.relative {
    position: relative;
}
.title-about {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-6);
    font-weight: 1000;
    margin-top: 18vh;
    justify-self: center;
    animation: fadeInOpacity 1.5s ease-in forwards;
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.photo-profil {
    width: 190px;
    margin-top: 4rem;
    display: block;
    justify-self: center;
}
.photo-profil,
.profil-word-one,
.profil-word-two,
.logiciels,
.logiciels > p {
    animation: fadeInOpacity 1.5s ease-in forwards;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.words-profil {
    position: relative;
}

.profil-word-one,
.profil-word-two {
    position: absolute;
    font-size: 25px;
    color: var(--white);
    font-weight: 700;
}
.profil-word-one {
    top: 72vh;
    right: 55vw;
    display: flex;
    flex-direction: column;
}
.profil-word-two {
    top: 51vh;
    left: 50vw;
}

.logiciels {
    position: absolute;
    color: var(--white);
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 2rem;
    left: 40vw;
    margin-top: 4rem;
}
.logiciels > h3 {
    font-size: var(--font-size-1);
    font-family: var(--font-family-inter);
    font-weight: 700;
}
.logiciels > p {
    font-size: var(--font-size-0);
    font-family: var(--font-family-inter);
    font-weight: 300;
    text-align: justify;
}

.rose-about {
    width: 28px;
    margin-bottom: 0.5rem;
}
.date {
    font-family: var(--font-family-inter);
    font-weight: 600;
    font-size: var(--font-size-0);
}
.statut {
    font-family: var(--font-family-inter);
    font-weight: 700;
    font-size: var(--font-size-2);
}
.lieu {
    font-family: var(--font-family-inter);
    font-weight: 380;
    font-size: var(--font-size-0);
}
.missions {
    font-weight: 200;
    font-size: var(--font-size-0);
    line-height: 22px;
}

.flexbox-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 2rem;
}
.color-text {
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.title-cv.one {
    margin-top: 25vh;
    margin-bottom: 3rem;
}

.title-cv-two,
.title-cv {
    font-family: var(--font-family-instrument);
    font-size: var(--font-size-4);
    margin-bottom: 3rem;
}
.grid-parcours,
.grid-formation {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.grid-parcours > p {
    width: 17rem;
}

.grid-formation {
    margin-bottom: 4rem;
}

.grid-formation > p {
    width: 17rem;
}

.cv-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}
.title-cv.one,
.title-cv-two {
    margin-left: 2rem;
}
.title-cv-two.first {
    margin-top: 20rem;
}

.interest {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 19rem;
    width: 12rem;
}
.adress {
    color: var(--white);
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    width: 12rem;
}
.hobbies > h3 {
    font-size: var(--font-size-1);
    font-family: var(--font-family-inter);
    font-weight: 700;
    color: var(--white);
    margin-top: -30.5rem;
}
.hobbies > p {
    font-size: var(--font-size-0);
    font-family: var(--font-family-inter);
    font-weight: 300;
    margin-top: 1.5rem;
    width: 250px;
    text-align: justify;
    color: var(--white);
}
.hobbies {
    margin-top: 1rem;
}
.mail {
    margin-top: 1.5rem;
    margin-left: 2rem;
    margin-bottom: 4rem;
}
.img-hobbies {
    margin-top: 10rem;
    width: 390px;
    justify-self: center;
}
.flexbox-roller.cv {
    margin-top: 20rem;
}
/* PROJET PRATIQUE */

.title-pratique {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-4);
    font-weight: 1000;
    position: absolute;
    top: 25vh;
    left: 50%;
    transform: translateX(-50%);
    line-height: 32px;
}

.button-more-black {
    padding: 12px 18px 12px 6px;
    background: var(--black);
    color: var(--white);
    display: block;
    margin-top: 2rem;
    margin-bottom: 5rem;
}

.button-meme-margin {
    padding: 12px 18px 12px 6px;
    background: var(--black);
    display: block;
    margin-bottom: 5rem;
    color: var(--white);
    margin-top: 3rem;
    justify-self: center;
}

.title-one-memoire {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-2);
    font-weight: 700;
    margin-left: 3.5rem;
    margin-top: 2rem;
    margin-left: 1.5rem;
}

.title-two-memoire {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-2);
    font-weight: 700;
    justify-self: left;
}
.title-three-memoire {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-1);
    font-weight: 300;
    margin-left: 1.5rem;
}

.title-proj,
.li-project,
.menu-404 {
    animation: fadeInOpacity 1.5s ease-in forwards;
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.p-intro {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-1);
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 25px;
    margin-left: 1.5rem;
    width: 85%;
}

.p-dev {
    font-family: var(--font-family-inter);
    font-size: var(--font-size-0);
    font-weight: 200;
    line-height: 21px;
    margin-left: 1.5rem;
    width: 75%;
}

.p-sticky {
    margin-bottom: 2rem;
    width: 70vw;
    line-height: 23px;
}

.flex-title-p > h2 {
    margin-bottom: 2rem;
}
.relative.jeu {
    margin-top: 10vh;
    margin-bottom: 5rem;
    justify-self: center;
}
.img-therapie-one {
    width: 100%;
}
.img-therapie-two {
    width: 100%;
}
.img-therapie-three {
    width: 100%;
    margin-top: 3rem;
}
.img-therapie-four {
    width: 100%;
}
.img-therapie-five {
    width: 100%;
}
.img-therapie-six {
    width: 100%;
}
.img-therapie-seven {
    width: 100%;
}
.img-therapie-eight {
    width: 100%;
}
.img-therapie-nine {
    width: 100%;
}
.img-therapie-ten {
    width: 100%;
}
.img-therapie-eleven {
    width: 100%;
}

.img-therapie-one,
.img-therapie-two,
.img-therapie-three,
.img-therapie-four,
.img-therapie-five,
.img-therapie-six,
.img-therapie-seven,
.img-therapie-eight,
.img-therapie-nine,
.img-therapie-ten,
.img-therapie-eleven {
    margin-bottom: 1rem;
}

.button-more-home {
    padding: 12px 18px 12px 6px;
    background: var(--black);
    display: block;
    justify-self: left;
    margin-left: 3.5rem;
    margin-bottom: 5rem;
    color: var(--white);
}

.button-more-home.margin {
    margin-top: 5vh;
}

/* JEUX */

.img-therapie-three {
    margin-top: 0;
}

/* MEMOIRE */

.meme-container,
.jeux-container {
    animation: fadeInOpacity 1.5s ease-in forwards;
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.img-container-meme {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 3rem;
}
.img-container-meme > img {
    width: 100%;
    align-items: center;
    position: sticky;
    top: 0;
}

.article-mem {
    width: 100vw;
    padding: 2rem;
    z-index: 10;
    background: var(--grey);
    justify-self: center;
}
.intro-ecrit,
.plan {
    font-family: var(--font-family-inter);
    font-size: 15px;
    font-weight: 800;
    margin-top: 1rem;
    margin-left: 1.6rem;
    margin-bottom: 2rem;
    color: var(--red);
}
.intro-ecrit ~ p,
.plan ~ p {
    margin-bottom: 2rem;
    font-family: var(--font-family-inter);
    font-size: var(--font-size-0);
    line-height: 19px;
    width: 85%;
    justify-self: center;
}

.intro-ecrit ~ h3 {
    margin-bottom: 2rem;
    font-family: var(--font-family-inter);
    font-size: 15px;
    font-weight: 600;
}

.background-intro {
    background: var(--white);
    padding: 1rem;
    margin-bottom: 3rem;
}

.button-more-pratique {
    padding: 12px 18px 12px 6px;
    background: var(--black);
    display: block;
    justify-self: center;
    margin-top: 3.5rem;
    margin-bottom: 5rem;
    color: var(--white);
}
.memoire-text {
    margin-bottom: 4rem;
}

.img-sticky-intro {
    position: sticky;
    top: 0;
}

.sticky-img-project {
    background: var(--white);
}

.acceder {
    display: block;
    font-weight: 600;
    background: var(--white);
    padding: 0.4rem;
    color: var(--black);
    border-radius: 2px;
    justify-self: center;
    border: solid 0.3px #c7c7c7;
}

@media screen and (min-width: 500px) {
    .two {
        margin-top: 0rem;
    }
    .more-project {
        margin-bottom: 2rem;
    }
    .title-project.prod {
        font-size: var(--font-size-5);
        line-height: 50px;
    }

    .article-mem {
        width: 100vw;
        padding: 5rem;
        z-index: 10;
        background: var(--grey);
        justify-self: center;
        z-index: 3;
    }
    .img-container-meme {
        padding: 2rem 5rem 2rem 5rem;
    }
    .img-container-meme > img {
        position: sticky;
        top: 0;
    }
    .title-proj {
        font-size: var(--font-size-6);
    }
    .p-sticky {
        margin-bottom: 2rem;
        width: 55vw;
        line-height: 23px;
    }
    .project-grid {
        display: grid;
        gap: 3rem;
        justify-content: center;
        padding: 3rem;
        margin-bottom: 4rem;
        margin: 0 0 0 0;
    }

    .img-project-home.one {
        justify-self: right;
    }

    .li-absolute {
        left: 3rem;
    }
    .text-container-proj {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .colored-div {
        background: rgb(255, 64, 0);
        width: 40vw;
        height: 100vh;
    }
    .grid-home {
        display: grid;
        grid-template-columns: 30% 70%;
    }

    .title-header {
        top: 6vh;
        margin-left: -0.5rem;
    }
    .menu-title {
        left: 5.8rem;
    }
    .arrow-black {
        left: 6.5rem;
    }
    .img-404 {
        width: 650px;
    }
    .flexbox-roller {
        width: 100vw;
    }
    .top-colored {
        height: 30vh;
        width: 100vw;
    }
    .title-about {
        top: 15vh;
    }
    .profil-word-one {
        font-size: var(--font-size-4);
        top: 70vh;
        left: 10vw;
        display: flex;
        flex-direction: column;
    }
    .profil-word-two {
        font-size: var(--font-size-4);
        top: 55vh;
        left: 55vw;
    }
    .logiciels > p {
        width: 12rem;
    }
    .logiciels {
        left: 50vw;
    }

    .grid-parcours,
    .grid-formation {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    .top-colored {
        background: var(--red);
        height: 40vh;
        top: 0;
    }
    .grid-image {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }
    .img-404 {
        width: 500px;
    }
    .flex-proj-one {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .flex-proj-two {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .flex-proj-three {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .flex-proj-four {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }
    .grid-emo {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }
    .proj-grid {
        justify-self: center;
    }
}

@media screen and (min-width: 800px) {
    .hobbies > h3 {
        margin-top: -22rem;
    }
    .title-cv-two.first {
        margin-top: 8rem;
    }
    .adress {
        margin-top: 1rem;
        left: 6rem;
        transform: translateX(0%);
    }
    .button-about {
        margin-top: 3rem;
    }
    .grid-text-photo {
        position: sticky;
        top: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        z-index: -1;
    }
    .img-container-meme > img {
        position: static;
    }
    .img-container-meme {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        align-items: start;
        padding-left: 3rem;
        padding-top: 2rem;
    }
    .article-mem {
        padding: 10rem;
        background: rgba(0, 0, 0, 0.65);
    }

    .more-proj-container {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    .more-proj-container > img {
        width: 190px;
        height: 220px;
    }
    .legal-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .flexbox-roller > h2 {
        font-size: var(--font-size-2);
    }
    .photo-profil {
        width: 250px;
    }
    .profil-word-one {
        display: flex;
        flex-direction: column;
        top: 76vh;
        left: 18vw;
    }
    .profil-word-two {
        font-size: var(--font-size-4);
        top: 55vh;
        left: 55vw;
    }
    .logiciels {
        top: 80vh;
        left: 73vw;
    }
    .img-hobbies {
        justify-self: right;
        margin-right: 4rem;
    }
    .img-hobbies > img {
        width: 430px;
        margin-left: -2rem;
    }
    .interest {
        position: absolute;
        bottom: 15rem;
        left: 12rem;
    }
    .flexbox-roller.cv {
        margin-top: 5rem;
    }
    .text-container-proj {
        display: block;
        position: sticky;
        top: 3rem;
    }
    .cv-container {
        margin: 1rem;
    }
    .title-cv.one {
        margin-top: 11rem;
    }
    .top-colored {
        height: 40vh;
    }
    .relative.margin {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
    .grid-carnet {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media screen and (min-width: 1000px) {
    .hobbies > h3 {
        margin-top: -21rem;
        margin-left: 10rem;
    }

    .hobbies > p {
        margin-left: 10rem;
    }

    .master-1 {
        margin-left: 1.5rem;
    }

    .design {
        margin-left: 1.5rem;
    }
    .grid-carnet {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .grid-emo {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }
    .project-container {
        display: grid;
        grid-template-columns: 40% 60%;
    }
    .article-mem {
        padding: 3rem 14rem 3rem 14rem;
    }
    /* HEADER */

    .grid-image {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 10px;
    }

    .p-sticky {
        width: auto;
    }

    .title-header {
        font-weight: 1000;
        font-family: var(--font-family-inter);
        font-size: var(--font-size-6);
        rotate: 90deg;
        position: absolute;
    }

    .colored-div {
        width: 35vw;
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
    }
    .img-header {
        position: absolute;
        right: -10;
    }

    .menu-title {
        font-family: var(--font-family-inter);
        font-weight: 600;
        position: absolute;
        top: 80vh;
        left: 15rem;
        z-index: 4;
    }
    .arrow-black {
        position: absolute;
        width: 25px;
        top: 75vh;
        left: 15.5rem;
        z-index: 4;
    }
    .text-container-proj {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .grid-home {
        display: grid;
        grid-template-columns: 30% 70%;
    }

    .title-header {
        top: 6vh;
        margin-left: 4rem;
    }
    .menu-title {
        left: 10.5rem;
    }
    .arrow-black {
        left: 11.2rem;
    }
    .profil-word-one {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        top: 65vh;
        left: 10vw;
    }
    .text-container-proj {
        display: flex;
        flex-direction: column;
    }
    .text-container-proj {
        top: 0;
    }
    .img-hobbies {
        justify-self: right;
        margin-right: 20rem;
    }

    .img-hobbies > img {
        justify-self: right;
        margin-left: 3rem;
    }
    .interest {
        position: absolute;
        bottom: 15rem;
        left: 25rem;
    }
    .adress {
        position: absolute;
        top: -2rem;
        left: 5rem;
    }
    .img-hobbies {
        margin-right: 25rem;
    }
    .profil-word-one {
        display: flex;
        flex-direction: column;
        top: 70vh;
        left: 25vw;
    }
    .profil-word-two {
        font-size: var(--font-size-4);
        top: 50vh;
        left: 55vw;
    }

    .logiciels {
        top: 60vh;
        left: 70vw;
    }
    .title-cv.one {
        margin-top: 10rem;
    }
    .cv-container {
        justify-self: center;
    }

    .top-colored {
        background: var(--red);
        height: 40vh;
    }
    .img-404 {
        width: 650px;
    }

    .jeux-container {
        display: grid;
        grid-template-columns: 50% 50%;
    }
    .text-width-thera {
        width: 65%;
        padding-left: 5rem;
    }
}
@media screen and (min-width: 1200px) {
    .title-proj-two {
        left: 1rem;
    }

    .details-proj.two {
        margin-left: 1rem;
    }
    .project-motion {
        width: 60vw;
        justify-self: center;
    }
    .arrow-black {
        left: 15.2rem;
    }

    .h1-proj-black {
        left: 0.5rem;
    }
    .title-desc ~ p {
        width: 65%;
    }
    .memoire-text {
        margin-left: 3rem;
    }
    .img-container-meme > img {
        width: 60%;
    }
    .article-mem {
        padding: 3rem 20rem 3rem 20rem;
        justify-self: right;
    }
    .title-header {
        top: 6vh;
        margin-left: 8rem;
    }
    .menu-title {
        left: 14.5rem;
    }
    .plus-proj {
        margin-left: 21rem;
    }
}

@media screen and (min-width: 1400px) {
    body {
        max-width: 1550px;
        justify-self: center;
    }
    .article-mem {
        padding: 3rem 30rem 3rem 30rem;
        justify-self: right;
    }
}
