
body, html {
    overflow: hidden;
    position: fixed;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    width: 100vw;
    height: 100vh;
    background-color: aliceblue;
    font-family: 'Montserrat',sans-serif;
}

/*--- Police générale ---*/

p {
    font-size: 14px;
}

a {
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}

ul {
    font-size: 14px;
    list-style-type: none;
    padding-left: 0;
}

li {
    padding: 10px 0 10px 0;
}

h1 {
    font-weight: 700;
    font-size: 32px;
}

h2 {
    font-weight: 600px;
    font-size: 50px;
}

h3 {
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 50px;
}
h4 {
    margin: 0;
}
.colors {
    color: var(--bleu-clair);
}

h5 {
    font-size: 14px;
    margin: 0;
}

h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 400;
}

/*--- variantes couleur ---*/
:root {
    --fond-degrade: linear-gradient(to bottom, #004AAD, #38B6FF);
    --bleu-fonce : #004AAD;
    --bleu-clair : #38B6FF;
}



/*--- Wrapper ---*/

wrapper {
    display: flex;
    flex-direction: row;
    margin: auto;
    width: 95%;
    max-width: 1400px;
    height: 90%;
    border-radius: 25px;
    align-content: auto;

}

/*--- Animation chargement ---*/

.main-infos {
    display: flex;
    margin: auto;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background: var(--fond-degrade);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    animation-name: main-infos-intro;
    animation-duration: 2s;
    animation-timing-function: cubic-bezier(.4,0,.4,1.2);
}

@keyframes main-infos-intro {
    0% {transform: translateX(100vw);}
    85% {transform: translateX(1vw);}
    100% {transform: translateX(0);}
}


/*--- Partie fixe gauche ---*/

.container-perso {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 10px 10px 10px;
    width: 50%;
    min-width: 300px;
    height: auto;
    text-align: center;
    overflow: scroll;
}


::-webkit-scrollbar {
    display: none;
}

.top-infos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container-perso p {
    color: white;
    font-size: 18px;
    margin: 10px 0;
}

.photo {
    position: relative;
    margin: 25px 0 25px 0;
    z-index: 1;
}

.photo img{
    width: 60%;
    border-radius: 50%;
}
.photo:after {
    position: absolute;
    top: 5%;
    left: 25%;
    border-radius: 100%;
    content: '';
    height: calc(100% + 0px);
    width: calc(60% + 0px);
    background-image: repeating-linear-gradient(45deg, var(--bleu-clair) 0, var(--bleu-clair) 3px, transparent 0, transparent 50%);
    background-size: 15px 15px;
    background-color: rgba(255, 0, 0, 0);
    z-index: -1;
}

.container-perso h1 {
    color: white;
}

#conception {
    font-size: 12px;
    margin: 10px 25px;
}

.reseaux a{
    color: white;
    font-size: 24px;
}

.reseaux {
    text-align: center;
    margin-bottom: 25px;
}
.button {
    margin: 20px 0px;
}

.button a{
    font-family: 'Montserrat';
    font-size: 14px;
    font-weight: 500;
    padding: 10px 25px 10px 25px;
    border: 2px solid white;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.button a:hover {
    background-color: white;
    color: var(--bleu-fonce);
}


.cv p{
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
}



/*--- partie centrale ---*/

.separation {
    border: 2px solid var(--bleu-clair);
    opacity: .2;
    width: 25%;
    border-radius: 50px;
    align-self: center;
    margin: 50px auto 50px auto;
}

.container-central {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-width: 400px;
    border-radius: 25px;
    padding: 50px;
    height: auto;
    background-color: white;
    overflow: scroll;
    animation-name: main-infos-intro;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    transform: translateX(100vw);
    animation-timing-function: cubic-bezier(.4,0,.4,1.2);
}



/*--- Scrollbar ---*/


/*--- Contenu partie central ---*/

.container-central :is(h2, h3) {
    position: relative;
    z-index: 1;
    width: fit-content;
}

.container-central :is(h2, h3)::after {
    position: absolute;
    bottom: -5px;
    opacity: .45;
    right: -10px;
    content: '';
    height: 1em;
    width: 2em;
    background-image: radial-gradient(ellipse farthest-corner at 0.4em 0.4em, var(--bleu-clair), var(--bleu-clair) 50%, rgba(255, 255, 255, 0) 50%);
    background-size: 0.33em 0.33em;
    background-color: rgba(255, 255, 255, 0);
    z-index: -1;
}

.colonne-20 {
    width: 20%;
}

.colonne-30 {
    width: 30%;
}

.colonne-33 {
    width: 33%;
}

.colonne-40 {
    width: 40%;
}

.colonne-45 {
    width: 45%;
}

.colonne-50 {
    width: 50%;
}

.colonne-55 {
    width: 55%;
}

.colonne-60 {
    width: 60%;
}

.colonne-70 {
    width: 70%;
}

.colonne-80 {
    width: 80%;
}

/*--- Page Intro ---*/

#intro {
    display: block;
    text-align: center;
    margin: auto;
    width: auto;
    height: auto;
}

