body{
	font-size: 17px;
	color: white;
	background-color: rgba(0,0,0,1);
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.4em;
  letter-spacing: 0,042em;
}
main{
  margin: 30px 30px;
}
a{
  text-decoration: none;
}
/*title*/
.title{
  color: rgba(255,153,23,1);
  font-family: 'Oxygen', sans-serif;
  display: block;
}
.title__big{
  font-size: 2.4em;
  width: 100%;
  text-align: left;
  margin-bottom: 35px;
  line-height: 33px;
}
.title__big span{
  color: white;
  animation-name: DT;
  animation-fill-mode: forwards;
  animation-duration: 0.4s;
  visibility: hidden;
}
.title__small{
  font-size: 1.5em;
  width: 100%;
  text-align: right;
  margin-bottom: 20px;
  position: relative;
  right: 100%;
  animation-name: lefttoright;
  animation-fill-mode: forwards;
  animation-delay: 2s;
  animation-duration: 0.8s;
  opacity: 0;
}
.soon{
  position: relative;
  opacity: 0;
  right: -100%;
  animation-name: righttoleft;
  animation-fill-mode: forwards;
  animation-duration: 0.5s;
  animation-delay: 2.5s;
}
/*Button*/
.btn{
  position: relative;
  padding: 19px 22px;
  transition: all 0.2s ease;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: block;
  animation-name: apparition;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
  animation-delay: 3s;
  opacity: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8em;

}
.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 28px;
  background: rgba(255,153,23, 0.8);
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255,153,23,0);
  transition: all 0.3s ease;
}
.btn span {
  position: relative;
  line-height: 18px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  top: -5px;
  width: 100%;
  margin-left: 10px;
  color: white;
}
.btn:hover:before {
  width: 100%;
  border: 4px solid;
  border-color: rgba(255,153,23,1);
  background-color: transparent;
}
.div__flex{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
  margin: 30px 0px;
}
.logoreseaux{
  width: 40px;
  height: 40px;
  animation-name: apparition;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
  animation-delay: 3s;
  opacity: 0;
}
.logoreseaux:hover{
  transform: scale(1.2);
}
.imgprofil{
  background-image: url(images/moi_noir_et_blanc.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 30vh;
  display: block;
  margin: 40px auto;
  position: relative;
  right: 0;
  transform: translateX(0);
  transition: transform 0.4s ease-in; 
  transition-delay: 0.2s;
  animation-name: apparition;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
  animation-delay: 3s;
  opacity: 0;
}
.imgprofil:hover{
  background-image: url(images/moi_couleur.jpg);
}
.imgpixel{
  background-image: url(images/pixelartbarbe.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 30vh;
  width: 100%;
  display: none;
  margin: 40px auto;
  position: absolute;
  z-index: 5;
  top: 0;
  right: -100%;
}
/*Projets image*/
.projets{
  width: 100px;
  height: 100px;
  position: fixed; 
  border: 3px solid rgba(255,153,23,1);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center; 
  transition: transform 0.7s cubic-bezier(0.175,0.785,0.30,1.11);
  z-index: 20;
  cursor: pointer;
}
.projets__autres{
  top: 60vh;
  right: 15%;
  background-image: url(images/autres.png);
  transform: translateX(600%); 
  transition-delay: 0.8s;
} 
.projets__hcd{
  top: 40vh;
  right: 55%;
  background-image: url(images/hcd.png);
  transform: translateX(-600%); 
  transition-delay: 0.6s;
} 
.projets__iolce{
  top: 60vh;
  right: 55%;
  background-image: url(images/iolce.png);
  transform: translateY(600%); 
  transition-delay: 1s;
} 
.projets__tfa{
  top: 20vh;
  right: 55%;
  background-image: url(images/tfa.png);
  transform: translateY(-600%); 
  transition-delay: 0.4s;
} 
.projets__vcard{
  top: 40vh;
  right: 15%;
  background-image: url(images/vcardv1.png);
  transform: translateY(600%); 
  transition-delay: 0.4s;
} 
.projets__dataplay{
  top: 20vh;
  right: 15%;
  background-image: url(images/dataplay.png);
  transform: translateY(-600%); 
  transition-delay: 0.6s;
} 
.projets__exit{
  top: 80vh;
  right: 15%;
  background-image: url(images/exit.png);
  transform: translateY(600%);
  transition-delay: 0.4s;
} 
.projets__autre--translate{
  transform: translateX(0);
  transform: translateY(0);
}
.section__profil{
  height: 30vh;
  display: block;
  margin: 40px auto;
}
.section__dark{
  position: fixed;
  height: 100vh;
  width: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 10;
  margin: 0;
  top: 0;
}
.hidden{
  display: none;
}
/*Transform*/
.change{
  display: block;
  animation-name: konami;
  animation-fill-mode: forwards;
  animation-delay: 0.1s;
  animation-duration: 2s;
}
.change__profil{
  transform: translateX(-100%)  rotate(500deg);
}
.presentation{
  opacity: 0;
  position: relative;
  right: 100%;
  animation-name: lefttoright;
  animation-fill-mode: forwards;
  animation-delay: 2.7s;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
}
/*Title letter*/
.span__one{
  animation-delay: 0.2s;
}
.span__two{
  animation-delay: 0.4s;
}
.span__tri{
  animation-delay: 0.6s;
}
.span__fou{
  animation-delay: 1s;
}
.span__fiv{
  animation-delay: 1.2s;
}
.span__six{
  animation-delay: 1.4s;
}

/*Animation Keyframe*/
  /*Animation left to the right*/
@keyframes lefttoright{
  0%{
    right: 100%;
    opacity: 0;
  }
  70%{
    right: 0;
  }
  100%{
    opacity: 1;
    right: 0;
  }
}
  /*Animation right to the left*/
@keyframes righttoleft{
  0%{
    right: -100%;
    opacity: 0;
  }
  70%{
    right: 0;
  }
  100%{
    opacity: 1;
    right: 0;
  }
}
  /*Konami code*/
@keyframes konami{
  0%{
    right: -100%;
  }
  40%{
    right: 0;
  }
  90%{
    background-image: url(images/pixelart2barbe.png);
    right: 0;
  }
  100%{
    background-image: url(images/pixelartbarbe.png);
    right: 0;
  }
}
  /*Title animation*/
@keyframes DT{
  from{
    visibility: hidden;
  }
  to{
    visibility: visible;
  }
}

@keyframes apparition{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

@media (max-device-width:768px) and (orientation: landscape) {
  html {
   -webkit-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
  }
}
/*Tablette*/
@media (min-device-width: 700px){
  body{
    font-size: 24px;
  }
  main{
    margin: 30px 90px;
  }
  .imgprofil{
    height: 40vh;
  }
  .imgpixel {
    height: 40vh;
  }
  .section__profil {
    height: 40vh;
  }
  .title__big {
    font-size: 2.5em;
    margin-bottom: 60px;
  }
  .title__small {
    font-size: 1.8em;
    margin-bottom: 50px;
  }
  .presentation {
    width: 90%;
    margin: 20px auto;
  }
  .btn {
    margin: 40px auto;
    font-size: 0.6em;
  }
  .btn span{
    top: -10px;
  }
  .projets{
    width: 180px;
    height: 180px;
  }
  .logoreseaux {
    margin-bottom: 50px;
  }
  
  .projets__autre--translate{
    transform: translateX(0);
    transform: translateY(0);
  }
}
/*Desktop*/
@media (min-device-width: 1150px){
  body{
    font-size: 20px;
  }
  .div__flex--desktop main{
    width: 40%;
  }
  .div__flex--desktop{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    height: 100vh;
  }
  .imgprofil{
    height: 70vh;
  }
  .section__profil {
    height: 70vh;
    width: 40%;
  }
  
  .title__big{
    font-size: 3em;
    margin-bottom: 80px;
  }
  .title__small {
    text-align: left;
    font-size: 1.6em;
    margin-bottom: 40px;
  }
  .btn {
    font-size: 0.8em;
  }
  .btn span {
    top: -7px;
  }
  .projets__exit {
    top: 70vh;
    right: 20%;
  }
  .projets__autres {
    top: 45vh;
    right: 20%;
  }
  .projets__hcd{
    top: 20vh;
    right: 50%;
  } 
  .projets__iolce{
    top: 45vh;
    right: 80%;
  } 
  .projets__tfa{
    top: 20vh;
    right: 80%;
  } 
  .projets__vcard{
    top: 45vh;
    right: 50%;
  } 
  .projets__dataplay{
    top: 20vh;
    right: 20%;
  } 
  .projets__autre--translate{
    transform: translateX(0);
    transform: translateY(0); 
    z-index: 50;
  }
  .presentation {
    width: 80%;
    margin: 20px 0;
  }
  .div__flex {
    width: 70%;
  }
  .imgpixel {
    display: none;
    position: relative;
    z-index: 5;
    top: 0;
    right: -300%;
    height: 70vh;
  }
  .change{
    display: block;
    animation-name: konami;
    animation-fill-mode: forwards;  
    animation-duration: 1s;
  }
  @keyframes konami{
    0%{
      right: -300%;
    }
    40%{
      right: 0;
    }
    90%{
      background-image: url(images/pixelart2barbe.png);
    }
    100%{
      background-image: url(images/pixelartbarbe.png);
      right: 0;
    }
  }
}

/*Retina*/
@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
   .imgprofil{
  background-image: url(images/moi_noir_et_blanc@2x.jpg);
  }
.imgprofil:hover{
  background-image: url(images/moi_couleur@2x.jpg);
  }
.imgpixel{
  background-image: url(images/pixelartbarbe@2x.png);
  }
  .projets__autres{
  background-image: url(images/autres@2x.png);
  } 
.projets__hcd{
  background-image: url(images/hcd@2x.png);
  } 
.projets__iolce{
  background-image: url(images/iolce@2x.png);
  } 
.projets__tfa{
  background-image: url(images/tfa@2x.png);
  } 
.projets__vcard{
  background-image: url(images/vcardv1@2x.png);
  } 
.projets__dataplay{
  background-image: url(images/dataplay@2x.png);
  } 
.projets__exit{
  background-image: url(images/exit@2x.png);
  } 
}