@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/roboto_regular.eot');
    src: url('../fonts/roboto/roboto_regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/roboto/roboto_regular.woff') format('woff'),
         url('../fonts/roboto/roboto_regular.ttf') format('truetype'),
         url('../fonts/roboto/roboto_regular.svg#Roboto') format('svg');
    font-weight: normal;
    font-style: normal;
}

#overlay{
  position:fixed;
  z-index:99999;
  top:0;
  left:0;
  bottom:0;
  right:0;
    background:#FFF;
    transition: 1s 0.4s;
    text-align:center;
}

#overlay>div{
    width: 50%;
    margin: auto;
    left: 0;
    right: 0;
    position: relative;
    margin-top: 50vh;
    transform: translateY(-50%);
}

#overlay>div>img{
    width: 300px;
}

#overlay>div>h1{
    font-size: 3.2rem;
    color: black;
    margin-top: 10px;
}

#overlay>div>h2{
    font-size: 2.4rem;
}

body{
    background-color: #FAFAFA;
}

#progstat{
  font-family: 'Roboto';
  font-weight: 800;
  font-size:1.8rem;
  letter-spacing: 3px;
  color:#7654A2;
  margin-top: 50px;
}

#progress{
  margin-top: 20px;
  height:5px;
  background:#7654A2;
  width:0;
}

main{
    position: relative;
}

p{
	font-family: 'Roboto';
    font-size: 1.8rem;
}

h1{
	font-family: 'Roboto';
	font-size: 4.2rem;
    color: #3E3E3E;
}

h2{
	font-family: 'Roboto';
	font-size: 3.2rem;
    font-weight: 400;
}

a{
	text-decoration: none;
	color: #FFF;
}

a:hover{
	color: #7654A2;
}

.hometop{
    padding: 100px 50px 50px 50px;
    background: #D76D77;
    background: linear-gradient(120deg, #7354A2, #D76D77,#FFAF7B);

}

#introleft{
    width: 74%;
    display: inline-block;
}

.quote1{
    animation-duration:2s;
    animation-timing-function:ease;
    animation-name:quote;
}

#quote1text{
    font-size: 4.2rem;
    text-align: center;
    color: white;
}

@keyframes quote { 
    0% {transform: translate;opacity:0;} 
    100% {transform: translate;opacity:1;}
}

.closecitation{
	float: right;
}

.carre{
    margin-top: 50px;
    text-align: center;
}

#competence{
    margin: 30px 0px 20px 0px;
    color: white;
}

.skill{
	margin-left: 5%;
	text-align: center;
    animation-duration:2s;
    animation-timing-function:ease;
    animation-name:skill;
    display: inline-block;
    width:20%;
    vertical-align: top;
}

@keyframes skill { 
    0% {transform: translate;opacity:0;} 
    100% {transform: translate;opacity:1;}
}

.bcgskill{
    height: 100px;
    width: 100px;
    background-size: 85px 85px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    margin: 5px;
}

svg{
    height: 100%;
    display: block;
}

#skill1{
    background-image: url('../img/skill/skill1.png');
}

#skill2{
    background-image: url('../img/skill/skill2.png');
}

#skill3{
    background-image: url('../img/skill/skill3.png');
}

#skill4{
    background-image: url('../img/skill/skill4.png');
}

#skill5{
    background-image: url('../img/skill/skill5.png');
}

#skill6{
    background-image: url('../img/skill/skill6.png');
}

#skill7{
    background-image: url('../img/skill/skill7.png');
}

#skill8{
    background-image: url('../img/skill/skill8.png');
}

.wduiux{
	margin: 5px;
	padding: 5px;
	text-align: center;
    display: inline-block;
    width: 30%;
    vertical-align: bottom;
    color: white;
    opacity: 0;
}

.wduiuximg{
	display: none;
    margin: 10px;
}

#svg{
    display: inline-block;
}

#ux {     
    -webkit-animation-duration:3s;
    -webkit-animation-timing-function:ease;
    -webkit-animation-name:ux;
    -moz-animation-duration:3s;
    -moz-animation-timing-function:ease;
    -moz-animation-name:ux;
    -webkit-animation-duration:3s;
    -webkit-animation-timing-function:ease;
    -webkit-animation-name:ux;
    -moz-animation-duration:3s;
    -moz-animation-timing-function:ease;
    -moz-animation-name:ux;
    animation-duration:3s;
    animation-timing-function:ease;
    animation-name:ux;
    opacity: 1;
}

@-moz-keyframes ux { 
    0% {transform: translate(0, 500px); opacity:0;}
    35% {opacity:0}
    100% {transform: translate(0, 0); opacity:1;}
}

@-webkit-keyframes ux { 
    0% {transform: translate(0, 500px); opacity:0;}
    35% {opacity:0}
    100% {transform: translate(0, 0); opacity:1;}
}

@keyframes ux { 
    0% {transform: translate(0, 500px); opacity:0;}
    35% {opacity:0}
    100% {transform: translate(0, 0); opacity:1;}
}

#ui {               
    -webkit-animation-duration:3.5s;
    -webkit-animation-timing-function:ease;
    -webkit-animation-name:ui;
    -moz-animation-duration:3.5s;
    -moz-animation-timing-function:ease;
    -moz-animation-name:ui;
    -webkit-animation-duration:3.5s;
    -webkit-animation-timing-function:ease;
    -webkit-animation-name:ui;
    -moz-animation-duration:3.5s;
    -moz-animation-timing-function:ease;
    -moz-animation-name:ui;
    animation-duration:3.5s;
    animation-timing-function:ease;
    animation-name:ui;
    opacity: 1;
}

@-moz-keyframes ui { 
    0% {transform: translate(0, 500px); opacity:0;}
    35% {opacity:0}
    100% {transform: translate(0, 0); opacity:1;}
}