.intro-catchphrase {
    font-size: 50px;
    margin: 0;
}

#catchphrase::after {
    display: none;
}

#intro  p {
    font-size: 18px;
}

/*--- Page Profil ---*/

.profil-section {
    display: flex;
    flex-direction: row;
    gap: 50px;

}
#introduction span{
    font-size: 16px;
    color: var(--bleu-fonce);
    font-weight: 700;
}
.profil-section i {
    font-size: 32px;
    color: var(--bleu-clair);
    margin: 10px 0 10px 0;
}


/*--- Témoignage ---*/

#testimonials {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-top: 75px;
}

.temoignage {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: end;
    border: 1px solid grey;
    border-radius: 25px;
    width: 50%;
    padding: 10px;
    margin-block-end: 1rem;
}

.commentaire {
    font-style: italic;
    text-align: center;

}

.temoin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
}

.temoin img {
    width: 100px;
    border-radius: 50%;  
}

.temoignage-text {
    padding-top: 50px;
}

.auteur {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px;
    align-items: center;
}
.auteur i {
    opacity: .5;
}

/*--- Passions ---*/

#passions {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

#passions .colonne-33 {
    display: flex;
}

.box-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid grey;
    border-radius: 25px;
    text-align: center;
    padding: 10px;
}

/*--- Page expérience ---*/

#experience {
    position: relative;
}

.list-experience {
    position: relative;
}

#experience .profil-section {
    align-items: baseline;
}

#experience .colonne-60 {
    position: relative;
    padding: 0;
}

.entreprise {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin-bottom: 50px;
}

.entreprise:last-of-type {
    margin-bottom: 0;
}

.nom-entreprise {
    width: 50%;
}

.nom-entreprise p {
    margin: 5px 0;
    color: #aaa;
    font-size: 12px;
}

.description-entreprise {
    width: 100%;
}

.description-entreprise p {
    margin-top: 0;
    font-size: 12px;
    font-weight: 300;
    color: #777;
    
}

.timeline-bar {
    width: 1px;
    height: calc(100% - 4px);
    margin-top: 4px;
    position: absolute;
    top: 0;
    left: 33%;
    background-color: #ccc;
}

.bullet-timeline {
    width: 6px;
    height: 6px;
    position: absolute;
    top: 0;
    left: 33%;
    transform: translateX(calc(-50% + 0.5px)) translateY(4px);
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--bleu-clair);
    box-shadow: 0 0 5px  var(--bleu-clair);
}

.conteneur-competence {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.titre-niveau {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.titre-niveau p {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #777;
}

.niveau {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 5px;
    border: 1px solid white;
    box-shadow: 0 0 0 1px var(--bleu-fonce);
    border-radius: 25px;
}

.barre-niveau {
    height: 4px;
    border-radius: 25px;
    background-color: var(--bleu-fonce);
    align-self: center;
}

#webdesign{
    width: 70%;
}

#frontend {
    width: 50%;
}

#marketing {
    width: 80%;
}

#leadership {
    width: 90%;
}

.conteneur-connaissances {
    margin-top: 75px;
}


.diplomes {
    border: 1px solid #ccc;
    color: white;
    text-align: center;
    text-decoration: unset;
    background-color: var(--bleu-clair);
    border-radius: 10px;
    margin-top: 25px;
    padding: 25px;
    align-content: center;
    transition-duration: 0.5s;
}

