* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ----------- Fonts ----------- */
@font-face {
	font-family: "Inter";
    font-weight: 500;
	src: url('Font/Inter-Regular.woff');
}
@font-face {
	font-family: "Inter";
    font-weight: 600;
	src: url('Font/Inter-Medium.woff');
}
@font-face {
	font-family: "Inter";
    font-weight: 700;
	src: url('Font/Inter-Bold.woff');
}

/* ____COLORS____
JAUNE : #F7CD13; 
BLEU :#1745AE
GRIS : #909090
Noir : #242424
*/

/* ----------- Body Style ----------- */
html {
    height: 100%;
    background: #FFF;
    -webkit-font-smoothing: antialiased;
    /*background-color: #F7CD13; /*#F7CD13*/
}

body {
    color: #333;
    /*font-family: 'Source Sans Pro', sans-serif;*/
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 auto;
    padding: 0px ;
    height: 100%;
    

}

body>section {
    margin-bottom: 0px;
    padding: 16px 32px; /* ----------- Permet de gerer le padding de chaque section */
}
/*____Sections____*/

.first{ /* YELLOW PART */
    width: 100%;
    height: 100%;
    /*background: linear-gradient(#181818, #111); /*070707 #1745AE
    background-image:url("../images/bkgtest.jpg");
    background-repeat:no-repeat;
    background-size: 100%;
    background: linear-gradient(90deg, #DBEDFF 0%, #DBEDFF 15%, #FFE9E4 25%, #FFE9E4 40%,#D9F7F1 50%, #D9F7F1 65%, #FAF9C7 75%, #FAF9C7 100%);
    */
    background-color: #FAFAFA;
   
}
#separate{
    height: 8px;
    width: 80px;
    background-color: #F7CD13;
    border-radius: 6px;
    margin: 32px 0px 32px 0px;
}
#second { /* WHITE PART */
    margin: 0 auto 0px auto;
    background-color: #FAFAFA;
    
}
#third { /* About Me */
    background-color: #FFFFFF;
    margin: 0 auto 0px auto;
    padding-top: 40px;
    text-align: center;
}

#bottom { /* About Me */
    background-color: #111;
    height: 80px;
    color: #404040;
    text-align: right;
    margin: 0 auto 0px auto;
}
#third p{
    width: 143px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 2px solid #909090;
    
}
#topbar {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 0px auto;
}
#name{
    padding: 16px;
    margin: 0px;
    width: 64px;
}
#name a:hover{
    border: 0px;
}
#name img{
    width: 64px;
    height: auto;
    margin: 0px 16px 0px 8px; ;
    padding: 10px;
    border-radius: 4px;
}
#portfolio{
    float: right;
    margin-top: 0px;
}

#title{
    max-width: 1030px;
    /*margin: 10% auto 0 auto;*/
    margin: 18% auto 3% auto;
    display: flex;
}
#title_text{
    width: 100%;
}
#title img{
    width: 100%;
    margin: 32px 0;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
    border-top-left-radius: 40px;
}
#title p{
    margin-top: 32px;
}
#title_photo{
    width: 40%;
    padding: 16px;
    /*background-color: #F7CD13;*/
}
#title_photo img{
}


/*____Work Menu part____*/

#type_1{
    max-width: 1440px;
    margin: 8% auto;
}
#work{
    width: 100%;
    min-width: 500px;
    padding: 10% 32px;
    display: inline-block;
    vertical-align: top;
}
#worktext{
    float: left;
    /*background-color: #F2F2F2;*/
    border-radius: 4px;
    width: 49.5%;
    padding: 16% 32px;
    max-width: 480px;
}
#worktext h3{
    line-height: 1.2;
    margin: 8px 0px;
    font-size: 1.6em;
    font-weight: 900;
}
#worktext a{
    line-height: 4;
}
#workimage{
    width: 49.4%;
    float: right;
}
#workimage img{
    width:100%;
}

/*_______________Inversion ____________*/

#worktext2{
    float: right;
    /*background-color: #F2F2F2;*/
    border-radius: 4px;
    width: 49.5%;
    padding: 16% 32px;
    max-width: 480px;
}
#worktext2 h3{
    line-height: 1.2;
    margin: 8px 0px;
    font-size: 1.6em;
    font-weight: 900;
}
#worktext2 a{
    line-height: 4;
}
#workimage2{
    width: 49.4%;
    float: left;
}
#workimage2 img{
    width:100%;
}

/*___________________________*/

#link{
}
#link a{
    height: 64px;
    width: auto;
}
#linkgrey{
    margin-top: 21px;
    width: 174px;
    height: 64px;
}
#linkgrey p{
    color: #909090;
    font-weight: 600;
    width: auto;
}

/*____Page projet____*/
#headerpage{
    height: 264px;
    margin: 0;
    padding: 32px 15%;
    background: linear-gradient(#181818, #111);
    height: 100%;
}
#headerpage h2{
    margin: 16% 0 40px 0;
    text-align: center;
    color: #909090;

}
#headerpage p{
    max-width: 720px;
    margin: 8px auto;
    color: #909090;
}
#projectdescription{
    max-width: 1000px;
    margin: 0 auto 0 auto;
}
#projectdescription h2{
    align-content: center;
}
#projectdescription h3{
    margin: 32px auto 16px;
    max-width: 720px;
}
#projectdescription p{
    max-width: 720px;
    margin: 16px auto;
}
#projectdescription h5{
    margin: -20px 0 16px 0;
    text-align: center;
}
#projectdescription img{
    max-width: 100%;
    margin: 32px 0px;
