@import url('https://fonts.googleapis.com/css2?family=Abel&family=Assistant:wght@300;400;500;600;700;800&family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root {
    --vert: rgb(0 60 50);
    --noir: rgb(29 29 27);
    --noirnoir: rgb(12, 12, 11);
    --jauneclair: rgb(252 234 16);
    --jaunemedium: rgb(221 202 0);
    --blanc: rgb(243, 241, 241);
    --degrader: linear-gradient(rgb(41, 41, 41), rgb(172, 172, 172), rgb(71, 71, 71));
}

* {
    margin: 0;
    padding: 0;
    color: var(--blanc);
    font-family: 'Assistant', sans-serif;
}

body {
    width: 100%;
    height: 100%;
    background-color: gray;
}

#grandesection {
    width: 1279px;
    height: auto;
    background-color: var(--blanc);
    margin:auto;
    z-index: 0;
}


/*------------------SECTION NAVIGATEUR-----------------------------*/
 
nav {
    position: fixed;
    top:0;
    /*border: red 2px dotted;*/
    width: 1279px;
    z-index: 3;
    
    /*margin-left: 500px;*/
}

#imgnav {
    width: 100%;
    height: 265px;
    background-image: url(svg/Plan\ de\ travail\ 2.svg);
    background-position-y: -60px;
    background-size: cover;
}

nav ul {
    position: relative;
    top: 20px;
    margin: 0px 80px 25px 670px;
    list-style-type: none;
    font-size: 2em;
    display: flex;
    justify-content: space-between;
    /*border: white 1px dotted;*/
    
}

nav ul li {
    /*margin-right: 30px;*/
    text-decoration: none;
    margin-top: 5px;
    font-size: 0.8em;
    font-family:'Abel', sans-serif;
}

.divicon {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    cursor: pointer;
    user-select: none;
}

.divicon2,
.divicon3 {
    margin-top: 10px;
    background-color: rgb(43, 43, 43);
    transition: all 0.5s ease;
    /*border: rgb(209, 209, 209) 1px solid;*/
    box-sizing: border-box;
}

.icono {
    /*border: white 1px dotted;*/
    width: 35px;
    height: 35px;
    background-size: cover;
}





/*------------------SECTION ACCUEIL-----------------------------*/

section {
    /*border: violet 2px dotted;*/
    position: relative;
    width: 100%;
    height: 1000px;
}

#titre {
    margin-top: 190x;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 900px;
}

h1 {
    position: relative;
    top: 50px;
    color:var(--noir);
    font-size: 6em;
    line-height: 1em;
    margin-left: 150px;
    line-height: 0.9em;
    opacity: 0;
    transition: 2s all ease-out;
}

h1 span {
    color: var(--jaunemedium)
}

h2 {
    font-family:'Abel';
    color:var(--vert);
    font-size: 3em;
    margin-left: 150px;

}
h3 {
    position: relative;
    top: 50px;
    color:var(--noir);
    margin-left: 150px;
    margin-top: 20px;
    width: 500px;
    transition: 2s all ease-out;
    opacity: 0;

}

/*---------------CV-----------------------*/
#separateur1 {
    position: absolute;
    bottom: -50px;
    width: 1279px;
    height: 310px;
    background-image: url(svg/section-portfolio.svg);
    background-size: cover;
    transform: rotate(180deg);
    z-index: 1;
    /*border: royalblue 2px dotted;*/
}

#sectioncv {
    
    margin-top: -160px;
    height: 1600px;
    background: linear-gradient(var(--noirnoir), var(--vert), var(--noirnoir));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

iframe {
    /*margin-top: 200px;*/
    /*margin-bottom: 200px;*/
    width: 21cm;
    height: 29.7cm;
    border: /*var(--jaunemedium)*/ gray 1px solid;
}

#sectioncv button {
    display: block;
    width: 150px;
    height: 100px;
    margin-top: 20px;

    color: var(--jaunemedium);
    font-size: 1.8em;
    font-weight: 600;
    border: 3px var(--jaunemedium) solid;
    background-color: var(--noir);
    border-radius: 10px;
    padding: 0px 10px 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#sectioncv button img {
    display: block;
    width: 80%;
    height: 80%;
    
    
}