.diplomes:hover {
    background-color: var(--bleu-fonce);
}

.connaissance {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    gap: 5px;
}

.span-connaissance {
    font-size: 12px;
    padding: 5px 10px;
    background-color: var(--bleu-clair);
    color: white;
    border-radius: 25px;
    text-align: center;
}

/*--- Partie formation ---*/

#conteneur-formation {
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
}
.ligne-formation {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.ligne-formation:hover .resultats {
    background-color: #cccccc30;
    transform: scale(1.1);
}

.parcours {
    position: relative;
    padding: 20px;
    box-shadow: 0 0 25px #00000020;
    text-align: center;
}

.parcours.droite {
    border-left: 2px solid var(--bleu-clair);
    border-radius: 10px;
}

.parcours.gauche {
    border-right: 2px solid var(--bleu-clair);
    border-radius: 10px;
}

.parcours h6 {
    font-size: 18px;
    font-weight: 600;
}

.date-formation {
    display: block;
    font-style: italic;
    font-size: 12px;
}

.resultats {
    display: block;
    margin: 10px;
    padding: 10px;
    text-align: center;
    border: 1px solid #00000020;
    font-style: italic;
    font-size: 12px;
    border-radius: 10px;
    transition-duration: 1s;
}

.parcours.gauche::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bleu-clair);
    transform: translateY(-50%) translateX(100%);
}

#formation-gauche .bullet-formation {
    position: absolute;
    top: 50%;
    right: -57px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--bleu-clair);
    box-shadow: 0 0 5px  var(--bleu-clair);
}

#formation-droite .bullet-formation {
    position: absolute;
    top: 50%;
    left: -57px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--bleu-clair);
    box-shadow: 0 0 5px  var(--bleu-clair);
}

.parcours.droite::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent var(--bleu-clair) transparent transparent;
    transform: translateY(-50%) translateX(-100%);
}


.timeline-formation {
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #ccc;
    top: 0;
    left: calc(50% - 1px);
}

/*--- Portfolio ---*/

#portfolio .profil-section {
    display: flex;
    flex-direction: column;
}

.conteneur-client {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 25px;
    box-shadow: 5px 5px 25px #77777720;
    border-radius: 10px;
    overflow: hidden;
}

#portfolio a {
    text-decoration: unset;
    color: unset;
}

.contenu-portfolio h4 {
    font-size: 24px;
    text-align: left;
}

.contenu-portfolio i {
    font-size: 20px;
    margin-left: 10px;
}

.contenu-portfolio p {
    font-size: 14px;
    font-weight: 300;
    color: #555;
    margin-top: 5px;
}


.conteneur-client:hover {
    box-shadow: 5px 5px 25px #77777740;
}

.conteneur-client img {
    width: 100%;
}

.conteneur-client .colonne-30 {
    display: flex;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

}
#espacebleu {
    background-image: url(images/portfolio/espacebleu.jpg);
}
#monpetitsite {
    background-image: url(images/portfolio/MPS-Favicon.png);
}
#makeawish {
    background-image: url(images/portfolio/makeawish.jpg);
}
#trisol {
    background-image: url(images/portfolio/trisol.jpg);
}
#jcmontfort {
    background-image: url(images/portfolio/jcmontfort.jpg);
}
#scilla-ad {
    background-image: url(images/portfolio/Scilla-ad.jpg);
}
#elitesourcing {
    background-image: url(images/portfolio/logo-elite-sourcing.png);
}
#laperrosienne {
    background-image: url(images/portfolio/logo-laperrosienne.png);
}
#cafe938 {
    background-image: url(images/portfolio/logo-cafe-938.png);
}

#fast {
    background-image: url(images/portfolio/logo-fast-geneva.png);
}

#poivre {
    background-image: url(images/portfolio/logo-poivre.png);
}

.conteneur-client .colonne-70 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
}

.texte-portfolio {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-top: 10px;
}

.texte-portfolio p {
    font-size: 12px;
    line-height: 1.1em;
}

.texte-portfolio h6 {
    font-weight: 500;
}

