@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700;800&display=swap');


:root {
    --theme-color: white;
    --background-color: #dad5dd81;
    --background-image: url(media/fond_violet.jpg);
    --fond-violetclair: #C4B4C9;
    --fond-violetfonce: #9d87a4;
    --ecriturenoir: #333333;
    --minoir: #3C3A3A;
    --violettresclair: #ece7ee;

}

.dark-mode {
    --theme-color: black;
    --background-color: #08064585;
    --background-image: url(media/fond_bleu.jpg);
    --fond-violetclair: #2e4980a8;
    --fond-violetfonce: #1a1b3af8;
    --ecriturenoir: rgb(215, 218, 247);
    --minoir: white;
    --violettresclair: #070818;

}


body {
    background-image: var(--background-image);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    cursor: default;
    overflow-y: hidden;
}

/* --------------------------------------------------------------------- */
/* PAGE */
/* --------------------------------------------------------------------- */

.page {
    background-color: var(--background-color);
    width: 80vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border-radius: 1vw;
}

/* --------------------------------------------------------------------- */
/* HEADER */
/* --------------------------------------------------------------------- */
header {
    display: flex;
    align-items: center;
    /* width: 100%; */
    border-bottom: 1px solid white;
    padding: 0 2vw;
    white-space: nowrap;
    height: 5vh;
    justify-content: space-around;
}

a {
    text-decoration: none;
    color: var(--ecriturenoir);
}

header p {
    font-size: 1vw;
    font-weight: 600;
    position: relative;
    right: 6vw;
}

.cercle-mac {
    width: 15px;
    height: 15px;
    background-color: #f96057;
    border-radius: 50%;
    box-shadow: 24px 0 0 0 #f8ce52, 48px 0 0 0 #5fcf65;
    margin-right: 195px;
}

@media screen and (max-width: 945px) {
    .cercle-mac {
        display: none;
    }
}

/* --------------------------------------------------------------------- */
/* BARRE DE RECHERCHE
/* --------------------------------------------------------------------- */


.barre-recherche {
    width: 25vw;
    height: 4vh;
    display: flex;
    justify-content: right;
    border: var(--fond-violetfonce);
}

#rechercheinput {
    font-size: 1rem;
    border-radius: 15px;
    color: var(--minoir);
    background-color: var(--fond-violet);
    background-image: url('https://cdn2.iconfinder.com/data/icons/ios-7-icons/50/search-24.png');
    background-position: 10px 7px;
    background-repeat: no-repeat;
    padding: 8px 20px 8px 40px;
    outline: none;
    opacity: 0.9;
    height: auto;
    border: var(--minoir) solid 1px;
}

#rechercheinput::-webkit-input-placeholder {
    padding-left: 1vw;
    color: var(--minoir);
}

#rechercheinput::-moz-placeholder {
    padding-left: 1vw;
    color: var(--minoir);
}

#rechercheinput:-ms-input-placeholder {
    padding-left: 1vw;
    color: var(--minoir);
}

#rechercheinput::-ms-input-placeholder {
    padding-left: 1vw;
    color: var(--minoir);
}

#rechercheinput::placeholder {
    padding-left: 1vw;
    color: var(--minoir);
}


.mon-profil {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
}


/* ICONE BARRE HEADER */
.mon-profil i {
    align-items: center;
    padding: 0 16px;
    margin-left: auto;
}


/* BOUTON LUNE */
/* --------------------------------------------------------------------- */

.dark-light {
    position: fixed;
    bottom: 45%;
    right: 100px;
    background-color: #fff;
    box-shadow: -1px 3px 8px -1px rgb(0 0 0 / 20%);
    padding: 8px;
    border-radius: 50%;
    z-index: 3;
    cursor: pointer;
}

.dark-light i {
    width: 24px;
    flex-shrink: 0;
    fill: #ffce45;
    stroke: #ffce45;
    transition: 0.5s;
    text-align: center;
}


