/* Importation de la police d'écriture */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans';
}


body {

    /* Définition des couleurs */
    --color-white: white;
    --color-gray800: #d6d6d6;
    --color-gray700: #b0b0b0;
    --color-gray600: #9a9a9a;
    --color-gray500: #7e7e7e;
    --color-gray400: #626262;
    --color-gray300: #434343;
    --color-gray200: #2f2f2f;
    --color-gray100: #1c1c1c;
    --color-black: black;
    --color-red: #e93939;
    --color-blue: #397fe9;
    --color-green: #4fc240;
    --color-yellow: #ffce47;
    --color-orange: #ff9c33;
    --color-purple: #752bff;

    /* Définition des transitions */

    --transition-10: 0.1s cubic-bezier(.5,0,.5,1);
    --transition-25: 0.25s cubic-bezier(.5,0,.5,1);
    --transition-50: 0.5s cubic-bezier(.5,0,.5,1);
    --transition-75: 0.5s cubic-bezier(.5,0,.5,1);
    --transition-100: 0.5s cubic-bezier(.5,0,.5,1);



    display: flex;
    flex-direction: column;
    align-items: center; 

}

/* .cursor {
    background-color: white;
    width: 4px;
    height: 4px;
    z-index: 99999;
} */

section {
    height: 100vh;
}

/* Header */
header {
    background: linear-gradient(180deg, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    height: 8rem;
    width: 100vw;
    padding: 0 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 998;
    text-align: center;
}

.header-left-container {
    width: 50%;
    display: flex;
    justify-content: flex-start;
}

.header-right-container {
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 4rem;
}

.header-link {
    color: var(--color-white);
    transition: var(--transition-25);
    text-decoration: none;
}

.header-link:hover {
    opacity: 0.5;
    transition: var(--transition-25);
    cursor: pointer;
}

.header-call-to-action {
    padding: 1rem;
    background-color: var(--color-white);
    color: var(--color-black);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: var(--transition-25);
}

.header-call-to-action:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    transition: var(--transition-25);
    cursor: pointer;
}