@-webkit-keyframes ui { 
    0% {transform: translate(0, 500px); opacity:0;}
    35% {opacity:0}
    100% {transform: translate(0, 0); opacity:1;}
}

@keyframes ui { 
    0% {transform: translate(0, 500px); opacity:0;}
    35% {opacity:0}
    100% {transform: translate(0, 0); opacity:1;}
}

#wd {
    -webkit-animation-duration:4s;
    -webkit-animation-timing-function:ease;
    -webkit-animation-name:wd;
    -moz-animation-duration:4s;
    -moz-animation-timing-function:ease;
    -moz-animation-name:wd;
    -webkit-animation-duration:4s;
    -webkit-animation-timing-function:ease;
    -webkit-animation-name:wd;
    -moz-animation-duration:4s;
    -moz-animation-timing-function:ease;
    -moz-animation-name:wd;
    animation-duration:4s;
    animation-timing-function:ease;
    animation-name:wd;
    opacity: 1;
}

@-webkit-keyframes wd { 
    0% {transform: translate(0, 500px); opacity:0;}
    35% {opacity:0}
    100% {transform: translate(0, 0); opacity:1;}
}

@-moz-keyframes wd { 
    0% {transform: translate(0, 500px); opacity:0;}
    35% {opacity:0}
    100% {transform: translate(0, 0); opacity:1;}
}

@keyframes wd { 
    0% {transform: translate(0, 500px); opacity:0;}
    35% {opacity:0}
    100% {transform: translate(0, 0); opacity:1;}
}

.fondquote2{
	width: 100%;
    padding: 60px 30px 60px 30px;
	clear: both;
    overflow: hidden;
    position: relative;
    background-image: url('../img/bcg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
    -o-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
}

.quote2{
	width: 70%;
	left: 15%;
    position: relative;
}

#quote2text{
	text-align: center;
    color: #FFF;
    font-size: 2.8rem;
}

.parcours{
	width: 100%;
    position: relative;
    padding-top: 70px;
	}

.parcourstitle{
	text-align: center;
}

#navportfolio{
    padding-top: 70px;
}

.bcg-bottom{
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 700px;
  background: linear-gradient(120deg, #7354a2, #D76D77,#FFAF7B);
  z-index: -1; 
}

#bcg-bottom1{
  transform: skewY(352deg);
  transform-origin: top left;
}

#bcg-bottom2{
  background: linear-gradient(112deg, #7354a2, #D76D77,#FFAF7B);
}

footer {    
    position: relative; 
    text-align: center;
    font-family: 'Roboto';
    font-size: 1.8rem;
    font-weight: 300;
    padding: 20px;
}

@media only screen and (max-width:1366px) {

/*Contenu*/

#introleft{
    width: 100%;
}
 
.skill{
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0px;
}
    
.wduiux{
    margin: 10px 5px 5px;
}
    
    
#ux {     
    animation-duration:3s;
    animation-timing-function:ease;
    animation-name:ux;
}

@keyframes ux { 
    0% {transform: translate;opacity:0;}
    100% {transform: translate;opacity:1;}
}

#ui {               
    animation-duration:3.5s;
    animation-timing-function:ease;
    animation-name:ui;
}

@keyframes ui { 
    0% {transform: translate;opacity:0;}
    100% {transform: translate;opacity:1;}
}

#wd {
    animation-duration:4s;
    animation-timing-function:ease;
    animation-name:wd;
}

@keyframes wd { 
    0% {transform: translate;opacity:0;}
    100% {transform: translate;opacity:1;}
}
    
}


@media only screen and (max-width:1024px) {
p{
    font-size: 1.6rem;
}

h1{
    font-size: 3.6rem;
}
    
h2{
    font-size: 2.4rem;
    }
    
#introleft{
    width: 100% !important;
}

#quote1text{
    font-size: 3.6rem;
}
    
.skill{
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
    
.bcgskill{
    height: 75px;
    width: 75px;
    background-size: 65px 65px;
}

.wduiux{
    margin: 10px 5px 5px;
}
    
.fondquote2{
    padding: 40px 20px 40px 20px;
}
    
.quote2{
    width: 90%;
    left: 5%;
    }

#quote2text{
    font-size: 2.1rem;
}
}

@media only screen and (max-width:768px) {

#overlay>div{
    width: 70%;
}
    
#overlay>div>img{
    width: 60%;
}
    
main{
    top: -50px;
}    

.hometop{
    padding: 80px 20px 50px 20px;
}
    
.wduiux{
    width: 80%;
    text-align: left;
}
    
.wduiux div{
    vertical-align: middle;
    display: inline-block;
    width: calc(100% - 110px);
}
    
.wduiuximg{
    display: inline-block;
    vertical-align: middle;
    width: 80px;
}
    
.bcg-bottom{
    bottom: -50px;
    height: 950px;
}

footer{
    top: 50px;
}

}

@media only screen and (max-width:480px) {

#overlay>div{
    width: 80%;
}

#overlay>div>img{
    width: 80%;
}
    
#quote1text{
    font-size: 2.8rem;
}
    
.wduiux{
    width: 100%;
}
}


/*Debug IE 10/11 */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    
    .carre>div:nth-of-type(1)>object{
        background: url(../img/ux.png) no-repeat;
        background-size: 80px auto;
        width: 80px;
    }
    
    .carre>div:nth-of-type(2)>object{
        background: url(../img/ui.png) no-repeat;
        background-size: 100px auto;
        width: 100px;
    }
    
    .carre>div:nth-of-type(3)>object{
        background: url(../img/webdesign.png) no-repeat;
        background-size: 100px auto;
        width: 100px;
    }
    
}