/*-------------Général------------*/

html{
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-color: white rgba(27,27,27);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 12px;
}
 
::-webkit-scrollbar-track { 
    background: rgba(27,27,27); 
    border-radius: 10px;
}
 
::-webkit-scrollbar-thumb { 
    border-radius: 10px;
    background-color: white;
}

/*-------------Header------------*/

.logoML {  
    position: fixed;        /*-------------permet de revnir en haut au clic------------*/
    max-height: 80px;
    max-width: 80px;
    top: 18px;
    left: 10px;
    right: 0;
    bottom: 0;
}

.sectionDif:hover .logoML{
    width: 60px;
    height: 60px;
    opacity: 0.4;
}

/*-------------Nav------------*/

nav {
    vertical-align: middle;
    position: static;
    text-align: end;
    position: relative;
}

.menuTexte:hover{
    border-bottom: 2px solid white;
}

ul{
    list-style-type: none;
}

li{
    list-style-type: none;
}

#listeMenu{
    padding-top: 20px;
    list-style-type: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
}

.menuBouton{
    margin-left: 45px;
}

.menuTexte, #contactBouton{
    list-style-type: none;
    text-decoration: none;
    font-size: 28px;
    color: white;
    color: white;
    font-family: 'Francois One', sans-serif;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    list-style-type: none;
}

/*-------------Bouton contact------------*/

#contactBouton {
    color: black;
    background-color: white;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 2px;
    padding-top: 2px;
    border-radius: 6px;
}

#contactBouton:hover {
    color: white;
    background-color: black;
    border-radius: 10px;
}

#contactBouton:active {
    color: white;
    border: solid;
    background-color: rgba(27,27,27,1);
    margin-top: -8px;
    border-radius: 10px;
}


/*-------------Body------------*/

section{
    padding-top: 34px;
}

body {
    background-color: #3A3A3A;
    background-image: url(images/arriere-plan.svg);
    background-repeat: repeat-y;
    color: white;
    font-family: 'Ubuntu', sans-serif;
}

body header, main{          /*-------------ne pas mettre de margin au footer------------*/
    margin-left: 4%;
    margin-right: 4%;
}

h1 {                            /*-------------Titres sections------------*/
    font-size: 45px;            
    text-transform: uppercase;
}
        
h2{                             /*-------------Titres projets, mois parcours et textes autres moyens    
                                contact------------*/
    font-size: 21px;
}

h3{                             /*-------------Dates créations projets------------*/
    font-size: 12px;
}

h4{
    font-size: 35px;            /*-------------années parcours------------*/
}

h5{                             /*-------------noms "évenements" parcours, noms logiciels------------*/
    font-size: 18px;
}

p {
    font-size: 20px;
}

.grandTitre::before {       /*-------------traits en dessous des h1------------*/
    content: "";
    position: absolute;
    background: white;
    height: 2px;
    width: 145px;
    bottom: 0;
    left: calc(50% - 72.5px);
    transition: transform .2s;
    transform: scaleX(0.6);
}
    
.grandTitre{
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

#blocFormulaire{
    padding-top: 50px;
}

/*-----Flèches pour descendre en dessous----*/

.flechesBas {
    height: 50px;
    width: 30px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 50px;
    cursor: pointer;
}

.flechesBas:hover {
    background: rgba(255,255,255,0.1);
}

.flechesBas:active {
    border: 1px solid rgba(255,255,255,0.7);
}

.flechesBas::before,
.flechesBas::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    border: 2px solid white;
    border-top: transparent;
    border-left: transparent;
    transform: translate(-50%, -100%) rotate(45deg);
    animation: fleches 2s ease-in-out infinite;
}

.flechesBas::before {
    top: 00;
    animation-delay: 0.5s;
}

@keyframes fleches {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 0.4;
    }
    60% {
        opacity: 0.4;
    }
    100% {
        top: 90%;
        opacity: 0;
    }
}

/*-----Présentation----*/

#presentation:hover .grandTitre::before{
    transform: scaleX(1);
}

#presentation{
    margin-top: 6vh;
}

#portraitTexte{
    display: flex;
}

#photoProfil{
    margin: 90px 0 0 1px;
    width: 300px;
    z-index: 5;
    display: block;
}

#textePresentation{
    vertical-align: middle;
    text-align: justify;
    margin: 14.5vh 4vw 2vh 30px;
    font-size: 22px;
}

#traitDeco{
    display: block;
    width: 650px;
    height: 3px;
    margin: -.4vh 0 0 0.7vw;
    background: linear-gradient(to left, 
      rgba(255,255,255, 0) 0%, rgba(255,255,255) 80%, rgba(255,255,255) 90%, rgba(255,255,255) 100%); 
    z-index: 8;
}

#textePhoto{
    border-radius: 20px;
    max-height: 100vh;
    margin: 10vh 8vw 20vh 10vw;
}

.reseauxCouleur{
    width: 35px;
    height: 35px;
    transition: transform 1s;
}

.reseauxCouleur:hover{
    transform: rotate(360deg);
}