/* --------------------------------------------------------------------- */
/* TOUTE LA PAGE - SANS LE HEADER*/
/* --------------------------------------------------------------------- */

section {
    display: flex;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: 80vw;
}


/* --------------------------------------------------------------------- */
/* MENU DE GAUCHE  */
/* --------------------------------------------------------------------- */

.gauche {
    border-right: 1px solid white;
    height: 70vh;
    width: 10vw;
    padding: 2vh 2vw;
    overflow: auto;
    /* max-width: 180px; */
    overflow-x: hidden;
}

.categorie {
    margin-top: 2vh;
}

.titre-categorie {
    color: var(--ecriturenoir);
    font-size: 1.2vw;
    font-weight: 600;
    cursor: pointer;
}

.menu-categorie {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.menu-categorie p {
    color: var(--minoir);
    /* display: flex;
    align-items: center; */
    font-size: 0.8vw;
    font-weight: 400;
    margin-left: 1.5vw;
    line-height: 1vh;
}

.titre-categorie span {
    padding: 0 0.5vw;
    border-radius: 20px;
    /* FAIRE UNE TRANSITION */
}

.titre-categorie span:hover {
    background-color: var(--violettresclair);
    transition: all 1s;
    /* FAIRE UNE TRANSITION */
}

.titre-dossier {
    font-size: 1vw;
    cursor: pointer;
    font-weight: 400;
    color: var(--minoir);
}


.menu-categorie i {
    margin-right: 0.5vw;
}

/* --------------------------------------------------------------------- */
/* PAGE D'ACCUEIL DROITE  */
/* --------------------------------------------------------------------- */


.droite {
    width: 100%;
    /* width: 70vw; */
    justify-content: center;
}

.droite img {
    width: 12vw;
    height: auto;
    -webkit-animation: slidetop 1s;
    animation: slidetop 1s;
    cursor: pointer;
}

.droite img:hover {
    transform: scale(1.1);
    transition: 1s;
}

.droite .dossier {
    padding: 2vh 4vw;
    margin: auto;

}


.category.accueil {
    display: flex;
    margin: auto;
}


/* --------------------------------------------------------------------- */
/* PAGE PRESENTATION  */
/* --------------------------------------------------------------------- */
.category.presentation {
    width: 68vw;
    height: 100%;
}

.pagepresentation {
    width: 68vw;
    display: flex;
}

h1 {
    font-weight: 400;
    margin-left: 5vw;
    font-size: 2vw;
    color: var(--ecriturenoir);
}

.flip {
    width: 40vw;
    height: 55vh;
    position: relative;
    margin: auto;
    font-family: 'Poppins';
}

.flip .boite.flipped {
    -webkit-transform: rotatey(-180deg);
}

.flip .boite {
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: 0.8s;
}

.flip .boite .face {
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-backface-visibility: hidden;
    z-index: 2;
    font-size: 2vh;
    text-align: center;
    background-color: #C3BDC6;
    border-radius: 25px;
    border: #6d6870 solid 2px;
    font-size: 1vw;
}

/* --------------------------------------------------------------------- */
/* PAGE PRESENTATION  :  QUIS SUIS-JE?   */
/* --------------------------------------------------------------------- */

.flip .boite .devant {
    position: absolute;
    z-index: 1;
    background-color: var(--fond-violetclair);
    color: var(--minoir);
    cursor: pointer;
    display: flex;
    border: solid 3px var(--ecriturenoir);
}

.flip .boite .devant>p {
    text-align: justify;
    padding: 3vh 2vw;

}

.flip .boite .devant .cotedroit p {
    background-color: var(--fond-violetfonce);
    border-radius: 40px;
    font-size: 1vw;
    width: 15vw;
    padding: 1vh 0;
    position: relative;
    left: 1vw;
}

.flip .boite .devant .cotedroit p:hover {
    background-color: var(--fond-violetclair);
    transition: ease 1s;
    border: 1px solid var(--minoir);
}

.flip .boite .devant .cotedroit img {
    width: 20vw;
    height: auto;
}

/* --------------------------------------------------------------------- */
/* PAGE PRESENTATION : A PROPOS  */
/* --------------------------------------------------------------------- */

.flip .boite .derriere {
    -webkit-transform: rotatey(-180deg);
    background-color: var(--fond-violetclair);
    color: var(--fond-violet);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 50vh;
    justify-content: center;
    align-content: center;
    border: 1px solid var(--minoir);
}

.flip .boite .derriere p {
    color: var(--ecriturenoir);
}

.flip .boite .derriere span {
    color: var(--minoir);
    font-weight: 600;
}

.flip .boite .derriere a {
    color: var(--ecriturenoir);
}

/* --------------------------------------------------------------------- */
/* PAGE PARCOURS  */
/* --------------------------------------------------------------------- */

.category.parcours {
    width: 68vw;
    height: 100%;
    /* background-color: rgb(0, 255, 76); */
}

.pageparcours {
    width: 68vw;
    height: 100%;
}

.pageparcours h2 {
    text-align: left;
    margin: -1vh 2vw;
    color: var(--minoir);
}

.formation {
    display: flex;
    flex-direction: row;
    margin-bottom: 5vh;
}

.case {
    background-color: var(--fond-violetclair);
    width: 18vw;
    height: 20vh;
    border-radius: 20px;
    margin: 2vh 2vw;
    border: 2px white solid;
}


.case h2 {
    color: var(--fond-violetfonce);
    text-align: right;
    font-size: 1.3vw;
    text-shadow: 2px -1px 1px rgba(19, 19, 19, 0.267);
    padding-right: 1vw;
    margin: 0.5vh 0 -3vh 0;
}

.case>p {
    font-size: 0.8vw;
    border-bottom: white 1px solid;
    padding: 1vh 1vw;
    text-align: left;
    height: 9vh;
}

.case>p {
    color: var(--ecriturenoir);
}

.case>p>span {
    font-weight: 600;
    color: var(--minoir);
}

.case #plus {
    text-align: center;
    cursor: pointer;
    margin: 0 1vw auto auto;
    font-size: 0.7vw;
    color: white;
    font-weight: 700;
    height: 3vh;
    width: 4vw;
    background-color: var(--fond-violetfonce);
    border-radius: 30px;
    border: 1px solid white;
    z-index: 30;
}

