

*, *:after, *:before {
  box-sizing: inherit;
}


html {
  box-sizing: border-box;
  height: 100%;
}


body {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  margin: 0px;
  height: 100%;
}

h1{
  margin: 0px;
  padding: 0px;
}


section{
  display: flex;
  justify-content:center;
  align-items:center;
  color: rgba(0, 0, 0, 0.5);
  font-size: 2rem;
  min-height: 100%;
  height: 100vh;
}

a:visited {
	text-decoration: none;
}

a:link {
text-decoration:none;
}


#flesh {
  background: url('../assets/img/bg.png');
  height: 100%;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#bone{
  background: url('../assets/img/bg-desktop.jpg');
  height: 100%;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mask-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSo_vtN5uswuW1ble1SmqmGc4lN1RxGyMYICJHS560_q31cFsacpPsrkrZjS3TKTmMNXWQ&usqp=CAU');
  -webkit-mask-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSo_vtN5uswuW1ble1SmqmGc4lN1RxGyMYICJHS560_q31cFsacpPsrkrZjS3TKTmMNXWQ&usqp=CAU');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mask-size: 150px;
  cursor: none;
}

* {
  box-sizing: border-box;
}

#nameleft {
  float: left;
  color: white;
  position: fixed;
  z-index:2000;
  top: 40px;
  left: 100px;
  font-size: 16px;
  font-family: 'Hind', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0 5px 50px rgba(0,0,0,0.50), 0 2px 7px rgba(0,0,0,0.25);
}

#contactright {
  float: right;
  color: black;
  position: fixed;
  z-index:4000;
  top: 40px;
  right:100px;
  font-size: 16px;
  font-family: 'Hind', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  padding: 10px 30px 8px 30px;
  background-color: white;
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.03), 0 2px 3px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

#contactright:hover {
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.blocquestion {
  position: absolute;
  width: 100%;
  height: 100%;
}

h1 a, h3.animated-link a {
  text-decoration: none;
  font-weight: 300;
  color: white;
  background-repeat: no-repeat;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

h3.animated-link a {
  background-size: 0 130%;
}

h3.animated-link.half-highlight a {
  background-image: linear-gradient(180deg, transparent 65%, white 0);
}

h3.animated-link a:hover {
  background-size: 100% 130%;
}

/* ------- PAGE 2 PREZ -------*/

#B{
  background-image:
  linear-gradient(90deg,transparent 0%, transparent 99%,rgba(100, 100, 100, 0.1),transparent 100%, transparent);
  height:100%;
  width: 100%;
  background-size: 400px;
  background-position: center;
}

.page2{
  position: absolute;
  width: 100%;
  height: 100%;
}

.bloccenter{
  position: absolute;
  top: 25%; /* poussé de la moitié de hauteur du référent */
  transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
}

#question2{
  position: absolute;
  font-family: 'Hind', sans-serif;
  font-weight: 300;
  font-size: 23px;
  right: 100px;
  bottom: 10px;
  transition-duration: 0.3s;
  cursor: pointer;
  z-index: 2000;
  border-radius: 50px;
}

.BarreEnSavoirPlus{
  background-color: #dfe3e6;
  position: absolute;
  width: 100%;
  padding: 27px 100px;
  bottom: 0px;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.09), 0 -6px 10px rgba(0,0,0,0.10);
}

.TexteBarre{
  font-family: 'Hind', sans-serif;
  font-weight: 200;
  font-size: 19px;
  color: #2e2e2e;
}

