/* POLICES */
@font-face{
    font-family: "MontserratThin";
    src: url("../polices/Montserrat-Thin.ttf");
    font-style: normal;
  }
  
  @font-face{
    font-family: "MontserratLight";
    src: url("../polices/Montserrat-Light.ttf");
  }
  
  @font-face{
    font-family: "MontserratRegular";
    src: url("../polices/Montserrat-Regular.ttf");
  }
  
  @font-face{
    font-family: "MontserratSemiBold";
    src: url("../polices/Montserrat-SemiBold.ttf");
  }
  
  @font-face{
    font-family: "MontserratBold";
    src: url("../polices/Montserrat-Bold.ttf");
  }
  
  @font-face{
    font-family: "MontserratAlternatesSemiBold";
    src: url("../polices/MontserratAlternates-SemiBold.ttf");
  }
  
  @font-face{
    font-family: "MontserratAlternatesMedium";
    src: url("../polices/MontserratAlternates-Medium.ttf");
  }
  
  @font-face{
    font-family: "MontserratAlternatesRegular";
    src: url("../polices/MontserratAlternates-Regular.ttf");
  }
  
  @font-face{
    font-family: "YoungSerif";
    src: url("../polices/YoungSerif-Regular.otf");
  }
  
  @font-face{
    font-family: "NexaBold";
    src: url("../polices/NexaBold.otf");
  }
  
  @font-face{
    font-family: "NexaLight";
    src: url("../polices/Light.otf");
  }
  
  @font-face{
    font-family: "Alata";
    src: url("../polices/Alata-Regular.ttf");
  }

/* KEYFRAMES */
  
@keyframes card-anim {
    0% {}
    100% {transform: translateX(0px) rotateX(0deg) rotateY(0deg);}
}

@keyframes bg-anim {
    0% {background-position-x: -200vw;}
    100% {background-position-x: 0%}
}

@keyframes navside-anim {
    0% {}
    100% {transform: translateY(100vh) rotateX(0deg) rotateY(0deg);}
}

@keyframes card-anim-tel {
    0% {}
    100% {transform:translateX(0px) translateY(-90vh)rotateX(0deg) rotateY(0deg);}
}

@keyframes intro-anim {
    0% {}
    100% {transform: translateX(0px) rotateX(0deg) rotateY(0deg);}
}

@keyframes intro-decale {
    0% {}
    100% {transform: translateY(-100vh) rotateX(0deg) rotateY(0deg);}
}	

/* CSS */

body{
    overflow-x: hidden !important;
}

.row{
    margin: 0px;
}

#navside{
    padding-top: 40vh !important;
}

#navsidebg{
    height: 100vh;
    background-color: white;
    opacity: 0.7;
    transform: translateY(-100vh);
    max-width: 11.5% !important;
}

.navsidebgafter{
    animation-name: navside-anim;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

/* PARTIE 1 */

#Welcome{
    height: 100vh;
    background-color:#0f1010;
    display: flex;
    align-items: center;
}

.WelcomeAfter{
    background-image: url(../images/picbg.webp);
    background-size: contain;
    background-repeat: no-repeat;
    animation-name: bg-anim;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

#Cont1{
    padding: 0 !important;
    height: 100vh;
    display: flex;
    align-items: center;
}

.Cont1Decale{
    animation-name: intro-decale;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

#intro{
    width: max-content;
    margin-left: 60px;
    margin-bottom: 30px;
    display: flex;
    flex-flow: column wrap;
    transform: translateX(-992px);
}

.preload{
    animation-name:  intro-anim;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

#Cont1 h1{
    font-family: "MontserratSemiBold";
    color:transparent;
    -webkit-text-stroke: 1.66px white;
    letter-spacing: 2px;
    font-size: 3em;
    width: max-content;
    margin: 0 !important;
    padding: 0 !important;
    transition: 0.5s;
}

#Cont1 span{
    font-family: "MontserratSemiBold";
    color:white;
}

#Cont1 h1:hover{
    color: white;
}

#Cont1 h2 {
    color:white;
    font-size: 1em;
    font-family: "MontserratRegular", sans-serif;
    line-height: 35px;
    width: max-content;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 30px;
}

/* RESPONSIVE */

@media screen and (min-device-width: 992px){
    #intro{
        mix-blend-mode: exclusion;
    } 
}