.colonne-50.list-portfolio ul {
    margin: 0;
    font-size: 14px;
    font-weight: 300;


}

.colonne-50.list-portfolio li {
    list-style-type: "\00BB";
    padding: 5px 0 0 10px;
}


/*--- Page Contact ---*/

.widget {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 14px;
    border-radius: 25px;
    background-color: #F8F9FA;
    margin: 25px 0;
    padding: 20px 10px;
    transition: 0.4s ease;
}

a .widget:hover {
    background-color: var(--bleu-fonce);
    color: white;
}

a .widget:hover i {
    color: white;
}

.map {
    width: 100%;
    height: 100%;
    background-color: #F8F9FA;
}

.list-contact a{
    text-decoration: none;
    color: unset;
}

/*--- Partie navigation ---*/

.navigation {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    margin-left: 25px;
    animation-name: main-infos-intro;
    animation-duration: 2s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
    transform: translateX(100vw);
    animation-timing-function: cubic-bezier(.4,0,.4,1.2);

}


.navigation a {
    position: relative;
    
}

.navigation a .tooltip-intro {
    visibility: hidden;
    width: 120px;
    background-color: var(--bleu-fonce);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: -3px;
    right: 170%;

}

.navigation a .tooltip-intro::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bleu-fonce);
}


.navigation a:hover .tooltip-intro {
    visibility: visible;

}

.navigation a:active {
    color: var(--bleu-fonce);
}


.navigation .menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 60px;
    height: 45%;
    border-radius: 35px;
    background-color: white;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

/*--- ID des icônes ---*/

.menu i {
    color: var(--bleu-clair);
    font-size: 26px;
    transition: 0.3s;
    width: 30px;
    height: 30px;
    text-align: center;
}

.menu i:hover {
    color: var(--bleu-fonce);
}

#mobile-menu-open {
    display: none;
}

#mobile-menu-close {
    display: none;
}