.case #plus:hover {
    background-color: var(--violetclair);
    color: var(--violettresclair);
    transition: all 1s;
    border: 1px solid white;
}

.experience {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.popup {
    color: white;
    height: 50vh;
    width: 50vw;
    border-radius: 50px;
    border: var(--ecriturenoir) solid 3px;
    z-index: 3;
    background-color: var(--fond-violetfonce);
    display: none;
    /* display: flex; */
    position: fixed;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 2vh 2vw;
    flex-direction: column;
    margin: auto;
}

.popup ul {
    text-align: left;
    font-size: 0.8vw;
    width: 25vw;
}

.popup>span {
    font-weight: 800;
    font-size: 1.5vw;
    margin-bottom: 0.5vh;
}

.popup>p {
    text-align: left;
    font-size: 0.7vw;
}


.popup img {
    float: right;
    width: 100%;
    max-width: 15vw;
    height: auto;
    margin: 0 3vw;
    position: relative;
    left: 27vw;
    bottom: 15vh;
    -webkit-animation: float 4s infinite;
    animation: float 4s infinite;
}

.imgprobleme img {
    position: relative;
    left: 0;
    bottom: 22vh;
}

.exit {
    color: var(--ecriturenoir);
    position: absolute;
    right: 1.5vw;
    top: 1.5vh;
    cursor: pointer;
    font-size: 1.5vw;
    font-weight: 800;
}


/* --------------------------------------------------------------------- */
/* PAGE COMPETENCE  */
/* --------------------------------------------------------------------- */

.category.competence {
    width: 68vw;
    height: 100%;
}

.pagecompetence {
    display: flex;
    flex-direction: column;
    -moz-columns: 2;
    columns: 2;
    width: 68vw;

}

.pagecompetence h2 {
    text-align: left;
    margin: 2vh 2vw;
    color: var(--minoir);
}

/* .langage {
    height: 30vh;
}

.logiciel {
    height: 25vh;
}

.langue {
    height: 15vh;
} */

.langage,
.logiciel,
.langue {
    width: 40vw;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: var(--fond-violetclair);
    text-align: left;
    margin: 2vh 2vw 5vh 10vh;
    border-radius: 30px;
    border: white 2px solid;
}

.langage img,
.logiciel img {
    height: auto;
    width: 30px;
    margin-left: 3vw;
}


.langue img {
    height: auto;
    width: 30px;
    margin-left: 3vw;
    border-radius: 50%;
}

.pagecompetence button {
    font-family: 'Poppins';
    color: var(--ecriturenoir);
    height: 4vh;
    background-color: var(--violettresclair);
    border-radius: 30px;
    width: 13vw;
    font-size: 0.8vw;
    border: 1px solid white;
}

.langage p,
.logiciel p,
.langue p {
    width: 6vw;
    color: var(--minoir);
}

.langage .left {
    text-align: left;
}

.pagecompetence button:hover {
    background-color: var(--fond-violetclair);
}

.skills {
    display: flex;
    height: 5vh;
    justify-content: space-between;
    padding-right: 2vw;
    align-items: center;
}


.rondvert {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: green;
}

.rondjaune {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: yellow;
}

.rondorange {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: orange;
}

.html,
.ps,
.en {
    border-radius: 30px 30px 0 0;
}

.sql,
.figma,
.esp {
    border-radius: 0 0 30px 30px;
}

.skills:hover {
    background-color: var(--violettresclair);
    height: 6vh;
    transition: all s;
}

.html,
.css,
.js,
.jq,
.php,
.ps,
.il,
.id,
.pp,
.en,
.tm {
    border-bottom: white solid 3px;
}



/* --------------------------------------------------------------------- */
/* PAGE CENTRE D'INTERET  */
/* --------------------------------------------------------------------- */

.category.centre-interet {
    width: 68vw;
    height: 100%;
}

.pagecentre {
    display: flex;
    height: 40vh;
    align-items: center;
    width: 68vw;
    justify-content: center;
}

.pagecentre img {
    width: 15vw;
    height: auto;
}

.pagecentre img:hover {
    width: 18vw;
    transition: scale(2) 1s;
}

.pagecentre h3 {
    color: var(--fond-violetclair);
    font-size: 1.2vw;
    background-color: var(--violettresclair);
    border: 1px white solid;
}


.pagecent .musique,
.football,
.graphisme {
    padding: 0 3vw;
}


/* --------------------------------------------------------------------- */
/* PAGE PROJET  */
/* --------------------------------------------------------------------- */


.category.projet {
    width: 68vw;
    height: 100%;
}

.projetmmi {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.pageprojet {
    width: 68vw;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.pageprojet img {
    width: 8vw;
    height: auto;
    cursor: pointer;
    margin: 0 4vw;
}

.file1,
.file2,
.file3,
.file4,
.file5 {
    display: flex;
    flex-direction: column;
}

.file span {
    color: var(--minoir);
    font-weight: 500;
}

.file1 img:hover,
.file2 img:hover,
.file3 img:hover,
.file4 img:hover,
.file5 img:hover {
    transform: scale(1.2);
    transition: 2s;
}

.propup {
    color: white;
    height: 50vh;
    width: 50vw;
    border-radius: 50px;
    border: white solid 3px;
    z-index: 3;
    background-color: var(--fond-violetfonce);
    display: none;
    /* display: flex; */
    position: fixed;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 2vh 2vw;
    flex-direction: column;
    margin: auto;
}

.propup .description {
    font-size: 0.8vw;
    text-align: left;
    margin: 2vh;
    color: var(--ecriturenoir);
}

.propup img {
    width: 20vw;
    text-align: left;
    margin-left: 0.4vw;
}

.propup img:hover {
    transform: scale(1.2);
    transition: 2s;
}


.propup .detail {
    font-size: 0.7vw;
    margin-top: -15vh;
    text-align: right;
}

.propup a {
    text-decoration: none;
    font-weight: 800;
    font-size: 1vw;
    margin: auto;
    color: var(--ecriturenoir);
}

.propup a:hover {
    color: white
}

.affiche img {
    width: 9vw;
}


/* --------------------------------------------------------------------- */
/* PAGE CONTACT  */
/* --------------------------------------------------------------------- */

.category.contact {
    width: 68vw;
    height: 100%;
}

.category {
    display: none;
    flex-wrap: wrap;
    overflow: auto;
    text-align: center;
    align-content: flex-start;
    position: absolute;
}


.champ {
    margin-bottom: 0.8vh;
}

.formulaire {
    margin-top: 0;
    width: 100%;
    /* height: 70%; */
    display: flex;
    align-items: center;
    /* justify-content: center; */
    margin-bottom: 1vh;
}

form {
    text-align: left;
    margin: auto;
    background-color: var(--fond-violetclair);
    /* margin: 10vh 2vw; */
    padding: 3vh 2vw;
    border-radius: 20px 20px 0 0;
    border-top: 2vh var(--fond-violetfonce) solid;
    border-bottom: 7vh var(--fond-violetfonce) solid;

}

label {
    font-size: 1rem;
    color: white;
    margin-right: 2vw;
}

form input {
    width: 25vw;
    min-width: 300px;
    height: 1.5vg;
    border: none;
    border-radius: 20px;
    outline: none;
    font-size: 1.1rem;
    padding-left: 1vw;
}

input:focus,
textarea:focus {
    transform: scale(1.06);
    font-family: 'Poppins';
}

textarea {
    padding-left: 1vw;
    vertical-align: top;
    min-width: 300px;
    width: 25vw;
    height: 10vh;
    border: none;
    border-radius: 15px;
    outline: none;
    font-size: 1.2rem;
}

textarea::-webkit-input-placeholder {
    font-size: 1.2rem;
}

textarea::-moz-placeholder {
    font-size: 1.2rem;
}

textarea:-ms-input-placeholder {
    font-size: 1.2rem;
}

textarea::-ms-input-placeholder {
    font-size: 1.2rem;
}

textarea::placeholder {
    font-size: 1.2rem;
}


button[type="submit"] {
    border: none;
    font-size: 2vh;
    color: var(--fond-violetfonce);
    padding: 1vh 2vw;
    border-radius: 15px;
    transition: 1s;
    text-align: center;
}

button[type="submit"]:hover {
    background-color: var(--violettresclair);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--fond-violetfonce) 3px 3px 2px;
}

.mesinfos {
    margin: auto;
    position: relative;
    bottom: 6vh;
}

.mesinfos a {
    margin: 0 2vw;
}


/* --------------------------------------------------------------------- */
/* SCROLL DE LA PAGE  */
/* --------------------------------------------------------------------- */


::-webkit-scrollbar {
    width: 6px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--fond-violetfonce);
    border-radius: 10px;
}


/* --------------------------------------------------------------------- */
/* KEYFRAMES */
/* --------------------------------------------------------------------- */


@-webkit-keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-20px);
    }

    100% {
        transform: translatey(0px);
    }
}


@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-20px);
    }

    100% {
        transform: translatey(0px);
    }
}