#navsidebg{
    padding: 0px !important;
    margin: 0px !important;
}

@media screen and (max-device-width: 992px){
    body{
        overflow-x: hidden !important;
    }
    #intro{
        align-items: center;
    }
    .nav{
        z-index: 3;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color:#0f1010 !important;
        position: fixed;
        width: 100vw;
        min-height: 100px;
      }
      #navsidebg{
          display: none !important;
      }
    #row1{
        margin-top: 0px;
    }
    #Welcome{
        margin-top: 0px;
    }
    #ContIntro{
        display: flex;
        justify-content: center;
    }
    #intro{
        margin: 0px !important;
    }
    #Cont1 h1{
        text-align: center;
        line-height: 125%;
        width: min-content;
    }
    #Cont1 h2{
        border: 0px;
        font-size: 85%;
        margin-left: unset;
        margin-right: unset;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        width: unset;
    }
    #BTAccueil{
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

.PhotoPres{
    height: 100vh;
    display: block;
}

.PresAfter{
    display: block;
    animation-name: card-anim;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.PresAfterTel{
    display: block;
    animation-name: card-anim-tel;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

#TextePres{
    height: 95vh;
    background-color: white;
    transform: translateX(500px) rotateX(10deg) rotateY(95deg);
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    padding: 10px;
}

@media screen and (max-device-width: 992px){
    #TextePres{
        margin-bottom: 100vh;
        transform: translateX(500px) translateY(-90vh) rotateX(10deg) rotateY(95deg);
    }
}

#TextePres h2{
    font-family: "MontserratBold";
    font-size: 2.5em;
    margin-left: 10%;
    letter-spacing: 2px;
    margin-bottom: 30px;
    margin-top: 60px;
    color:black;
    /*-webkit-text-stroke: 1.3px white;*/
    transition: 0.3s;
}

@media screen and (max-device-width: 992px){
    #TextePres h2{
        text-align: center;
        margin-top: 30px;
        font-size: 2.6em;
        margin: 0;
    }
}

@media screen and (min-device-width: 992px){
    #TextePres h2{
        width: min-content;
    }
}

#TextePres p{
    mix-blend-mode: exclusion;
    width: 500px;
    font-family: "MontserratRegular", sans-serif;
    line-height: 180%;
    color: rgb(167, 167, 167);
    font-size: 0.9em;
    transition: .3s;
}

@media screen and (max-device-width: 992px){
    #TextePres p{
        margin-left: auto;
        margin-right: auto;
        width: 70%;
    }
    #BTContinuer{
        margin-bottom: 40px;
    }
}

@media screen and (min-device-width: 992px){
    #TextePres p{
        margin-left: 10%;
        margin-right: 10%;
        width: 80%;
        text-align: left;
    }
}

.row{
    margin: 0 !important;
}

.BT{
    width: 170px;
    font-family: "MontserratAlternatesRegular",sans-serif;
    background: transparent;
    background-size: 600%;
    color: white;
    text-align: center;
    padding: 10px 0px 10px 0px;
    font-weight: bold;
    display: block;
    border-radius: 100px;
    line-height: 30px;
    mix-blend-mode: exclusion;
    border: 1px solid white;
    text-decoration: none;
    background: transparent;
    transition: 0.3s;
}

.BT:hover{
    color: rgb(255, 255, 255);
    font-size: 20px ;
    text-decoration: none;
}

@media screen and (max-device-width: 992px){
    .BT{
        margin-top: 0px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    #BTPres{
        display: none;
    }
}

@media screen and (min-device-width: 992px){
    #BTContinuer{
        margin-left: 10%;
    }
    
    #BTPres{
        margin-top: 30px;
        display: block;
    }
}


/* LIGNE 3 */


#Projets{
    padding-top: 50px;
    padding-bottom: 50px;
    background: #0f1010;
}

#Cont3 h2{
    font-family: "YoungSerif";
    font-size: 40px;
    letter-spacing: 2px;
    text-align: center;
}

