@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans&display=swap');



*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body{
    position: relative;
    overflow-x:hidden;
    overflow-y: scroll;

}

:root{
    --container-width-lg :80%;
    --container-width-md : 90%;
    --container-width-sm : 95%;
    --container-width-all : 100%;


    --transition : all 400ms ease;
}



nav{
    width: var(--container-width-lg);
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border-bottom: solid lightgray; */
}

nav a{
    color: black;
}

nav a h2{
    font-size: 2.7vw;
    font-family: "Work Sans";
}

nav .nav_bar a{
    font-size: 1.5vw;
    font-family: 'Open Sans';
    color: gray;
}

nav .nav_bar .actif{
    color: lightgray;
}


nav a:hover{
    color: lightgray;
    transition: var(--transition);

}

nav .lang{
    padding: 5px;
    font-size: 1.3vw;
    font-family: sans-serif;
    color: white;
    background: rgb(20, 15, 43);
}

nav .open-menu{
    display: none;
}
nav .close-menu{
    display: none;
}

nav .nav_bar ul{
    display: flex;
    align-items: center;
    gap: 3vw;
}

.identite{
    width: var(--container-width-lg);
    height: 4px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.identite .remplissage1{
    width: 99%;
    height: 100%;
    background: black;
}

.identite .remplissage2{
    width: 4px;
    height: 100%;
    background: black;
}


/*****************************************************************
************************* Page contact **************************/

/*** possible color:
    #A23B72
    #009FFD
    #6247AA
    #A06CD5
    #F3F3F4 ancien backgroung
    #32CBFF
    #6874E8
    #D99AC5

    #858AE3
    #A491D3

    #ffa530b6
**/

.page_contact{
    height: 80vh;
    width: 100%;
    margin-top: 15vh;
    position: relative;
}

.page_contact .formulaire{
    width: var(--container-width-sm);
    margin: 0 auto;
    margin-top: 10vh;
    height: 65vh;
    border-radius: 30px;
    box-shadow: 2px 3px 10px rgb(0, 0, 0, 0.2) ;
}
.page_contact .formulaire form{
    width: 58%;
    height: 100%;
    float: right;
    padding: 10px;
}

.page_contact .formulaire form .champ-input{
    width: 100%;
    display: flex;
    justify-content: space-around;
    font-family: 'Open sans';
}

.page_contact .formulaire form .champ-input label{
    color: lightgray;
}

.page_contact .formulaire form .champ-input input{
    height: 40px;
    width: 24.5vw;
    padding-left: 5px;
    padding-top: 3px;
    border: solid lightgrey 1px;
}

.page_contact .formulaire form .message{
    width: 100%;
    height: 30vh;
    padding: 0 1vw;
    margin-top: 30px;
}
.page_contact .formulaire form .message textarea{
    width: 100%;
    height: 100%;
    padding-left: 5px;
    padding-top: 3px;
    border: solid lightgrey 1px;
}

.page_contact .formulaire form .submit{
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.page_contact .formulaire form .submit input{
    font-size: 25px;
    padding: 5px 12px;
    color: #7f96ffe3;
    border: solid #d89344 1px;
    background: unset;
}
.page_contact .formulaire form .submit input:hover{
    background: #ffac4e7e;
    color: white;
    border: solid gray;
    transform: var(--transition);
}

.page_contact .infos{
    width: 30%;
    height: 80vh;
    position: absolute;
    left: 9%;
    top: -9%;
    border-radius: 30px;
    padding: 15px 10px;
    background: linear-gradient(40deg, #6e88fab6, #DB162F);
    font-size: 19px;
    font-family: 'Exo 2';
    text-align: justify;
    color: white;
}
.page_contact .infos a{
    color: black;
    font-family: 'Open sans';
}

.page_contact .infos .fin{
    margin-top: 20vh;
    width: 100%;
    text-align: center;
}

.page_contact .formulaire form img{
    height: 140px;
    display: flex;
    margin: auto;
}



/***************************************************************************
***************************** Page d'accueil ******************************/


.voile_home{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
.voile_home .accueil{
    height: 70vh;
    width: 60%;
    display: flex;
    align-items: flex-end;
}
.voile_home .accueil .nom{
    width: 60%;
    height: 90%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.voile_home .accueil .nom h2{
    font-size: 4vw;
    font-family: "Work Sans";
}
.voile_home .accueil .logo{
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
}
.voile_home .accueil .logo img{
    height: 60%;
}



.page_home{
    height: 90vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.page_home .mon-image{
    width: 35%;
    height: 90%;
    margin-left: 30px;
    position: relative;
}
.page_home .mon-image img{
    height: 23vw;
    width: auto;
    border-radius: 20px;
    margin-top: 15vh;
    margin-left: 8vw;
}
.page_home .mon-image  .back{
    position: absolute;
    height: 23vw;
    width: 16.7vw;
    margin-top: 15vh;
    margin-left: 8vw;
    border-radius: 20px;
    z-index: 10;
    background: rgb(0, 0, 0, 0.2);
    transition: 1.5s;
}

.page_home .txt{
    width: 65%;
    height: 100%;
}
.page_home .txt .presentations{
    width: 80%;
    margin-top: 19vh;
}
.page_home .txt .presentations h2{
    font-family: "Work Sans";
    font-size: 2vw;
    margin-bottom: 20px;
}
.page_home .txt .presentations p{
    font-size: 1.3vw;
    font-family: 'Open sans';
}

.page_home .txt .salutation{
    margin-top: 70px;
    width: 70%;
    display: flex;
    justify-content: flex-end;
    font-size: 5vw;
    opacity: 0;
}



/****************************************************************************
****************************** Page competences ****************************/

.page_competences{
    width: 80%;
    margin: 0 auto;
    min-height: 90vh;
}

.page_competences .gif{
    width: 65%;
    height: 30vh;
    position: relative;
    margin-left: 40px;
    margin-top: 40px;
}
.page_competences .gif img{
    height: 14vw;
    width: auto;
    margin-left: 12.5vw;
}

.page_competences .gif p{
    font-family: "Work Sans";
}

.page_competences .gif .ligne{
    width: 100%;
    position: absolute;
    top: 10.546vw;
    z-index: 5;
    border: solid lightgray .5px;
}

.page_competences .gif .acquis{
    width: 100%;
    height: 15px;
    position: absolute;
    top: 11.5vw;
    box-shadow: 2px 3px 10px rgb(0, 0, 0, 0.2) ;
    border-radius: 10px;
}
.page_competences .gif .acquis .chargement{
    height: 100%;
    width: 62%;
    background: rgb(192, 192, 192);
    border-radius: 10px;
}

.page_competences .technos{
    width: 100%;
    margin-top: 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.page_competences .technos .tech{
    width: 48%;
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow: 2px 3px 10px rgb(0, 0, 0, 0.2) ;
    text-align: center;
    padding: 4px;
}

.page_competences .technos .tech h2{
    font-family: "Work Sans";
    font-size: 2.5vw;
    margin-bottom: 30px;
}

.page_competences .technos .tech .techno{
    border: solid lightgray .5px;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 20px;
}
.page_competences .technos .tech .techno .libelle{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page_competences .technos .tech .techno .libelle .nom{
    width: 30%;
    font-family: 'Open sans';
    font-size: 16px;
    font-weight: bold;
}
.page_competences .technos .tech .techno .libelle .connaissances{
    width: 68%;
    height: 15px;
    border-radius: 10px;
    border: solid rgb(240, 238, 238) .1px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.page_competences .technos .tech .techno .libelle .connaissances .chargement1{
    height: 100%;
    width: 90%;
    border-radius: 10px;
    background: #48a0df;
}

.page_competences .technos .tech .techno .libelle .connaissances .chargement2{
    height: 100%;
    width: 68%;
    border-radius: 10px;
    background: #48a0df;
}

.page_competences .technos .tech .techno .libelle .connaissances .chargement3{
    height: 100%;
    width: 83%;
    border-radius: 10px;
    background: #48a0df;
}

.page_competences .technos .tech .techno .libelle .connaissances .chargement4{
    height: 100%;
    width: 60%;
    border-radius: 10px;
    background: #48a0df;
}

.page_competences .technos .tech .techno .libelle .connaissances .chargement5{
    height: 100%;
    width: 45%;
    border-radius: 10px;
    background: #48a0df;
}

.page_competences .technos .tech .techno .libelle .connaissances .chargement6{
    height: 100%;
    width: 75%;
    border-radius: 10px;
    background: #48a0df;
}

.page_competences .technos .tech .techno .libelle .connaissances .chargement7{
    height: 100%;
    width:30%;
    border-radius: 10px;
    background: #48a0df;
}

.ce_que_je_sais_faire{
    font-family: "Open sans";
    margin-top: 5px;
}

.page_competences .cv{
    width: 100%;
    margin-top: 80px;
    display: flex;
    justify-content: flex-end;
}
.page_competences .cv a{
    padding: 10px 40px;
    font-size: 25px;
    background: #48a0df;
    color: white;
    border-radius: 20px;
    transition: 300ms;
}
.page_competences .cv a:hover{
    background: #5eaee7;
    box-shadow: 2px 3px 10px rgb(0, 0, 0, 0.1) ;
    transition: 300ms;
}


/************************* Page de projet 'portfolio' *****************************/

.page_portfolio{
    width: 85%;
    margin: 10vh auto;
    min-height: 80vh;
}

.page_portfolio .projet{
    width: 100%;
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
}

.page_portfolio .projet .presentation{
    width: 49%;
    position: relative;
}

.page_portfolio .projet .presentation .image{
    width: 33vw;
    height: 18vw;
    margin-bottom: 30px;
    border: solid gray .4px;
    text-align: center;
}
.page_portfolio .projet .presentation .image img{
    width: 100%;
}

.page_portfolio .projet .presentation .txt{
    width: 80%;
    float: right;
    margin-top: 17vh;
    font-family: "Work Sans";
    font-size: 1.4vw;
}

.page_portfolio .projet:nth-child(1) .presentation .txt{
    width: 90%;
    float: right;
    margin-top: 18vh;
    padding-bottom: 40px;
    font-family: "Work Sans";
    font-size: 1.4vw;
}

.page_portfolio .projet:nth-child(4) .presentation .txt{
    width: 80%;
    float: right;
    margin-top: 17vh;
    padding-bottom: 40px;
    font-family: "Work Sans";
    font-size: 1.4vw;
}

.page_portfolio .projet .presentation .technos{
    width: 70%;
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
    font-family: "Open sans";
}


.page_portfolio .projet .presentation .technos div{
    border: solid lightgray .2px;
    border-radius: 10px;
    padding: 3px 10px;
}

.page_portfolio .projet .presentation .rendu{
    width: 100%;
    height: 40px;
    margin-top: 70%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.page_portfolio .projet .presentation .rendu .ecran{
    width: 30%;
    display: flex;
    justify-content: space-around;
}
.page_portfolio .projet .presentation .rendu .ecran button{
    font-size: 2vw;
    cursor: pointer;
    padding: 10px;
    border: solid lightgray .5px;
    border-radius: 50px;
    background: transparent;
}

.page_portfolio .projet .presentation .rendu .final{
    height: 83%;
    width: 90%;
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid rgb(228, 228, 228) .5px;
    border-radius: 10px;
}

.page_portfolio .projet .presentation .rendu .final .ordi1{
    width: 97%;
    margin: 0 auto;
    height: 100%;
}
.page_portfolio .projet .presentation .rendu .final .ordi1 img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.page_portfolio .projet .presentation .rendu .final .mobile1{
    height: 100%;
    display: none;
}
.page_portfolio .projet .presentation .rendu .final .mobile1 img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.page_portfolio .projet:nth-child(4) .presentation .rendu{
    width: 100%;
    height: 70vh;
    margin-top: 15%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: solid lightgray 1px;
    border-radius: 20px;
}

.btn-site{
    padding: 8px 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.4vw;
    font-family: "Open sans";
    border: solid lightgray .3px;
    box-shadow: 2px 3px 10px rgb(0, 0, 0, 0.15);
}

.page_portfolio .projet:nth-child(4) .btn-site{
    margin-left: 20px;
}

#site{
    background: #007FFF;
    color: white;
    transition: 400ms;
}
#site:hover{
    background: #4ba2f881;
    border: solid black .3px;
    transition: 400ms;
}

#code{
    background: black;
    color: white;
    transition: 400ms;
}

#code:hover{
    background: #07070754;
    border: solid black .3px;
    transition: 400ms;
}






@media(max-width: 1145px){
    .page_contact .infos{
        width: 40%;
    }

    .page_contact .formulaire form{
        width: 50%;
    }

    .page_contact .formulaire form .champ-input input{
        height: 40px;
        width: 21vw;
    }
}




@media(max-width: 992px){

    nav{
        width: var(--container-width-sm);
        position: relative;
        border-bottom: solid black 3px;
        padding-bottom: 10px;
    }
    nav h2{
        font-size: 4vw;
    }

    nav .menu{
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-end;
    }

    nav .nav_bar{
        display: none;
        position: absolute;
        top: 4.5rem;
        height: fit-content;
    }

    nav .nav_bar ul{
        width: 16rem;
        margin-right: 25px;
        flex-direction: column;
        gap: 0;
        z-index: 100;
    }

    nav .nav_bar ul li{
        width: 100%;
        height: 50px;
        animation: animateItems 500ms linear forwards;
        transform-origin: top right;
        opacity: 0;
    }

    nav .nav_bar ul li:nth-child(2){
        animation-delay: 200ms;
    }

    nav .nav_bar ul li:nth-child(3){
        animation-delay: 400ms;
    }

    nav .nav_bar ul li:nth-child(4){
        animation-delay: 600ms;
    }


    @keyframes animateItems {
        0%{
            transform: rotateZ(-90deg) rotateX(90deg) scale(.1);
        } 
        100%{
            transform: rotateZ(0) rotateX(0) scale(1);
            opacity: 1;
        }
    }

    nav .nav_bar ul li a{
        background-color: rgb(20, 15, 43);
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
        font-size: 20px;
    }
    nav .nav_bar ul li a:hover{
        background-color: rgb(53, 41, 109);
    }

    nav button{
        display: inline-block;
        padding: 2px 5px;
        font-size: 35px;
    }

    nav .open-menu{
        display: inline-block;
    }

    nav .close-menu{
        display: none;
    }

    .identite{
        display: none;
    }


    .page_home{
        height: 75vh;
    }


/********************** Page contact  ******************/

    .page_contact{
        height: auto;
        width: 100%;
        margin-top: unset;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .page_contact .infos{
        width: var(--container-width-sm);
        top: unset;
        left: unset;
        height: auto;
        margin: 20px auto;
        position: relative;
    }
    .page_contact .infos .fin{
        margin-top: 8vh;
    }
    .page_contact .formulaire{
        margin-top: 4vh;
        margin-bottom: 4vh;
        height: auto;
    }
    .page_contact .formulaire form{
        width: var(--container-width-all);
    }
    .page_contact .formulaire form .champ-input .champ-nom{
        width: 45%;
    }
    .page_contact .formulaire form .champ-input .champ-contact{
        width: 45%;
    }
    .page_contact .formulaire form .champ-input input{
        height: 40px;
        width: 100%;
    }
    .page_contact .formulaire form .message{
        height: 30vh;
    }

    /**************** Page d'accueil ****************/
    .page_competences{
        width: 95%;
        font-size: 2.5vw;
    }

    .page_competences .gif{
        width: 85%;
    }

}

@media(max-width: 768px){
    nav .logo h2{
        font-size: 30px;
    }

    /*************************************************************
    ********************* Page d'accueil ************************/
    .voile_home .accueil .nom h2{
        font-size: 9vw;
    }

    .page_home{
        height: 170vh;
        display: block;
        position: relative;
    }
    
    .page_home .mon-image{
        width: 90%;
        margin: 0 auto;
        margin-top: 20px;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .page_home .mon-image img{
        height: 100%;
        width: 100%;
        object-fit: contain;
        border-radius: 20px;
        margin-top: unset;
        margin-left: unset;
    }
    .page_home .mon-image  .back{
        position: initial;
        display: none;
    }

    .page_home .txt{
        width: 95%;
        margin: 20px auto;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .page_home .txt .presentations{
        width: 90%;
        margin: 0 auto;
        margin-top: 50px;
    }
    .page_home .txt .presentations h2{
        font-family: "Work Sans";
        font-size: 20px;
        margin-bottom: 20px;
    }
    .page_home .txt .presentations p{
        font-size: 17px;
        font-family: 'Open sans';
    }

    .page_home .txt .salutation{
        margin-top: 10px;
        width: 90%;
        font-size: 40px;
    }

    

    /************************************************************
    ********************** Page de contact *********************/
    .page_contact .infos{
        background: unset;
        color: black;
    }
    .page_contact .infos .fin{
        text-align: unset;
    }

    .page_contact .formulaire{
        box-shadow: none;
    }
    .page_contact .formulaire form .champ-input{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .page_contact .formulaire form .champ-input .champ-nom{
        width: 100%;
    }
    .page_contact .formulaire form .champ-input .champ-contact{
        width: 100%;
    }

    .page_contact .formulaire form .submit{
        padding-left: 5px;
        justify-content: unset;
    }

    /****************** Page compétences ******************/
    .page_competences p{
        font-size: 4.53vw;
    }
    .page_competences .gif{
        width: 90%;
        margin-left: 10px;
        margin-top: 30px;
    }
    .page_competences .gif img{
        height: 14vw;
        width: auto;
        margin-left: 120px;
    }

    .page_competences .gif p{
        margin-top: 15px;
        font-family: "Work Sans";
    }

    .page_competences .gif .acquis{
        height: 9px;
    }

    .page_competences .technos{
        width: 100%;
        margin-top: 25px;
        display: block;
    }

    .page_competences .technos .tech{
        width: 100%;
        margin-bottom: 40px;
        padding: 7px;
        text-align: initial;
    }

    .page_competences .technos .tech h2{
        font-size: 6.5vw;
        margin-bottom: 40px;
    }
    .page_competences .technos .tech .techno .libelle{
        display: block;
    }
    .page_competences .technos .tech .techno .libelle .nom{
        width: 70%;
        font-family: 'Open sans';
        font-size: 16px;
        font-weight: bold;
    }
    .page_competences .technos .tech .techno .libelle .connaissances{
        width: 95%;
        height: 12px;
        margin-top: 3px;
    }
    .page_competences .technos .tech .techno .libelle .connaissances .chargement1{
        height: 100%;
        width: 90%;
        border-radius: 10px;
        background: #48a0df;
    }

    .page_competences .technos .tech .techno .libelle .connaissances .chargement2{
        height: 100%;
        width: 68%;
        border-radius: 10px;
        background: #48a0df;
    }

    .page_competences .technos .tech .techno .libelle .connaissances .chargement3{
        height: 100%;
        width: 83%;
        border-radius: 10px;
        background: #48a0df;
    }

    .page_competences .technos .tech .techno .libelle .connaissances .chargement4{
        height: 100%;
        width: 60%;
        border-radius: 10px;
        background: #48a0df;
    }

    .page_competences .technos .tech .techno .libelle .connaissances .chargement5{
        height: 100%;
        width: 45%;
        border-radius: 10px;
        background: #48a0df;
    }

    .page_competences .technos .tech .techno .libelle .connaissances .chargement6{
        height: 100%;
        width: 75%;
        border-radius: 10px;
        background: #48a0df;
    }

    .page_competences .technos .tech .techno .libelle .connaissances .chargement7{
        height: 100%;
        width:33%;
        border-radius: 10px;
        background: #48a0df;
    }

    .ce_que_je_sais_faire{
        font-family: "Open sans";
        margin-top: 5px;
    }

    .page_competences .cv{
        width: 95%;
        margin: 40px auto;
    }


    /************************ Page de projets : portfolio ******************************/

    .page_portfolio .projet{
        width: 100%;
        margin-bottom: 130px;
        display: block;
    }

    .page_portfolio .projet .presentation{
        width: 95%;
        margin: 0 auto;
    }

    .page_portfolio .projet .presentation .image{
        width: 100%;
        height: auto;
        margin-bottom: 30px;
        border: solid gray .4px;
        text-align: center;
    }

    .page_portfolio .projet .presentation .technos{
        width: 100%;
    }

    .page_portfolio .projet .presentation .txt{
        width: 95%;
        float: initial;
        margin-top: 30px;
        font-size: 16px;
        text-justify: center;
    }

    .page_portfolio .projet:nth-child(1) .presentation .txt{
        width: 95%;
        float: initial;
        margin-top: 30px;
        padding-bottom: 10px;
        font-size: 16px;
    }

    .page_portfolio .projet .presentation .rendu {
        margin-top: 15px;
        margin-bottom: 15px;
        height: auto;
        justify-content: space-between;
    }

    .btn-site{
        font-size: 19px;
    }

    .page_portfolio .projet:nth-child(4) .presentation .txt {
        width: 95%;
        float: initial;
        margin-top: 30px;
        padding-bottom: 10px;
        font-size: 16px;
    }

    .page_portfolio .projet .presentation .rendu .ecran button {
        font-size: 20px;
    }

    .page_portfolio .projet:nth-child(2){
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }

    .page_portfolio .projet:nth-child(4){
        display: flex;
        flex-direction: column-reverse;
        margin-bottom: unset;
        flex-wrap: nowrap;
    }
}