
/*    =======================================    
      < -----------  BASIQUE  -----------  >  
      =======================================    */


*, *:before, *:after {
    box-sizing: border-box; 
    outline:none;
}

.clear { clear:both; }

body {
	background-color:#090f12;
	margin: 0; padding: 0;
    width:100%; height:100%;
}

canvas { 
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;

}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: -5;
}

#chargement {
    position: fixed;
    left: 0;
    top: 0;
    width:100vw; 
    height:100vh;
    background-color: #090f12;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;

}

#chargement img {
    width: 160px;
}


@media (min-aspect-ratio: 16/9) {
    #myVideo {
        width:100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    #myVideo { 
        width:auto;
        height: 100%;
    }
}

a { text-decoration: none;
    list-style-type: none; }

main {
	width:100%; 
	max-width:900px;
	margin: 0 auto;
}



/*   < -----------  TYPOGRAPHIES  -----------  >  */


@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
         url('../fonts/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-ExtraLight.woff2') format('woff2'),
         url('../fonts/Montserrat-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2'),
         url('../fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bluu Next Titling';
    src: url('../fonts/BluuNext-Titling.woff2') format('woff2'),
         url('../fonts/BluuNext-Titling.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




/*    =======================================    
        < -----------  MENU  -----------  >  
      =======================================    */


.menu {
    padding:0;
    margin: 0;
    top: 180px;
    left: 20px;
    height: 500px;
    width: 50px;
    position: fixed;
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
    align-items: center;
}

.menu li {
    list-style-type: none ;
}

.menu a {
    font-family: Montserrat;
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    margin-top: 10px;
    margin-bottom: 10px;
    color:white;
    text-decoration:none;
    writing-mode: vertical-rl;
    text-orientation: sideways; 
    transform: rotate(-180deg);         
    text-align: center;
}

.menuPortfolio_lien:hover{
    text-decoration:line-through;
    text-decoration-style: solid;
    text-decoration-color: #0ae392;
    text-decoration-thickness: 0.2rem;
}

.menumobile {
    display: none;
    top: 0;
    left: 0;
    margin: 0;
    width: 50%;
    height: 100%;
    padding: 0;
    position: fixed;
    z-index: 20;
}

.menumobile img{
    margin-top: 20px;
    margin-left: 20px;
}

.menumobile li {
    list-style-type: none ;
    display: none;
    background-color: #e84649;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 20px;

    animation-name: anim;
    animation-duration: 800ms;
    animation-delay: 0;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1

}

.menumobile a {
    font-family: Montserrat;
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    font-size: 20px;
    color:white;
    text-decoration:none;       
    text-align: center;
    width: 50%;
    height: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 40px;
}

.menumobile li:hover{
    background-color: white;
}

.menumobile a:hover{
    color: #e84649;
}

@media screen and (max-width: 1000px) {
  .menumobile {
    display: block;

  }

  .menu {
    display: none;

  }


}




/*    =======================================    
    < -----------  SITE : TITRE  -----------  >  
      =======================================    */


.titre {
    width: 500px;
    height: 300px;
    margin-top: 30vh;
    
}

.logo img{
    position: absolute;
    width: 80px;
    top: 30px;
    right: 30px;
}

h1 { 
    margin: 0;
    font-family: 'Bluu Next Titling';
    font-weight: normal;
    font-style: normal;
    font-size: 6em;
    color: white;


}

h2 { 
    margin: 0;
    font-family: 'Montserrat';
    font-weight: normal;
    font-style: normal;
    font-size: 5em;
    color: white;
    letter-spacing: 1rem;

}

@media (max-width: 1000px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .titre {
    margin-left: 10vw;
  }
}

@keyframes anim{
    0%{
        transform: translateX(-8vw);
        opacity: 0;
    },
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}

.titre {

    animation-name: anim;
    animation-duration: 1500ms;
    animation-delay: 0;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1

}

.ligne_haut {
    width: 7rem;
    height: 5pt;
    margin-top: 10px;
    margin-left: 0;
    border-radius: 6pt;
    border: 0;
    background-color: #ff486b;
}

.ligne_bas {
    width: 7rem;
    height: 5pt;
    margin-top: 10px;
    margin-left: 30px;
    border-radius: 6pt;
    border: 0;
    background-color: #ff486b;
}

h4 { 
    margin: 0;
    font-family: 'Montserrat';
    font-weight: 200;
    font-style: normal;
    font-size: 2rem;
    color: #ffa9b9;
    padding-top: 6%;
}

.cercle img{
    position: absolute;
    margin: 0;
    width: 200px;
    top: 300px;
    right: 230px;
    animation: rotation 4s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

@media (max-width: 1000px) {
  h4 {
    font-size: 1rem;
  }

  .cercle img {
    opacity: 0;
  }
}




/*      =======================================    
   < -----------  SITE : INTRODUCTION  -----------  >  
        =======================================    */


h6 {
    font-family: 'Bluu Next Titling';
    font-weight: normal;
    font-style: normal;
    color: #0ae392;
    font-size: 5.5rem;
    margin-top: 50vh;
    margin-bottom: 0;
    left: 10vw;
}

h7 {
    font-family: 'Bluu Next Titling';
    font-weight: normal;
    font-style: normal;
    color: #8071e3;
    top: 2px;
    font-size: 5.5rem;
    left: 10vw;
}

@media (max-width: 1000px) {

  h6 {
    font-size: 4rem;
    margin-left: 10vw;
  }

  h7 {
    font-size: 4rem;
  }

  .introduction2 {
    margin-left: 10vw;
  }

}




/*    =======================================    
   < -----------  SITE : GALLERIE  -----------  >  
      =======================================    */


.titre_projets {
    margin-top: 500px;
}

 .titre_projets h1 {
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Bluu Next Titling';
    font-weight: normal;
    font-style: normal;
    color: white;
    font-size: 3.5rem;
}

@media (max-width: 1000px) {
  .titre_projets h1 {
    font-size: 2rem;
  }
}

.titre_projets h4 {
    font-size: 2rem;
    color: #e84649;
    text-align: center;
    padding: 0;
}

@media (max-width: 1000px) {
  .titre_projets h4 {
    font-size: 1rem;
  }
}

.gallerie {
    margin-top: 10vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

 .gallerie article {
    padding: 20px;
    width:95%;
    max-width:300px;
}

.gallerie img{
    width: 100%;
    filter: brightness(0.7) blur(1px) grayscale(80%);
    transition: 0.4s;
    -webkit-transform: scale(1.25);
    transform: scale(1);
    object-fit: cover;
 }

 .gallerie img:hover {
    filter: brightness(0.8) blur(0) grayscale(0);
    transition-duration: 1s;
    transition: 0.4s;
    -webkit-transform: scale(1);
    transform: scale(0.9);
 }




 /*    =======================================    
   < -----------  PAGE : GALLERIE  -----------  >  
      =======================================    */


.img_gallerie img{
  position: absolute;
  z-index: 4;
  margin-top: 17vh;
  right: 0;
  width: 400px;
  height: auto;
  transform: translate(-50%, -50%);

}

@media (max-width: 1000px) {
  .img_gallerie img {
    width: 200px;
    margin-top: 45vh;
  }
}

.presentation h2 {
    z-index: 4;
    top: 12%;
    left: 18vw;
    margin: 0;
    font-family: 'Bluu Next Titling';
    font-weight: normal;
    font-style: normal;
    font-size: 6vw;
    color: white;
    position: absolute;
}

.presentation h3 {
    font-family: 'Montserrat';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    color: #e84649;
    letter-spacing: 2px;
    word-spacing: 4px;
}

.presentation {
  margin-top: 40vh;
  margin-left: 0;
  margin-bottom: 7vh;
  width: 500px;
}

.presentation p {
  font-family: 'Montserrat';
  font-weight: 200;
  font-style: normal;
  font-size: 18px;

}

@media (max-width: 1000px) {
  .presentation p {
    font-size: 10px;
  }

  .presentation {
    margin-top: 20vh;
    width: 300px;
    height: 400px;
  }
}

.PDF {
  display: inline-block;
  border-radius: 10px;
  border: 4px double #666461;
  color: #666461;
  text-align: center;
  font-size: 18px;
  padding: 10px;
  width: 150px;
  transition: all 0.5s;
  cursor: pointer;
  margin-left: 0;
  font-family: Montserrat;
}


.PDF:hover {
  background-color: #e84649;
  border: 4px double white;
  color: white;
}



/*    =======================================    
    < -----------  SITE : ABOUT ME  -----------  >  
      =======================================    */


.qui h6{
    font-family: 'Bluu Next Titling';
    font-weight: normal;
    font-style: normal;
    color: #e84649;
    font-size: 6vw;
    margin-top: 50vh;
    margin-bottom: 0;
    text-align: center;
}

.passions h6{
    font-family: 'Bluu Next Titling';
    font-weight: normal;
    font-style: normal;
    color: #e84649;
    font-size: 6vw;
    margin-top: 40vh;
    margin-bottom: 0;
    text-align: center;
}

.para p{
 
    height: auto;
    margin-top: 40px;
    font-size: 18px;
    text-align: center;
}

.para {
    margin: auto;
    width: 500px;
    height: 200px; 
}

.competences {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5vh;
    
}

.competences article {
    padding: 10px;
    width: 200px;
}

.passion {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10vh;
}

.passion article {
    padding: 10px;
    width: 300px;
}

.competences img{
    width: 80%;
    padding: 20px;
    -webkit-transform: scale(1.25);
    transform: scale(1);
    transition: 0.4s;
    
 }

 .passion img{
    width: 70%;
    padding: 20px;
    -webkit-transform: scale(1.25);
    transform: scale(1);
    transition: 0.4s;
    
 }

.competences img:hover{
    -webkit-transform: scale(1) rotate(-8deg);
    transform: scale(1.2) rotate(-8deg);
    transition-duration: 1s;
    transition: 0.4s;
    
 }

 .passion img:hover{
    -webkit-transform: scale(1) rotate(-8deg);
    transform: scale(1.2) rotate(-8deg);
    transition-duration: 1s;
    transition: 0.4s;
    
 }

 @media (max-width: 1000px) {
  .qui h6 {
    margin-left: 0;
    font-size: 9vw;
  }

  .passions h6 {
    margin-left: 0;
    font-size: 9vw;
  }

  .para p {
    font-size: 14px;
  }


}

 @media (max-width: 600px) {

    .para p {
    font-size: 12px;
  }

  .para {
    margin-top: 10px;
    width: 300px;
  }

  .competences img {
    width: 50%;
  }

}




/*    =======================================    
   < -----------  SITE : FOOTER  -----------  >  
      =======================================    */


.footer-content{

    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: absolute;
    width: 90%;
    height: 30%;
    left: 4vw;
    bottom: 0px;
    z-index: 30;
    padding-top: 40px;
    top: 770vh;
}

h5 {
    font-family: 'Bluu Next Titling';
    font-size: 45px;
    color: white;
    margin: 5px;
}

p {
    font-family: 'Montserrat';
    font-weight: 200;
    font-style: normal;
    font-size: 18px;
    color: white;
    margin: 5px;
}

