.logoCouleur:not(:first-child){
    padding-left: 20px;
}

#contactColor{
    display: flex;
    margin: 20px 0 15px 68px;
}


/*-----Compétences---*/


#competences:hover .grandTitre::before{
    transform: scaleX(1);
}

#competencesLogiciels{
    display: flex;
    flex-direction: row;
	justify-content: space-around;
	flex-wrap: wrap;
    margin: 6% 4.5vw 5% 4.5vw;
}

.logoLogiciel{
    max-width: 115px;
    height: 115px;
    transform: scale(1);
    transition: transform .6s;
}

.blocDescriptionLogiciel{
    position: absolute;
    width: 112%;
    max-height: 110px;
    top: 17px;
    left: 5px;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 0;
    background: rgba(29,29,29,0.98);
    transform: scaleY(0);
    border: 1px solid white;
    border-radius: 15px;
    transition: transform .7s;
    align-items: center;
}

#blocHtml5, #blocCss3{
    left: 18px;
    max-height: 100px;
    width: 109.5%;      /*-------------garder le même "arret" à droite que les autres------------*/
}

.logiciel:hover .logoLogiciel{
    transform: scale(1.2);
}

.logiciel:hover .blocDescriptionLogiciel{
    transform: scale(1);
}

.logiciel:hover .nomBarre{
    transform: scale(0);
}

#blocHtml5 .titreLogiciel, #blocCss3 .titreLogiciel{
    margin: 1.8vh 0 1.1vh 0;
}

.titreLogiciel{
    margin: 2vh 0 1.5vh 0;
    text-transform: uppercase;
}

.texteLogiciel{
    font-size: 16px;
    margin: 0;
    padding: 0 1.5vw 0 0.5vw;
}

.descriptionLogiciel{
    position: absolute;
    padding-left: 22%;
    text-align: center;
}

.nomBarre{
    display: inline-block;
    vertical-align: middle;
    margin-left: 5.5vw;
    padding-top: 30px;
    align-items: center;
    transform: scale(1);
    transition: transform 0.8s;
}

.logiciel{
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 35px 0 35px;
}

.nomLogiciel{
    text-align: center;
    margin-top: 8px;
}

/*-----style barres de progression----*/

progress{
    border-radius: 20px;
    color: black; 
    background-color: rgba(255,255,255,0.1);
    height: 18px;
    width: 275px;
    border: 1px solid rgba(255,255,255);
}

progress::-webkit-progress-bar{  /*-----barre chrome----*/
    background: transparent;
}

progress::-webkit-progress-value{ /*-----contenu barre chrome----*/
    color: red;
    background: -webkit-linear-gradient(#FFFFFF,#FFFFFF);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

progress::-moz-progress-bar{ /*-----barre firefox----*/
    background: #FFFFFF;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;;
}


/*-----Parcours----*/

#parcours:hover .grandTitre::before{
    transform: scaleX(1);
}

/*-----barre arrière plan----*/

#blocParcoursBarre{
    margin: 5.5% 2vw 4% 2vw;
    height: 631px;
    background: linear-gradient(to left, 
      rgba(255,255,255,0), rgba(255,255,255) 10%, #EF652A 10%, #EF652A 26%, #1B83C4 26%, #1B83C4 42%, #3A3A3A 42%, #3A3A3A 58%, #1B83C4 58%, #1B83C4 74%, #EF652A 74%, #EF652A 90%, rgba(255,255,255) 90%, rgba(255,255,255,0) 100%);
    background-size: 100% 35px;
    background-repeat: no-repeat;
    background-position: center;
}

/*-----éléments parcours----*/

#timelineParcours{
    display: flex;
    margin: 0 8.8vw 0 8.8vw;
    justify-content: space-around;
    height: 630px;
}

.elementsParcours:nth-child(odd) .infosTemps{
    padding-top: 20vh;
}

.elementsParcours{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    z-index: 2;
    max-width: 150px;
}

.elementsParcours:nth-child(odd) .nomEvenement{
    padding-top: 0;
    margin-top: 22px;
}

.elementsParcours:nth-child(even) .nomEvenement{
    padding: 0;
    margin: 26px 0 25px 0;
}

.elementsParcours:last-child .nomEvenement{
    padding: 0;
    margin: 15px 0 15px 0;
}

.elementsParcours:nth-child(even){
    display: flex;
    align-self: flex-start;
}

.elementsParcours:nth-child(odd){
    display: flex;
    align-self: flex-end;
}

.nomEvenement{
    font-size: 18px;
    text-align: center;
}

.elementsParcours:nth-child(even) .infosTemps{
    margin: 0;
    padding-top: 30px;
}

.elementsParcours:nth-child(odd) .infosTemps{
    margin: 0;
    padding-bottom: 30px;
}

.elementsParcours:nth-child(4n+1) .mois{
    color: #EF652A;
}

.elementsParcours:nth-child(4n+1) .annee{
    color: #EF652A;
}

.elementsParcours:nth-child(2n+2) .mois{
    color: #1B83C4;
}

.elementsParcours:nth-child(2n+2) .annee{
    color: #1B83C4;
}