@media screen and (max-device-width: 992px){
    .Lien{
        margin-top: 50px;
        margin-bottom: 25px;
    }
    #Projets{
        padding-top: 80px;
    }
}

  .Lien {
    border-radius: 50px;
    background: #1E1E20;
    background: #0f1010;/*
    box-shadow:  20px 20px 36px #0c0d0d, 
                 -20px -20px 36px #121313;*/
    width: 275px;
    height: 275px;
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
    display: block;
    text-align: center;
    border-radius: 30px;
  }

  
  .Lien a {
    text-decoration: none;
  }
  
  .Lien a:active img, 
  .Lien a:hover img {
    -webkit-filter: blur(5px);
    filter: blur(5px);
    -webkit-transform:scale(1.15); /* Safari and Chrome */
    -moz-transform:scale(1.15); /* Firefox */
    -ms-transform:scale(1.15); /* IE 9 */
    -o-transform:scale(1.15); /* Opera */
     transform:scale(1.15);
  }

#SW, #PS{
    color: black;
}
  
  .Lien img {
    -webkit-transition: all .5s ease; /* Safari and Chrome */
    -moz-transition: all .5s ease; /* Firefox */
    -o-transition: all .5s ease; /* IE 9 */
    -ms-transition: all .5s ease; /* Opera */
    transition: all .5s ease;
    width: 275px;
    border-radius: 30px;
  }

  #FondAD{
      height: inherit;
  }
  
  .Lien-image {
    height: 275px;
    position:relative;
    overflow: hidden;
    border-radius: 30px;
  }
  
  /* text hidden */
  .Lien-image-text {
    color: #ffffff;
    text-align: center;
    font-family: "MontserratBold";
    letter-spacing: 1px;
    font-size: 1.7em;
    line-height: 1.2em;
    z-index: 1000;
    width: 275px;
    margin-top: 42.5%;
    position: absolute;
    opacity: 0;
    -webkit-transition: all .5s ease; /* Safari and Chrome */
    -moz-transition: all .5s ease; /* Firefox */
    -o-transition: all .5s ease; /* IE 9 */
    -ms-transition: all .5s ease; /* Opera */
    transition: all .5s ease;
  }
  
  /* text shown on hover */
  .Lien a:active .Lien-image-text, 
  .Lien a:hover .Lien-image-text{
    opacity: 1;
    -webkit-transition: all 1.5s ease; /* Safari and Chrome */
    -moz-transition: all 1.5s ease; /* Firefox */
    -o-transition: all 1.5s ease; /* IE 9 */
    -ms-transition: all 1.5s ease; /* Opera */
    transition: all 1.5s ease;
  }

footer{
    height: 100px;
    background-color: black;
    position: relative;
}

#logofooter{
    font-size: 20px;
color: white;
text-decoration: none;
font-family: 'MontserratBold',sans-serif;
margin-left: 20px;
letter-spacing: 3px;
padding-top: -4px;
margin-top: 32px;
display: inline-flex;
}

#mail{
    text-align: right;
    font-size: 13px;
    color: white;
    text-decoration: none;
    font-family: 'MontserratSemiBold',sans-serif;
    letter-spacing: 2px;
    margin-top: 40px;
    display: inline-flex;
    height: -moz-fit-content;
    float: right;
    margin-right: 15px;
}

@media screen and (max-device-width: 388px){
    #logofooter{
        margin-left: 15px;
    }
    #mail{
        margin-right: 8px;
    }
}

@media screen and (max-device-width: 360px){
    #logofooter{
        margin-left: 15px;
    }
    #mail{
        font-size: 11px;
        margin-right: 8px;
    }
}


footer a{
    margin-left: 5px;
}

footer a:hover{
    color: rgb(90, 90, 90);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:not(:hover){
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

#circle {
    mix-blend-mode: exclusion;
	position: absolute;
     border: solid 2px #fff;
	width: 20px; 
	height: 20px; 
    border-radius: 50%;
    background: none;
}

@media screen and (max-width: 992px){
    #scrolldesk{
        display: none;
    }
}


  #scrolldesk span {
    position: absolute;
    margin-top: 20px;
    margin-left: 60px;
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50px;
  }

  #scrolldesk span::before {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #fff;
    border-radius: 100%;
    -webkit-animation: sdb10 2s infinite;
    animation: sdb10 2s infinite;
    box-sizing: border-box;
  }

@media screen and (min-width: 992px){
    #scrolltel{
        display: none;
    }
}

@media screen and (max-width: 992px){
    #scrolltel span {
        position: absolute;
        width: 24px;
        height: 24px;
        margin-left: -12px;
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-animation: sdb05 1.5s infinite;
        animation: sdb05 1.5s infinite;
        box-sizing: border-box;
      }
}