/*--- Version mobile ---*/

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

    /*--- Polices ---*/

    h2 {
        font-size: 30px!important;
    }

    h3 {
        font-size: 26px;
        margin-top: 75px;
    }

    h4 {
        font-size: 18px;
    }

    p {
        font-size: 16px;
    }

    /*--- Colonnes ---*/

    .colonne-20 {
        width: 100%;
    }
    .colonne-30 {
        width: 100%;
    }
    .colonne-33 {
        width: 100%;
    }
    .colonne-40 {
        width: 100%;
    }

    .colonne-45 {
        width: 100%;
    }
    .colonne-50 {
        width: 100%;
    }
    .colonne-55 {
        width: 100%;
    }
    .colonne-60 {
        width: 100%;
    }
    .colonne-70 {
        width: 100%;
    }
    .colonne-80 {
        width: 100%;
    }

    body, html {
        overflow: unset;
        position: unset;
        max-width: 100%;
    overflow-x: hidden;
    }

    body {
        height: unset;
        width: 100%;
    }


    wrapper {
        position: relative;
        width: 100%;
        margin: 0!important;
    }

    .main-infos {
        position: relative;
        border-radius: 25px 25px 0 0;
        flex-direction: column-reverse;
        animation-name: mobile-main;
    }
    @keyframes mobile-main {
        0% {transform: translateY(100vh);}
        85% {transform: translateY(1vh);}
        100% {transform: translateY(0);}
    }

    .container-central {
        width: 100%;
        padding: 50px 0;
        border-radius: 0 0 25px 25px;
        min-width: unset;
        overflow: unset;
        animation-name: mobile-central;
        animation-delay: 0.5s;
        animation-timing-function: ease;
    }

    @keyframes mobile-central {
        0% {transform: translateY(-100vh); opacity: 0;}
        100% {transform: translateY(0); opacity: 1}
    }

    .contenu {
        padding: 0 25px;
    }



    /*--- Intro ---*/

    #intro {
        padding: 50px 0;
    }

    .intro-catchphrase {
        padding: 25px;
    }

    #intro h2 {
        font-size: 50px;
        width: 100%;
    }

    .container-perso {
        width: 100%;
        padding: 50px 0 25px 0;
        min-width: unset;
        text-align: unset;
        gap: 25px;
    }

    .top-infos {
        flex-direction: column;
        align-items: center;
        padding: 25px;
        text-align: center;
    }

    .photo {
        margin: 0;
    }


    .photo:after {
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 3px, transparent 0, transparent 50%);
    }

    .cv {
        text-align: center;
    }

    /*--- À propos ---*/

    .profil-section {
        flex-direction: column;
        gap: unset;
    }

    #testimonials {
        gap: 50px;
    }

    .temoignage {
        width: 100%;
        padding: 0;
    }

    .temoignage-text {
        padding: 50px 20px 0 20px;
    }

    #passions {
        flex-direction: column;
        gap: 25px;
    }

    .box-icon {
        padding: 10px 20px;
    }

    /*--- Experience ---*/

    .conteneur-connaissances {
        margin-top: unset;
    }

    /*--- Parcours ---*/

    .ligne-formation {
        flex-direction: column;
        gap: 10px;
    }

    .ligne-formation.formation-droite {
        flex-direction: column-reverse;
    }

    .parcours {
        border: unset;
        border-bottom: 2px solid var(--bleu-clair)!important;
    }
    .timeline-formation {
        display: none;
    }

    .parcours::after {
        content: "";
        position: absolute;
        bottom: 0;
        border-width: 10px;
    }


    .parcours.droite {
        border: unset;
    }
    .parcours.droite::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        right: 50%;
        border-width: 10px;
        border-style: solid;
        border-color: var(--bleu-clair) transparent transparent transparent;
        transform: translateY(0%) translateX(-50%);
    }
    .parcours.gauche {
        border: unset;
    }
    .parcours.gauche::after{
        content: "";
        position: absolute;
        top: 100%;
        right: calc(50% + 0px);
        border-width: 10px;
        border-style: solid;
        border-color: var(--bleu-clair) transparent transparent transparent;
        transform: translateY(0%) translateX(50%);
    }

    /*--- Portfolio ---*/

    #portfolio .profil-section {
        gap:75px;
    }

    .texte-portfolio {
        flex-direction:column;
    }
    .conteneur-client {
        flex-direction: column;
    }

    .conteneur-client .colonne-70 {
        padding: unset;
    }

    .contenu-portfolio {
        padding: 20px;
    }

    .colonne-50.list-portfolio li {
        margin-left: 7px;
    }

    .conteneur-client.img-droite {
        flex-direction: column-reverse!important;
    }

    .conteneur-client .colonne-30 {
        height: 200px;
    }

    .contenu-portfolio h4 {
        font-size: 20px;
    }


 


    /*---Navigation---*/

    .navigation {
        position: fixed;
        top: 0;
        left: 100vw;
        height: 100vh;
        width: 100vw;
        margin: 0;
        animation-duration: 0s;
        z-index: 999;
        transition: 1s ease;
    }
    .navigation-open {
        position: fixed;
        left: 0!important;
        
    }

    .navigation .menu{
        height: 100%;
        width: 100%;
        background-color: var(--bleu-fonce);
        border-radius: unset;
        padding: 20vh 50px;
        align-items: start;
    }

    .navigation a .tooltip-intro {
        font-size: 24px;
        position: relative;
        background-color: unset;
        visibility: unset;
        right: unset;
        top: unset;
    }

    .navigation a .tooltip-intro::after {
        display: none;
    }

    .menu i {
        color: white;
        margin-right: 25px;
    }


    #mobile-menu-container {
        display: block;
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 998;
    }

    #mobile-menu-open {
        display: block;
        color: black;
        background: white;
        width: 100%;
        height: 100%;
        padding-top: 10px;
        font-size: 30px;
        font-weight: 700;
        text-align: center;
        opacity: 0;
        animation-fill-mode: forwards;
        animation-name: mobile-menu;
        animation-duration: 1s;
        animation-delay: 2s;
    }

    @keyframes mobile-menu {
        0% {opacity: 0;}
        100% {opacity: 1;}
    }

    #mobile-menu-close {
        display: block;
        color: white;
        width: 50px;
        height: 50px;
        position: absolute;
        padding-top: 10px;
        font-size: 30px;
        font-weight: 700;
        top: 0;
        right: 0;
        text-align: center;
        z-index: 999;
    }

    
}

