/*POLICES D'ECRITURES*/
@import url('https://fonts.googleapis.com/css2?family=Allerta+Stencil&family=Oswald:wght@200..700&family=PT+Sans+Narrow:wght@400;700&family=Timmana&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jaldi:wght@400;700&family=Jersey+10&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&family=Lekton:ital,wght@0,400;0,700;1,400&family=Lexend+Zetta:wght@100..900&display=swap');

/*PAGES*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: black;
}

/*PAGE ERREUR 404*/
.errorBody {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    background: radial-gradient(
        circle at 50%,
        #2F154E,
        #000000 82%);
    font-family: "Jersey 10";
    font-weight:normal;
    font-size: 2.5vh;
    user-select: none;
}

.errorBody a{
    transition: ease;
    transition-duration: 300ms;
    color: #4D71A6;
    font-family: "Jaldi";
    font-size: 3vh;
    text-decoration: none;
    margin-bottom: -2vh;
    filter: drop-shadow(0 0 1vh);
}

.errorBody a:hover{
    transition: ease;
    transition-duration: 100ms;
    filter: drop-shadow(0 0 2vh);
    color: #92afdb;
}

.errorIMG{
    width: 30vh;
}

.errorTiles{
    position: fixed;
    z-index: -1000;
    background-image: url(source/tile.png);
    background-size: 25vh;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
}

/*🏗️ PAGE "SITE EN CONSTRUCTION" INCONSTRUCTION.HTML*/
/*Base : https://www.sliderrevolution.com/resources/css-animated-background/*/
.inConstructionBody {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    overflow: hidden;
    background-color: #000000;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.content-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 100%;
    padding: 2rem;
}

.content-container h1 {
    font-size: clamp(10px,10vh,10vw);
    font-weight: 800;
    margin-bottom: 5vh;
    text-shadow: 0 0 20px #d3d3d31a;
    line-height: 9vw;
}

.content-container p {
    font-size: 3vh;
    line-height: 1.6;
    color: #ffffffcc;
    margin-bottom: 3vw;
    line-height: 4vh;
}

.logoInConstruction {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    user-select: all;
}

.logoInConstruction #logoGithub,#logoEmail{
    transition-duration: 100ms;
}

.logoInConstruction #logoGithub:hover,#logoEmail:hover{
    transition: ease;
    fill: #ffffffC0;
    filter: drop-shadow(0 0 3px #FFFFFFFF);
    cursor: pointer;
    transition: ease;
    transition-duration: 100ms;
    transform: scale(1.1) translateY(-5px);
}

.gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(15vw);
}

.sphere-1 {
    width: 40vw;
    height: 40vw;
    background: linear-gradient(40deg, #8c00ffcc, #ffae0066);
    top: -10%;
    left: -10%;
    animation: float-1 15s ease-in-out infinite alternate;
}

.sphere-2 {
    width: 45vw;
    height: 45vw;
    background: linear-gradient(240deg, rgba(111, 0, 255, 0.8), #00ff1566);
    bottom: -20%;
    right: -10%;
    animation: float-2 18s ease-in-out infinite alternate;
}

.sphere-3 {
    width: 30vw;
    height: 30vw;
    background: linear-gradient(120deg, rgba(89, 255, 111, 0.5), rgba(249, 98, 98, 0.3));
    top: 60%;
    left: 20%;
    animation: float-3 20s ease-in-out infinite alternate;
}

@keyframes float-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

@keyframes float-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-10%, -5%) scale(1.15);
    }
}