#separateur2 {
    position: relative; /*--important pour le z-index---*/
    margin-top: -210px;
    width: 1279px;
    height: 310px;
    background-image: url(svg/section-portfolio.svg);  
    background-size: cover;
    z-index: 1;
}


/*---------------PROJETS------------------*/
#sectionpro {
    height: auto;
  /*  border: 2px red dotted;*/
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sectionpro h4 {
    color:var(--noir);
    font-size: 5em;
    line-height: 1em;
    /*border: purple 2px dotted;*/
    margin-bottom: 40px;
    
}

#fenetreprojets {
   /* width: 1279px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;*/

    width: auto;
    /*margin: 0 30px 0 30px;*/
    margin: 0 auto 0 auto;
    /*border: dotted gray 1px;*/
    display: grid;
    grid-template-columns: auto auto auto auto;
    
    gap: 16px;
}

.fenetre {
    border: 1px rgb(185, 185, 185) solid;
    box-shadow: 0px 0px 10px rgba(82, 82, 78, 0.692);;
    width: 280px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    z-index: 2;
    user-select: none;
}

.red {
    width: 250px;
    height: 250px;
    transition: all ease 0.5s;
    /*background-color: red;*/
}

.red:hover {
    /*transform: scale(1.02);*/
    transform: translateY(-15px);
    transition: all ease 0.5s;

}

#sectionpro p {
    color: black;
    /*border:green dotted 1px;*/
    margin-top: 10px;
    font-size: 1.2em;
    
}

#sectionpro button {
    display: block;
    margin-top: 10px;
    width: 270px;
    color: rgb(150, 150, 150);
    font-family:'Abel', sans-serif;
    font-size: 1.7em;
    font-weight: 600;
    border: 2px rgb(185, 185, 185) solid;
    border-radius: 0px;
    padding: 0px 10px 5px 10px;
}

/*-------SECTION CONTACT----------*/

#separateur3 {
    position: relative;
    width: 1279px;
    height: 1100px;
    /*border: dotted red 1px;*/
    background-image: url(svg/section-contact.svg); 
    transform: rotate(180deg);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

#sectioncontact {
    margin-top: -410px;
    background-image: linear-gradient(180deg, var(--vert), var(--noirnoir), var(--noirnoir));
    /*display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: pink 2px dotted;*/
}

.formulaire {
    position: relative;
    top:150px;
    left: 100px;
    /*border: violet 1px dotted;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 500px;
    height: 600px;
}

#sectioncontact h4 {
    color:var(--blanc);
    font-size: 5em;
    line-height: 1em;
    /*border: purple 2px dotted;*/
    
}

#sectioncontact form {
    /*border: dotted 2px red;*/
    width: 500px;
    height: 335px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    
}

.nomad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*border: dotted pink 2px;*/
}

input {
    
    width: 240px;
    height: 40px;
    z-index: 5;
    color: var(--noir);
    font-size: 1.3em;
}

textarea {
    position: relative;
    font-size: 1.2em;
    top:10px;
    display: block;
    width: 500px;
    margin: 0;
    resize: none;
    color:var(--noir);
    box-sizing: border-box;
    z-index: 5;
}

input:focus,
textarea:focus { 
    outline: none !important;
    border: 3px var(--jaunemedium) solid;
    box-sizing: border-box;
    z-index: 6;
    
}

input:focus {
    height: 40px;

}

#sectioncontact button {
    width: 100%;
    display: block;
    

    color: var(--jaunemedium);
    background-color: var(--noir);
    font-family:'Abel', sans-serif;
    font-size: 2em;
    font-weight: 600;
    border: 2px var(--jaunemedium) solid;
    border-radius: 0px;
    padding: 0 15px 0 15px;
    margin: auto;
}

#sectioncontact button:hover {
    background-color: var(--vert);
}

/*----------RESEAUX SOCIAUX-------------*/
#reseaux {
    position: absolute;
    margin: auto;
    bottom: 0;
    width: 600px;
    height: 200px;
    display: flex;
    justify-content: space-around;
    margin-left: 50px;

}

#reseaux div img {
    width: 70px;
    
}
/*-------Notes à propos des Mediaqueries 
0px à 767 pour smartphone
768 à 959 pour tablette
960 à 1279 pour petit pc ou tablette paysage
1280 à ++ pour pc-------------*/