.elementsParcours:nth-child(3) .mois{
    color: #3A3A3A;
}

.elementsParcours:nth-child(3) .annee{
    color: #3A3A3A;
}

.mois{
    text-align: center;
    margin: 0;
    font-size: 20px;
}

.annee{
    text-align: center;
    font-size: 35px;
    margin: 0;
}

.iconeParcours{
    width: 115px;
    height: 227px;
    justify-content: space-around;
    display: flex;
    padding: 0;
    margin: 0;
}

.elementsParcours:nth-child(even) .blocsParcours{
    transform: rotate(180deg);
}


/*-----Réalisations----*/

#realisations:hover .grandTitre::before{
    transform: scaleX(1);
}

#galerie{
    flex-wrap: wrap;
    margin: 6% 6vw 5% 6vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.titreProjet{
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
}

.descriptionProjet{
    vertical-align: middle;
    position: static;
    text-align: justify;
    font-size: 15px;
    padding: 10px;
}

.dateProjet{
    vertical-align: middle;
    position: static;
    text-align: center;
    font-size: 12px;
    font-style: italic;
    position: absolute;
    top: 360px;
    left: 50px;
}

.cadresDetails{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0px;
    right: 0;
    background: rgba(1,1,1,0.8);
    transform: scaleX(0);
    border-radius: 15px;
    transition: transform .3s;
}

.boxImage{
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.imageProjet{
    max-width: 100%;
    transition: transform .5s;
    transform: scale(1);
}

.projets{
    position: relative;
    box-sizing: border-box;
    width: 300px;
    max-height: 423px;
    margin: 20px 30px 20px 30px;
    border: 3px solid white;
    background: #3A3A3A;
    border-radius: 15px;
}

.projets:hover .cadresDetails{
    transform: scaleX(1);
}

.projets:hover .imageProjet{
    transform: scale(1.1);
}

.descriptionRealisations {
    text-align: center;
    padding: 8px;
    top: 1%;
    position: absolute;
}

/*-----Contact----*/

#contact:hover .grandTitre::before{
    transform: scaleX(1);
}

form{
    display: flex;
    justify-content: center;
    margin: 8% 0 14vh 0;
}

#autresMoyensContact{
    margin-bottom: 8vh;
    display: flex;
    justify-content: center;
    vertical-align: middle;
}

.reseauxBlanc{
    width: 35px;
    height: 35px;
    transition: transform 1s;
}

.reseauxBlanc:hover{
    transform: rotate(360deg);
}

.contactsBlancs{
    padding: 15px 0 0 25px;
}

#texteAutresContacts{
    padding-right: 10px;
    font-size: 22px;
}

.entreePetitCadre{
    width: 18vw;
    height: 22px;
    color: black;
    font-size: 18px;
    background-color: lightgray;
    font-family: 'Ubuntu', sans-serif;
    border: 2px solid rgba(71,71,71,1);
}

.entreePetitCadre:first-child{
    margin-bottom: 15px;
}

.boutonBas{
    margin-top: 140px;
    display: flex;
    justify-content: flex-end;
}

.entreeBouton{
    color: black;
    font-size: 18px;
    font-weight: bold;
    background-color: lightgray;
    font-family: 'Ubuntu', sans-serif;
    border: 2px solid rgba(71,71,71,1);
    width: 150px;
    height: 34px;
}

.boutonBas:hover .entreeBouton{
    color: white;
    font-size: 16px;
    font-weight: bold;
    background-color: rgba(27,27,27,1);
    font-family: 'Ubuntu', sans-serif;
    border: 0;
    width: 150px;
    height: 30px;
}

.boutonBas:active .entreeBouton{
    color: white;
    font-size: 16px;
    font-weight: bold;
    background-color: rgba(27,27,27,1);
    border: 2px solid white;
    width: 150px;
    height: 30px;
    font-family: 'Ubuntu', sans-serif;
}

.boutonBas:hover #labelEnvoyer{
    color: white;
    font-size: 16px;
}

#blocEntreeDroite{
    padding-left: 1vw;
    display: flex;
    flex-direction: column;
}

.entreesHautDroite{
    vertical-align: top;
    display: block;
    padding-bottom: 15px;
}

textarea{
    color: black;
    font-size: 18px;
    background-color: lightgray;
    border: 2px solid rgba(71,71,71,1);
    font-family: 'Ubuntu', sans-serif;
}

form label{
    color: rgba(71,71,71,1);
    position: absolute;
    text-transform: uppercase;
    font-family: 'Ubuntu', sans-serif;
    padding: 6px 0 0 8px;
    font-size: 18px;
    pointer-events: none; 
}

label:not(#labelEnvoyer){
    display: none;
}

#labelEnvoyer{
    transform: translateX(-35px);
}

::placeholder {
    color: rgba(71,71,71,1);
    font-size: 18px;
    text-transform: uppercase;
}

.texteInfos{
    margin: 0 auto;
    width: 100%;
}

.texteInfos a{
    text-decoration: none;
}
/*-------------Foot------------*/

footer{
}