@keyframes float-3 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-5%, 10%) scale(1.05);
        opacity: 0.6;
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 2rem 2rem;
    background-image: 
        linear-gradient(to right, #ffffff0A .1rem, transparent 1px),
        linear-gradient(to bottom, #ffffff0A .1rem, transparent 1px);
    z-index: 2;
}

.glow {
    position: absolute;
    width: 40vw;
    height: 40vh;
    background: radial-gradient(circle, #4800ff26, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: pulse 8s infinite alternate;
    filter: blur(30px);
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.lienSite{
    transition-duration: 100ms;
    color: rgba(255, 255, 255, 0.205);
    font-size: clamp(10px,2vh,.7vw);
}

.lienSite:hover{
    transition: ease;
    transition-duration: 100ms;
    color: #5a63b3;
    text-shadow: 0 0 15vh #5a63b3;
}

/*🏠 PAGE D'ACCEUIL*/
.indexBody{
    color: white;
    background-color: #0F151F;
    height: 200vh;
}

.indexHeader{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(#243B55, #141E30);
    min-height: 100vh;
}

#indexMenu{
    display: flex;
    flex-direction: row;
    justify-content: start;
    position: fixed;
    background: linear-gradient(.25turn, #000000B0, #00000000);
    background-image: linear-gradient(0.25turn, #00000080, #00000000);
    background-size: cover;
    transition: background-image 2s;
    margin-top: -100vh;
    z-index: 1000;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(1vh);
    mask: linear-gradient(
        to top,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, .75) 7vw,
        rgba(0, 0, 0, 1) 14vw,
        rgba(0, 0, 0, 1) 100%
    );
    transition: ease 300ms;
}

.indexMenuSelection{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: calc(100vw - 7vh);
    height: 100vh;
}

.indexMenuSelection h1{
    font-family: "League Gothic";
    font-weight: 100;
    font-size: 10vh;
    margin-left: -8vh;
}

.indexMenuSelection h3{
    font-family: "Lekton";
    font-weight: 100;
    font-size: 2.7vh;
    margin-top: -2.5vh;
    margin-left: -8vh;
}

.indexMenuSelection div{
    align-self: flex-start;
    margin-top: calc(20vh - 3vw);
}

.indexMenuSelection a{
    text-decoration: none;
}

.indexMenuSelection h2{
    transition: ease 400ms;
    font-family: "Lexend Zetta";
    font-weight: 100;
    color: #fff;
    font-size: calc(1vh + 3vw);
    margin-top: calc(8vh - 3vw);
    margin-left: 1.5vw;
}

.indexMenuSelection h2:hover{
    font-weight: 200;
}

.indexMenuCross{
    margin: 1vh;
    width: 7vh;
    cursor: pointer;
}

.indexHeaderBar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2vh;
    font-family: "Oswald";
    padding: 2vh;
}

.indexHeaderLeftPart{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.indexHeaderLeftPart a{
    transition: ease 100ms;
    font-size: 3vh;
    color: #FFFFFF;
    text-decoration: none;
    margin-right: 2vh;
}

.indexHeaderLeftPart a:hover{
    transition: ease 150ms;
    text-shadow: 0 0 2vh #94a0e4;
    transform: scale(1.1);
}

.amburgerMenu{
    width: 5vh;
    margin-right: 2vh;
    cursor: pointer;
}

.darkModeToggleLabel {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: #394a56;
}

.darkModeToggleLabel-text {
  margin-left: 2vh;
}

.darkModeToggle {
  isolation: isolate;
  position: relative;
  height: 3vh;
  width: 6vh;
  border-radius: 2vh;
  overflow: hidden;
  box-shadow: -.5vh -.5vh 1vh 0 #0000002c,
    .5vh .5vh 1vh 0 #0000002c,
    .5vh .5vh .5vh 0 #0000002c inset,
    -.5vh -.5vh .5vh 0 #0000002c inset;
}

.darkModeToggle-state {
  display: none;
}

.darkModeToggleIndicator {
  height: 100%;
  width: 200%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5vh;
  background-color: #FFF4CEFF;
  border-radius: 2vh;
  transform: translate3d(-75%, 0, 0);
  transition: transform 0.4s cubic-bezier(0.85, 0.05, 0.18, 1.35);
  box-shadow: -1vh -.5vh .5vh 0 #0000003c,
    .5vh .5vh 1vh 0 #0000003c;
}

.darkModeToggle-state:checked ~ .darkModeToggleIndicator {
  transform: translate3d(25%, 0, 0);
  background-color: #0a101da0;
}

.presentationContent{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.presentationContent img{
    align-self: center;
    z-index: 0;
    filter: drop-shadow(1vh 2vh 3vh #00000030);
    width: clamp(50px,65vh,100%);
    height: 90vh;
    object-fit: cover;
    filter: drop-shadow(3vh 3vh 1vh #00000050);
}

.presentationContentInner1{
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: "Timmana";
    font-size: clamp(10px,6vh,7vw);
    margin-bottom: clamp(1px,20vw,40vh);
}

.presentationContentInner2{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: row;
    margin-top: -3vh;
}

.presentationContentInner2 svg{
    margin-top: 1.5vh;
    width: clamp(10px,11vh,13vw);
    height: clamp(10px,11vh,13vw);
}

.presentationContentInner3{
    display: flex;
    align-items: start;
    flex-direction: column;
    height: 9vh;
    margin: 1vh;
}

.presentationContentInner3 h2{
    font-family: "PT Sans Narrow";
    font-weight: 500;
    font-size: clamp(10px,6vh,7vw);
}

.presentationContentInner3 a{
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.presentationContentInner2:hover > .presentationContentInner3 a{
    color: #f89959;
}

.presentationContentInner3 h3{
    font-family: "Allerta Stencil";
    font-size: clamp(10px,4.1vh,4.5vw);
}

.indexMain{
    padding: 5vw;
    background-color: #0F151F;
    z-index: 1000;
    font-family: "Roboto";
    font-weight: 100;
    font-size: 3vh;
}

.indexMain h1{
    margin-top: 6vh;
    font-weight: 200;
    font-size: 6vh;
    text-align: center;
}

.indexMain a{
    transition: ease 100ms;
    color: rgb(97, 142, 194);
    text-decoration: none;
    font-weight: 200;
}

.indexMain a:hover{
    transition: ease 200ms;
    font-weight: 300;
}

.indexMainIntroduction h2{
    font-family: "Roboto";
    font-weight: 100;
    font-size: 4vh;
}

.indexMainIntroduction p{
    margin-top: 1.5vh;
    text-indent: 2vh;
}

.indexMainExperience{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.indexMainExperience p{
    margin-top: 1vh;
}

.indexMainExperience h2{
    margin-top: 2vh;
    font-weight: 100;
    font-size: 3vh;
}

.indexMainLogicielInner{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.indexMainLogicielInner div{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5vh;
}

.indexMainLogicielInner img{
    width: 20vh;
    height: 20vh;
}

.indexMainLogicielInner h2{
    font-weight: 100;
}

.indexFooter{
    background-color: #080D15;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    font-family: "Raleway";
    font-weight: 100;
    color: #576C89;
    padding: 5vh;
    text-align: center;
}

.indexFooter h1{
    font-size: 4vh;
    font-weight: bold;
}

.indexFooterInner1, .indexFooterInner2{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.indexFooterInner1 a{
    text-decoration: none;
}

.indexFooterInner1 .indexEmailButton{
    transition: ease 50ms;
    background-color: #D7E8FF10;
    display: flex;
    align-items: center;
    flex-direction: row;
    font-size: 2vh;
    color: #D7E8FF;
    padding: 1vh;
    margin-top: 2vh;
    border-radius: 1.5vh;
}

.indexFooterInner1 .indexEmailButton:hover{
    transition: ease 100ms;
    background-color: #D7E8FF40;
}

.indexFooterInner1 .indexEmailButton img{
    margin-right: 1vh;
    width: 3vh;
}

.indexFooterInner1 .indexNetwork{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    margin-top: 2vh;
}

.indexFooterInner1 .indexNetwork img{
    width: 7vh;
    margin: 1vh;
}

.indexFooterInner1 .indexNetwork img:hover{
    filter: brightness(1.75) grayscale(50%);
}

.indexFooter hr{
    border: outset 2px #576C89;
}

.indexFooterInner2 button{
    transition: ease 50ms;
    margin-top: 2vh;
    background-color: #4D607B20;
    font-family: "Raleway";
    font-size: 3vh;
    color: #576C89;
    border-width: 0;
    border-radius: 3vh;
    padding-right: 1vh;
    padding-left: 1vh;
}

.indexFooterInner2 button:hover{
    transition: ease 100ms;
    background-color: #4D607B70;
}

.indexFooterInner2 h2{
    margin-top: 2vh;
    font-weight: 400;
}

.indexFooterInner2 p{
    font-weight: 200;
    font-size: 2vh;
}

/*PAGE CODE*/
.codeBody{
    color: #fff;
}

/*PAGE ROBOTIQUE*/
.robotBody{
    color: #fff;
    width: 100vw;
    background: radial-gradient(
        #696973 0%,
        #2E2E32 72%,
        #1E1F22 100%
    );
}

.robotBg{
    height: 130vw;
    width: 100vw;
}

#robotBgInner1,
#robotBgInner2{
    position: absolute;
    width: 100vw;
}

#robotBgInner3,
#robotBgInner4{
    position: absolute;
    width: 100vw;
    top: 70vw;
}

#robotBgInner5{
    position: absolute;
    width: 100vw;
    top: 200vw
}

/*PAGE ART*/
.artBody{
    color: #fff;
}

/*PAGE PROFESSIONELLE*/
.proBody{
    color: #fff;
}

/*Quand le flex s'applique*/
@media (max-aspect-ratio: 1/1) {
    .presentationContentInner1{
        display: flex;
        position: sticky;
        top: 15vh;
        margin-bottom: 0;
    }

    .indexFooter hr{
        margin-top: 4vh;
        margin-bottom: 4vh;
        width: 80vw;
    }
    
    .indexHeaderLeftPart a{
        display: none;
    }

    #indexMenu hr{
        display: none;
    }
}