h1 a, h3.animated-link2 a {
  text-decoration: none;
  font-weight: 400;
  color: #2e2e2e;
  background-repeat: no-repeat;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

h3.animated-link2 a {
  background-size: 0 130%;
}

h3.animated-link2.half-highlight a {
  background-image: linear-gradient(180deg, transparent 65%, #2e2e2e 0);
}

h3.animated-link2 a:hover {
  background-size: 100% 130%;
}

.DessusTitre{
  font-family: 'Hind', sans-serif;
  font-weight: 400;
  font-size: 30px;
  padding: 0px 100px;
  color: #2e2e2e;
}

.Titre{
  font-family: 'Hind', sans-serif;
  font-weight: 400;
  font-size: 50px;
  padding: 0px 100px;
  color: #2e2e2e;
}

.TextePrez{
  position: absolute;
  font-family: 'Hind', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 35px;
  padding-top: 40px;
  left: 100px;
  color: #2e2e2e;
}

.TextePrez2{
  display: none
}

/* ------- PAGE 3 FOLIO -------*/

#C{
  background-color: #041418;
  padding: 100px;
}

.grostitre{
  position: absolute;
  width: 100%;
  height: 100%;
}

.grostitreprojet{
  text-align: center;
  color: white;
  display: inline-block;
  width: 100%;
  z-index: 2000;
  position: absolute;
  font-family: 'Hind', sans-serif;
  font-weight: 300;
  top:40px;
  opacity: 0.8;
}

.carousel{
  margin-top: 60px;
}

.item{
  cursor: pointer;
}

.item:hover{
transform:translateY(-7px);
box-shadow: 0px 15px 13px -4px #black ;
transition: all 300ms;
}

.imageprojet1{
  background: url('../assets/img/OldDisplayRick.png');
  height: 350px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.imageprojet2{
  background: url('../assets/img/oldnotebook.png');
  height: 350px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.imageprojet3{
  background: url('../assets/img/oldnotebook.png');
  height: 350px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.imageprojet4{
  background: url('../assets/img/oldnotebook.png');
  height: 350px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.imageprojet5{
  background: url('../assets/img/oldnotebook.png');
  height: 350px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.titreprojet{
  background-color: white;
  position: relative;
  font-family: 'Hind', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: grey;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.09), 0 -6px 10px rgba(0,0,0,0.10);
}

.descritptionprojet{
  background-color: white;
  position: relative;
  font-family: 'Hind', sans-serif;
  font-weight: 500;
  font-size: 19px;
  color: #041418;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

/* ------- FOOTER -------*/

.footer {
  padding: 30px;
  background-color: #FF00ED;
}

.txtfooter {
  font-size: 15px;
  font-family: 'Hind', sans-serif;
  font-weight: 100;
  letter-spacing: 1px;
  color: white;
  margin-left: 70px;
  display: inline-block;
  text-decoration: none;
  line-height: 25px;
 }

 .link {
   font-size: 15px;
   font-family: 'Hind', sans-serif;
   color: white;
   text-decoration: none;
 }

 .mentions {
   background-color: #C600C6;
   text-align: center;
   color:#FF00ED;
   font-size: 12px;
   font-family: 'Hind', sans-serif;
   font-weight: 200;
   letter-spacing: 0.5px;
   height: 40px;
   vertical-align: top;
 }

 .mentions-inner {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
   height: 100%;
 }

 span {
   font-size: 15px;
   font-family: 'Hind', sans-serif;
   font-weight: 500;
   color: #041418;
 }


/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////---------------------------------------//////////////////////////////////////
//////////////////////////////////////-         CSS RESPONSIVE MOBILE        -/////////////////////////////////////
//////////////////////////////////////---------------------------------------//////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/



@media screen and  (max-device-width : 1000px) {


  /* ------- Home -------*/

  #contactright{
      display: none;
  }

  #nameleft{
      display: none;
  }

  .blocquestion {
    display: none;
  }

  #bone{
    background: url('../assets/img/motion-mobile.gif');
    height: 100%;
    width: 100%;
    mask-image: none;
    -webkit-mask-image: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: none;
  }

/* ------- Prez -------*/

.bloccenter{
  position: absolute;
  top: 17%; /* poussé de la moitié de hauteur du référent */
  transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
}

  #question2{
    display: none;
  }

  .BarreEnSavoirPlus{
    background-color: #dfe3e6;
    position: absolute;
    width: 100%;
    padding: 50px 70px;
    bottom: 0px;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.09), 0 -6px 10px rgba(0,0,0,0.10);
  }

  .TexteBarre{
    font-size: 35px;
    color: #2e2e2e;
  }

  .DessusTitre{
    font-size: 40px;
    padding: 0px 70px;
  }

  .Titre{
    font-size:100px;
    padding: 0px 70px;
  }

  .TextePrez{
    display: none;
  }

  .TextePrez2{
    display:block;
    position: absolute;
    font-family: 'Hind', sans-serif;
    font-weight: 300;
    font-size: 35px;
    line-height: 75px;
    padding-top: 40px;
    padding: 30px 70px;
    color: #2e2e2e;
  }


/* ------- Folio -------*/

  #C{
    background-color: #041418;
    padding: 100px;
  }

.imageprojet1{
    height: 900px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.imageprojet2{
    height: 900px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.imageprojet3{
    height: 900px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.imageprojet4{
    height: 900px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.imageprojet5{
    height: 900px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.titreprojet{
  font-size: 40px;
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
}

.descritptionprojet{
  font-size: 50px;
  top:-2px;
  padding-bottom: 50px;
  padding-left: 40px;
  padding-right: 40px;
}

.grostitreprojet{
  padding-top: 100px;
  font-size: 50px;
}

.item:hover {
transform:translateY(-0px);
}

/* ------- Footer -------*/

.footer {
    padding: 30px;
    background-color: #FF00ED;
}


.txtfooter {
    font-size: 35px;
    font-family: 'Hind', sans-serif;
    font-weight: 100;
    letter-spacing: 2px;
    color: white;
    margin-left: 70px;
    display: inline-block;
    text-decoration: none;
    line-height: 70px;
 }

 .link {
     font-size: 35px;
 }

 .mentions {
     font-size: 30px;
     height: 80px;
 }

 .mentions-inner {
     display: flex;
     justify-content: center;
     align-items: center;
     width: 100%;
     height: 100%;
 }

 span {
   font-size: 50px;
 }