.header-logo {
    max-width: 15%;
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

.header-contact {
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9999;
    display: none;
    position: fixed;
    flex-direction: column;
    align-items: center;
}

.header-contact-element {
    opacity: 0;
}

.header-contact i {
    color: white;
    position: absolute;
    top: 3.5rem;
    right: 3.5rem;
    font-size: 3rem;
    padding: 2.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3rem;
}

.header-contact i:hover {
    background-color: var(--color-gray400);
    cursor: pointer;
}

.header-contact-title {
    font-size: 3rem;
    text-align: center;
    color: white;
    margin-top: 6rem;
}

.header-contact-background {
    position: absolute;
    bottom: 0;
    left: 0;
}

.contact-container {
    height: 40rem;
    width: 100%;
    bottom: 10%;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-container-box {
    height: 100%;
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.contact-container-box div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-container-name {
    font-size: 2.5rem;
    color: white;
    font-weight: bolder;
}

.contact-container-line {
    width: 4rem;
    height: 0.5rem;
    border-radius: 2rem;
    transition: var(--transition-25);
}

.line-linkedin {
    background: #0E76A8;
}

.line-instagram {
    background: #e31866;
}

.line-tel {
    background: #32D74E;
}

.line-mail {
    background: var(--color-white);
}

.contact-container-box:hover .contact-container-line {
    width: 100%;
    transition: var(--transition-25);
}


/* Hero */
.hero {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
}

.blob {
	border-radius: 40% 60% 70% 40% / 70% 90% 70% 30%;
    padding: 0;
    min-width: 50vw;
    min-height: 50vh;
    overflow: hidden;
    z-index: -100;
    background: rgb(0,84,255);
    margin: 0 10vw;
	position: absolute;
	animation: morph 8s ease-in-out infinite alternate;
}

.hero-text {
    color: var(--color-white);
    width: 100vw;
    bottom: 0;
    text-transform: uppercase;
    font-style: italic; 
    font-size: 8ch;
    margin: 0 2rem;
    font-weight: 200;
    text-align: center;
    display: block;
    height: max-content;
}

.hero-text span {
    position: relative;
    font-weight: 200;
    transition: var(--transition-10);
}

.hero-text span:hover {
    font-weight: 800;
    cursor: default;
    transition: var(--transition-10);
}

.hero-sub-text {
    color: var(--color-white);
    bottom: 0;
    font-size: 2rem;
    font-weight: 200;
    text-align: center;
    opacity: 0;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 0;
    margin-bottom: 11rem;
    gap: 1rem;
    opacity: 0;
}

.hero-arrow, .hero-indication {
    color: var(--color-white);
    z-index: 99999;
}

.scrolling-sections {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    width: 100vw;
}

/* A propos de moi */

.section2 {
    position: relative;
    margin-top: 16rem;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 70vh;
    min-width: 90vw;
    border-bottom-left-radius: 10rem;
    border-bottom-right-radius: 10rem;
    background-color: var(--color-gray200);
    margin-top: 100vh;
    align-items: center;
    box-shadow: 0px 0px 100px 10rem rgba(0,0,0,1);
    overflow: auto;
}

.section2-title {
    text-align: center;
    overflow: hidden;
    color: var(--color-white);
    justify-content: center;
    background-image: url("../img/background.jpg");
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 20rem;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
}

.section2-subcontainer {
    display: flex;
    width: 100%;
    margin: 2rem 0;
}

.section2-subcontainer div {
    display: flex;
    flex-direction: column;
    width: 60%;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.section2-img-container {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section2-img-container img {
    width: 50%;
    height: auto;
    margin: 4rem 2rem;
    border-radius: 4rem;
    box-shadow: 0px 0px 50px 0px rgba(0,0,0,1);
}


.section2-description {
    padding: 0 6rem;
    width: 40rem;
    color: var(--color-white);
    font-size: 1.5rem;
    text-align: center;
}

.section2-cv a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 1rem;
    gap: 1rem;
    background-color: transparent;
    border: solid 1px var(--color-white);
    padding: 1rem 2rem;
    color: var(--color-white);
    transition: var(--transition-25);
    text-decoration: none;
    text-align: center;
}

.section2-cv a:hover {
    background-color: var(--color-white);
    color: var(--color-gray300);
    transition: var(--transition-25);
    cursor: pointer;
}

.section2-competences {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 1.5rem;
    width: 80%;
    color: var(--color-white);
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.section2-competences-title {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: bolder;
}

.section2-competences p {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}


.competence-html {
    background-color: rgba(211, 88, 54, 0.25);
    border: solid 1px rgba(211, 88, 54, 1);
}

.competence-css {
    background-color: rgba(83, 152, 209, 0.25);
    border: solid 1px rgba(83, 152, 209, 1);
}

.competence-js {
    background-color: rgba(255, 206, 71, 0.25);
    border: solid 1px rgba(255, 206, 71, 1);
}

.competence-php {
    background-color: rgba(122, 124, 177, 0.25);
    border: solid 1px rgba(122, 124, 177, 1);
}

.competence-mysql {
    background-color: rgba(233, 57, 57, 0.25);
    border: solid 1px rgba(233, 57, 57, 1);
}

.competence-flutter {
    background-color: rgba(0, 86, 158, 0.25);
    border: solid 1px rgba(71, 197, 251, 1);
}

.competence-photoshop {
    background-color: rgba(1, 30, 54, 0.25);
    border: solid 1px rgba(49, 168, 255, 1);
}

.competence-illustrator {
    background-color: rgba(51, 0, 0, 0.25);
    border: solid 1px rgba(255, 154, 1, 1);
}

.competence-premierepro {
    background-color: rgba(0, 0, 91, 0.25);
    border: solid 1px rgba(153, 153, 255, 1);
}

.competence-figma {
    background-color: rgba(255, 104, 60, 0.25);
    border: solid 1px rgba(255, 104, 60, 1);
}

.competence-office, .competence-iwork {
    background-color: rgba(255, 255, 255, 0.25);
    border: solid 1px rgba(255, 255, 255, 1);
}

.competence-trello {
    background-color: rgba(2, 129, 205, 0.25);
    border: solid 1px rgba(2, 129, 205, 1);
}

.competence-img {
    height: 1.5rem;
}

.section3 {
    position: relative;
    height: auto;
    width: 100vw;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section3-title {
    color: var(--color-white);
    text-align: center;
    font-size: 5rem;
    position: sticky;
    margin: 30vh 0;
    background: -webkit-linear-gradient(270deg, rgb(0,84,255), rgb(132, 0, 255));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section4 {
    background-color: black;
    z-index: 2;
    height: auto;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
}

.section4-selectors {
    margin-left: 5rem;
    position: sticky;
    top: 20%;
    display: flex;
    flex-direction: column;
    width: max-content;
    height: max-content;
}

.section4-selector {
    display: flex;
    flex-direction: row;
    color: var(--color-white);
    align-items: center;
    gap: 1rem;
}

.section4-selector a {
    color: var(--color-white);
    text-decoration: none;
}

.section4-selector-line {
    background-color: var(--color-white);
    width: 0.5vw;
    height: 5vh;
    padding-right: 0.25rem;
}

.section4-selector-line[type="dev"] {
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
}

.section4-selector-line[type="perso"] {
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.section4-selector-line[type="dev"] {
    background-color: var(--color-green);
}

.section4-selector-line[type="crea"] {
    background-color: var(--color-yellow);
}

.section4-selector-line[type="com"] {
    background-color: var(--color-purple);
}

.section4-selector-line[type="perso"] {
    background-color: var(--color-blue);
}

.section4-list {
    height: 200vh;
    width: calc(80% - 10rem);
    margin-right: 5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section4-container {
    width: auto;
    height: 20rem;
    border-radius: 1rem;
    background-color: var(--color-gray200);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

.section4-container-line {
    height: 100%;
    width: 1rem;
}

.section4-container-line[type="dev"] {
    background-color: var(--color-green);
}

.section4-container-line[type="crea"] {
    background-color: var(--color-yellow);
}

.section4-container-line[type="com"] {
    background-color: var(--color-purple);
}

.section4-container-line[type="perso"] {
    background-color: var(--color-blue);
}

.section4-container-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    margin: 1rem 0;
}

.section4-container-img img {
    height: 60%;
    border-radius: 1rem;
}

.imgs-beetrav {
    display: flex;
    gap: 3rem;
}

.section4-container-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section4-container-title {
    color: var(--color-white);
    font-size: 2rem;
    font-weight: bolder;
}

.section4-container-btn {
    margin-right: 1rem;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section4-container-btn button {
    background-color: var(--color-gray400);
    border-radius: 5rem;
    border: none;
    color: var(--color-white);
    padding: 1rem;
}

.section4-container-btn:hover {
    background-color: var(--color-gray200);
    transition: var(--transition-25);
}

.section4-container-tools-text {
    color: var(--color-white);
    margin-top: 1rem;
}

.section4-container-tools {
    margin-top: 1rem;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.section4-container-tools i {
    color: var(--color-white);
    font-size: 2rem;
}

.section4-container-tools img {
    width: 2rem;
    height: 2rem;
}

.section4-moredetails {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    opacity: 0;
    z-index: 9999;
    width: 90%;
    height: 90%;
    position: fixed;
    background-color: var(--color-gray100);
    color: var(--color-white);
    transition: var(--transition-50);
    margin: 5vh 5vw;
    border-radius: 3rem;
}

.section4-moredetails .close-btn {
    width: 4rem;
    height: 4rem;
    text-align: center;
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    padding: 1rem;
    border-radius: 2rem;
    transition: var(--transition-25);
}

.section4-moredetails .close-btn:hover {
    background-color: var(--color-gray400);
    transition: var(--transition-25);
    cursor: pointer;
}

.section4-moredetails-left {
    margin-top: 2rem;
    margin-left: 2rem;
    width: 50%;
    height: 100%;
} 

.section4-moredetails-img {
    height: 20rem;
}

.section4-moredetails-img img {
    width: auto;
    height: 100%;
    border-radius: 1rem;
}

.section4-moredetails-nom {
    margin-top: 2rem;
    font-size: 3rem;
    font-weight: bolder;
}

.section4-moredetails-description {
    margin-top: 2rem;
    font-size: 1rem;

}

.section4-moredetails-right {
    width: 30%;
    height: 80%;
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.section4-moredetails-right p {
    font-size: 1.5rem;
}

.section4-moredetails-collaborateurs {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
}

.section4-moredetails-collaborateurs a {
    color: var(--color-white);
    font-size: 1rem;
    width: max-content;
}

.section4-moredetails-logiciels {
    display: flex;
    flex-direction: column;
}

.section4-moredetails-logiciels i {
    width: 3rem;
}

.section4-moredetails-logiciels p {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.section4-moredetails-logiciels img {
    width: 1.5rem;
    margin-right: 1rem;
}


footer {
    width: 100%;
    background-color: var(--color-black);
    height: auto;
    padding: 10rem 0;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.footer-text {
    color: white;
    margin: 0 2rem;
    text-align: center;
}

.footer-text a {
    color: white;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(1em);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

  @keyframes morph {
    0% {
      border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
      background-color: rgb(0,84,255);
      box-shadow: 0px 0px 100px 0px rgb(0,84,255);
    }
    100% {
        border-radius: 40% 60%;
        background-color: rgb(132, 0, 255);
        box-shadow: 0px 0px 100px 0px rgb(132, 0, 255);
      }
  }

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}

@keyframes fadeOutOpacity {
    0% {
        opacity: 100;
    }
    100% {
        opacity: 0;
    }
}

@media screen and (max-width: 480px) {

    header {
        width: 100%;
        padding: 0 5%;
    }

    .header-contact-background {
        width: 100%;
    }

    .header-contact i {
        color: white;
        position: relative;
        right: auto;
        left: auto;
        font-size: 3rem;
        padding: 2.5rem;
        width: 3rem;
        height: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 3rem;
    }
    
    .header-contact i:hover {
        background-color: var(--color-gray400);
        cursor: pointer;
    }

    .contact-container {
        height: 30rem;
    }

    .contact-container-box {
        height: 50%;
        width: max-content;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
    }

    .hero-text {
        font-size: 4rem;
    }

    .hero-sub-text {
        font-size: 1.5rem;
    }

    .hero-container {
        display: none;
    }

    .section2 {
        border-bottom-left-radius: 5rem;
        border-bottom-right-radius: 5rem;
    }

    .section2-subcontainer {
        flex-direction: column;
        align-items: center;
    }

    .section2-subcontainer div {
        width: 90%;
    }

    .section2-description {
        width: 100%;
        font-size: 1rem;
        padding: 0;
    }

    .section2-img-container {
        width: 30%;
    }

    .section2-img-container img {
        width: 50%;
    }

    .section2-cv a {
        font-size: 1rem;
    }

    .section2-competences {
        width: 90;
        gap: 1rem;
    }

    .section2-competences-title {
        font-size: 2rem;
    }

    .section3-title {
        font-size: 15vw;
    }

    .section4 {
        flex-direction: column;
        height: max-content;
    }

    .section4-selectors {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0;
        width: 100%;
        padding: 0 2rem;
        top: 90dvh;
    }

    .section4-selector {
        flex-direction: column-reverse;
        width: calc(100% / 4);
        padding-top: 1rem;
        background-color: var(--color-gray300);
        overflow: hidden;
    }

    .section4-selector:first-of-type {
        border-top-left-radius: 1rem;
        border-bottom-left-radius: 1rem;
    }

    .section4-selector:last-of-type {
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }

    .section4-selector-line {
        width: 100%;
        height: 0.5vh;
    }

    .section4-selector-line[type="dev"] {
        border-top-right-radius: 0;
    }

    .section4-selector-line[type="perso"] {
        border-bottom-left-radius: 0;
    }

    .section4-list {
        display: flex;
        margin: 0 auto;
        width: 90%;
    }

    .section4-container {
        gap: 0.5rem;
        height: max-content;
        height: 8rem;
    }

    .section4-container-img img {
        height: 50%;
        border-radius: 1rem;
    }

    .imgs-beetrav {
        display: flex;
        gap: 1rem;
    }

    .section4-container-title {
        font-size: 1.25rem;
    }

    .section4-container-text {
        font-size: 0.75rem;
        gap: 0;
    }

    .section4-container-tools {
        flex-wrap: wrap;
        margin: 0;
    }

    .section4-container-tools-text {
        margin: 0;
    }
    
    .section4-container-tools i {
        font-size: 1.5rem;
    }

    .section4-moredetails {
        flex-direction: column;
        overflow-y: scroll;
        align-items: center;
        padding: 2rem 0;
        margin: 10% 0;      
    }

    .section4-moredetails-nom {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .section4-moredetails-description-container {
        display: flex;
        justify-content: center;
        width: 90%;
    }

    .section4-moredetails-description {
        text-align: center;
    }

    .section4-moredetails .close-btn {
        position:initial;
        padding-top: 2rem;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .section4-moredetails-left .section4-moredetails-right {
        padding: 0;
        margin: 0;
    }

    .section4-moredetails-left {
        width: 100%;
        height: auto;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section4-moredetails-img {
        width: 100%;
        margin-top: 2rem;
        height: auto;
        display: flex;
    }

    .section4-moredetails-img img {
        margin: 0 auto;
        width: 90%;
        justify-self: center;
    }

    .section4-moredetails-right {
        width: 100%;
        padding: 0;
        margin: 0;
        margin: 4rem 0;
    }

    .section4-moredetails-right div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section4-moredetails-collaborateurs {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section4-container:last-of-type {
        margin-bottom: 6rem;
    }

}




i.fa-html5 { color: #d35835 }
i.fa-css3 { color: #5498d1 }
i.fa-js { color: var(--color-yellow) }
i.fa-php { color: #797cb1 }
i.fa-database { color: var(--color-red) }
i.fa-figma {
    background: rgb(242,78,30);
    background: linear-gradient(180deg, rgba(242,78,30,1) 0%, rgba(255,114,98,1) 25%, rgba(162,89,255,1) 50%, rgba(26,188,254,1) 75%, rgba(10,207,131,1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
i.fa-trello { color: #0081cd }
i.fa-file-excel { 
    background: rgb(98,195,136);
background: linear-gradient(180deg, rgba(98,195,136,1) 0%, rgba(78,162,108,1) 30%, rgba(55,123,69,1) 70%, rgba(42,90,56,1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
 }