-moz-box-shadow:
  0 6.7px 5.3px rgba(0, 0, 0, 0.032),
  0 0px 17.9px rgba(0, 0, 0, 0.048),
  0 20px 80px rgba(0, 0, 0, 0.08)
;
-webkit-box-shadow:
  0 6.7px 5.3px rgba(0, 0, 0, 0.032),
  0 0px 17.9px rgba(0, 0, 0, 0.048),
  0 20px 80px rgba(0, 0, 0, 0.08)
;
-o-box-shadow:
  0 6.7px 5.3px rgba(0, 0, 0, 0.032),
  0 0px 17.9px rgba(0, 0, 0, 0.048),
  0 20px 80px rgba(0, 0, 0, 0.08)
;
box-shadow:
  0 6.7px 5.3px rgba(0, 0, 0, 0.032),
  0 0px 17.9px rgba(0, 0, 0, 0.048),
  0 20px 80px rgba(0, 0, 0, 0.08)
;
filter:progid:DXImageTransform.Microsoft.Shadow(color=#c0c0c0, Direction=180, Strength=8); 
}

#detailsproject{
    padding: 24px 0px;
    max-width: 800px;
    margin: 0 auto;
}
#detailsproject p{
    font-style: italic;
}
#third #link{
    margin: 40px 8px 60px;
    display: inline-block;
}

/*_______ Social network en bas________ */

#socialnetwork{
    max-width: 1440px;
    margin: 0px auto 0 auto;
    padding: 10px 0px 0 0;
    text-align: right;
}
#socialnetwork a{
    margin: 0 16px;
    text-decoration: none;
    list-style-type: none;
}
#socialnetwork a:hover{
    color: #1745AE;
}

/*____Font size____*/
h1{
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    /*color:#F9F9F9;*/
    line-height: 1.4;
    text-align: center;
}
h2{
    font-family:'Poppins', sans-serif;
    font-size: 4.0em;
    font-weight: bold;
    line-height: 1.1;
    /*color: #F9F9F9 ;*/
    text-align: center;
}
h2 span {
    color: #F7CD13;
}
p{text-align: center;}

h3{
    font-family: 'Poppins', sans-serif;
    /*font-family: 'Playfair Display', serif;*/
    font-size: 40px;
    font-weight: bold;
}
h3 span{
    color: #F9F9F9
}
H5 {
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    color: #909090;
}
p {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.8;
}
p span{
    color: #6B6B6D;
    line-height: 180%;
}
p g{
    color: #909090;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
}

a{
    font-size: 20px;
    color: #F7CD13;
    font-weight: 600;
    list-style-type: none;
    text-decoration: none;
}
a:hover{
    border-bottom: 2px solid #F7CD13;
    }

#bottom a{
    color: #A8A8A8;
}
#bottom a:hover{
    color: #A6A6A6;
}

/*___________________________ Animation ___________________________ */
@keyframes opacite {
  0% {opacity: 0;}
  100% {opacity: 100;}
}

/*_______________________________________________________________________________ responsive____________________________________________________________________________ */

@media screen and (max-width: 1750px) {
    #title{
        margin: 15% auto 3% auto;
    }
    #headerpage h2{
    margin: 4% 0 40px 0;
    }
    #type_1{
    max-width: 1080px;
    }
}



@media screen and (max-width: 1100px) { 
#title{
    display: block;
    width: 60%
    }
#title_text{
    width: 100%;
    text-align: center;
    margin 0px 0px 0px 0px
    }    
#title_photo{
    width: 60%;
    margin: 0 auto;
    display: none;
    }

    
#work{
    width: 100%;
    margin: 0 auto;
    padding: 16px;
    }
    
#worktext{
    float: none;
    margin: 0 auto;
    padding: 16px 0 40px 0;
    width:100%;
    }
#workimage{
    float: none;
    margin: 0 auto;
    width:480px;
    }
#worktext2{
    float: none;
    margin: 0 auto;
    padding: 16px 0 40px 0;
    width:100%;

    }
#workimage2{
    float: none;
    margin: 0 auto;
    width:480px;
    }
    
    
#link {
    margin: 16px auto;
    width: 242px
}
#linkgrey {
    margin: 16px auto;
    width: 174px;
}
#third #link {
    margin: 40px auto;
    display: block;
}
h2{
    font-size: 80px;
    }
    
@media screen and (max-width: 680px) { /*___________________________ responsive___________________________ */


.first{
    height: 75%;

}
#type_1{
    max-width: 85%;
    }
    
#title{
    width: 100%
    }
#title_text{
    width: 100%;
    text-align: center;
    margin: 20% 0px 32px 0px
    }
#title_photo{
    max-width: 100%;
}
#name{
     margin: 0 auto;
    padding: 0px;
    }
#title img{
    width: 100%;
    margin: 0px 0;
    border-radius: 16px;
    }
    
#projectdescription h3{
    margin: 16px 0;
}
#projectdescription p{
    padding: 0px 0px;
}
#work{
    padding: 16px 0;
    min-width: 260px;
    width: 100%;
}
#worktext{
    width: 100%;
    }
#workimage{
    width: 100%;
    }
#worktext2{
    width: 100%;
    }
#workimage2{
    width: 100%;
    }
#third{
    padding: 16px;
}
#bottom{
    text-align: center;
    padding: 16px 0 32px 0;
    }
#socialnetwork{
    padding: 0 0 0px 0;
    margin: 0 0 0px 0;
    text-align: center;
    }
h2{
    font-size: 50px;
}
}