/*--------------- RESET / ALL ---------------*/
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Libre Franklin";
  scroll-behavior: smooth;
  caret-color: #c00000;
  scroll-margin-top: 100px;
}

:root {
  --html-bg-clr: #460000;
  --body-a-hover: #460000;
  --scrollProgress-clr: #460000;

  --body-bg-clr: #fffbf5;
  --body-text-light-clr: #fffbf5;
  --title-text-clr: #fffbf5;
  --selection-text-clr: #fff;
  --projets-box-bg-clr: rgb(250, 250, 250);
  --cpt-bg-clr: #fff1da;
  --search-bg-clr: #fff1da;
  --footer-a-hover: #ffd698;

  --body-text-clr: #111;
  --body-border-clr: #111;
  --body-shadow-clr: #111;
  --cpt-text-clr: #111;
  --projets-box-shadow-clr: rgba(0, 0, 0, 0.1);

  --selection-bg-clr: #bd3838;
  --menu-text-before-clr: #ff6b6b;
  --red-clr-one: #c00000;
  --red-clr-two: #992121;
  --red-clr-three: #630000;
  --menu-textShadow-clr: #ff0000;
  --footer-a-bg-clr: #2b0000;
  --sideBtn-bg-clr: #992121;
  --sideBtn-hover-clr: #3e0000;
  --formations-bg-clr: rgba(255, 0, 0, 0.05);

  --cursor-clr: aqua;

  --cpt-boxShadow-clr: #888;
  --search-boxShadow-clr: #ccc;
  --projets-box-text-clr: #999;
  --circle-text-clr: #555;
}

/*--------------- DARK THEME ---------------*/

.dark-theme{
  --html-bg-clr: #310000;
  --body-a-hover: #540000;
  --scrollProgress-clr: #ffcaca;

  --body-bg-clr: #0e0000;
  --body-text-light-clr: #fffbf5;
  --title-text-clr: #0e0000;
  --selection-text-clr: #111;
  --projets-box-bg-clr: #fffbf5;
  --cpt-bg-clr: #1e1e1e;
  --search-bg-clr: #fff1da;
  --footer-a-hover: #ffd698;

  --body-text-clr: #fffbf5;
  --body-border-clr: #fffbf5;
  --body-shadow-clr: #111;
  --cpt-text-clr: #fffbf5;
  --projets-box-shadow-clr: rgba(0, 0, 0, 0.1);

  --selection-bg-clr: #ff5858;
  --menu-text-before-clr: #ff5858;
  --red-clr-one: #ff6666;
  --red-clr-two: #ff6666;
  --red-clr-three: #ff6666;
  --menu-textShadow-clr: #fa4c4c;
  --footer-a-bg-clr: #ff7474;
  --sideBtn-bg-clr: #ff7474;
  --sideBtn-hover-clr: #992121;
  --formations-bg-clr: #1e1e1e;

  --cursor-clr: red;

  --cpt-boxShadow-clr: #0e0000;
  --search-boxShadow-clr: #ccc;
  --projets-box-text-clr: #999;
  --circle-text-clr: #555;
}

.dark-button{
  position: fixed;
  top: 100px;
  right: 30px;
  padding: 8px;
  background-color: var(--sideBtn-bg-clr);
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
}

.dark-button:hover{
  background-color: var(--sideBtn-hover-clr);
}

.dark-button:hover::after{
  content: 'dark / light mode';
  text-align: center;
  font-size: 13px;
  position: absolute;
  left: 50%;
  bottom: -100%;
  transform: translateX(-50%);
  width: 80px;
  padding: 4px;
  border-radius: 5px;
  background-color: var(--sideBtn-hover-clr);
  color: var(--body-text-light-clr);
}

.dark-button i{
  font-size: 30px;
  color: var(--body-text-light-clr);
  transition: all 0.3s;
}
  
  










/*--------------- FONTS ---------------*/

@font-face {
  font-family: "Libre Franklin";
  src: url(../fonts/LibreFranklin-VariableFont_wght.ttf);
}

@font-face {
  font-family: "Roboto Black";
  src: url(../fonts/Roboto-Black.ttf);
}

@font-face {
  font-family: "Russo One";
  src: url(../fonts/Russo_One.ttf);
}







/*--------------- GENERAL ---------------*/
.clear{
  clear: both;
}

html{
  background-color: var(--html-bg-clr);
  scrollbar-width: none;
  overflow-x: hidden;
}

html *::selection{
  background-color: var(--selection-bg-clr);
  color: var(--selection-text-clr);
}

html,body{
  overscroll-behavior: none;
}

body *{
  z-index:0;
}

body{
  margin-bottom: 300px;
  /* margin-bottom: 20vh; */
  background-color: var(--body-bg-clr);
  color: var(--body-text-clr);
  box-shadow: 0px 10px 40px var(--body-shadow-clr);
}

h1#hideH1{
  display: none;
}

h1 img{
  transition: 0.3s;
  cursor: pointer;
}

h2{
  font-family: "Roboto Black";
  font-weight: bolder;
  letter-spacing: 0.125em;
  font-size: 2.5em;
  text-align: center;
}

h2:not(.accueil-title) span{
  display: block;
  font-size: 0.35em;
  color: var(--circle-text-clr);
  width: 100%;
  margin: auto;
}

h2:not(.accueil-title){
  position: relative;
  color: var(--body-text-clr);
  margin: 0.75em auto;
  display: block;
  width: fit-content;
  text-transform: uppercase;
}

h2:not(.accueil-title)::after{
  content: "";
  display: block;
  position : absolute;
  width: 100%;
  transform: scale(0);
  height: 3px;
  background-color: var(--body-bg-clr);
  transition: all 0.2s ease-in-out;
}

a{
  text-decoration: none;
}

a:hover{
  text-decoration: none;
}










/*--------------- HEADER ---------------*/

header{
  background-color: var(--body-bg-clr);
  padding: 0.2em;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0px 1px 1px var(--red-clr-one);
  text-align: center;
}

header img{
  height: 2.75em;
  margin-top: 0.2%;
  padding-left: 1.5%;
}


header .header-section{
  float: left;
  width: 100%;
}
#menu{
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 105vh;
    display: none;
    justify-content: flex-start;
    align-items: center;
    color: var(--red-clr-one);
    background-color: var(--body-bg-clr);
    overflow: hidden; 
    padding-left: 5vw;
}

#menu.active{
    display: flex;
}

#menu header{
  position: fixed;
  top: 0;
  left: 0;
}

#menu ul{
    position: relative;
    display: flex;
    flex-direction: column;
}

#menu ul li{
    list-style: none;
}

#menu ul li a{
    color: var(--red-clr-one);
    position: relative;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 3.75em;
    font-weight: bolder;
    transition-delay: 0.2s;

    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#menu ul li a:hover{
    color: var(--body-a-hover);
    transform: translateY(-20px);
    transition-delay: 0s;
}

#menu ul li a::before{
    content: attr(data-text);
    position: absolute;
    bottom: -5px;
    pointer-events: none;
    z-index: 1001;
    font-size: 0.25em;
    color: var(--menu-text-before-clr);
    font-weight: 700;
    letter-spacing: 100px;
    opacity: 0;
    text-shadow: 0 0 10px var(--menu-textShadow-clr),
    0 0 50px var(--menu-textShadow-clr);

    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#menu ul li a:hover::before{
    letter-spacing: 5px;
    opacity: 1;
    transition-delay: 0.2s;
}

#burger{
    position: fixed;
    top: 10px;
    right: 25px;
    width: 3.75em;
    height: 3.75em;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    transition: 0.3s;
    cursor: pointer;
}

#burger::before{
    content: '';
    position: absolute;
    width: 75%;
    height: 5%;
    background-color: var(--red-clr-one);
    z-index: 1002;
    transform: translateY(-14px);
    border-radius: 10px;
    box-shadow: 0 14px 0 var(--red-clr-one);

    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#burger::after{
    content: '';
    position: absolute;
    width: 75%;
    height: 5%;
    background-color: var(--red-clr-one);
    z-index: 1002;
    transform: translateY(14px);
    border-radius: 10px;

    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#burger.active::before{
    transform: translateY(0px) rotate(-45deg);
    box-shadow: none;
    background-image: url(../medias);
}

#burger.active::after{
    transform: translateY(0px) rotate(45deg);
}

#preloader{
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--body-bg-clr);
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 99999999999;
}

#preloader #loaderLogo{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#preloader #loaderLogo i{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  opacity: 0;
  background-color: var(--red-clr-two);
  animation: loader 1.25s ease-in-out infinite;
}

@keyframes loader {
  from{
    opacity: 1;
  }
  to{
    opacity: 0;
  }
}

#preloader #loaderLogo i:nth-child(1){
  animation-delay: 0s;
}
#preloader #loaderLogo i:nth-child(2){
  animation-delay: 0.25s;
}
#preloader #loaderLogo i:nth-child(3){
  animation-delay: 0.5s;
}
#preloader #loaderLogo i:nth-child(4){
  animation-delay: 0.75s;
}
#preloader #loaderLogo i:nth-child(5){
  animation-delay: 1s;
}

.searchDiv{
  position: fixed;
  top: 90px;
  left: 0;
  width: 100vw;
  z-index: 1001;
}

.searchForm{
  margin: 0 30px;
  float: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: 45px;
  height: 45px;
  padding: 7.5px;
  overflow: hidden;
  background-color: var(--search-bg-clr);
  box-shadow:  0px 0px 10px var(--search-boxShadow-clr);
  transition: 0.5s;

  display: none;
}

.searchForm input{
  width: 95%;
  height: 100%;
}

.searchForm input,
.searchForm button{
  border: none;
  outline: none;
  background: none;
}

.searchForm button i{
  font-size: 30px;
  color: var(--red-clr-two);
}

.searchForm button,
.searchForm button i{
    cursor: pointer;
}

.searchForm:focus-within,
.searchForm:hover{
  width: calc(100% - 60px);
}

.searchForm input:-webkit-autofill,
.searchForm input:-webkit-autofill:hover,
.searchForm input:-webkit-autofill:focus{
  box-shadow: 0 0 0px 1000px var(--search-bg-clr) inset;
  box-shadow: 0 0 0px 1000px var(--search-bg-clr) inset;
  box-shadow: 0 0 0px 1000px var(--search-bg-clr) inset;
}









/*--------------- ACCUEIL ---------------*/

.main-accueil{
  padding-bottom: 100px;
}

.main-accueil .title-div{
  width: 80%;
  margin: 8em 10% 4em;
}

.main-accueil div h2{
  text-align: left;
  font-size: 2.5em;
  color: var(--body-text-clr);
  -webkit-text-stroke:1px var(--body-border-clr);
}

.main-accueil div h2 span{
  position: relative;
  color: var(--title-text-clr);
  font-family: "Russo One";
  letter-spacing: 0.05em;
  font-size: 1.25em;
  -webkit-text-stroke:0.5px var(--body-border-clr);
}

.main-accueil div h2.br-desktop span::before{
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  color: var(--red-clr-two);
  -webkit-text-stroke:0.5px var(--red-clr-two);
  border-right: 3px solid var(--red-clr-two);
  overflow: hidden;

  animation: overlayTitleDesktop 15s linear infinite;
}

@keyframes overlayTitleDesktop {
  0%,95%,100%{
    width: 0%;
  }  
  15%,90%{
    width:100%;
  }
}

.main-accueil div h2.br-mobile #span-mobile-one::before{
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  color: var(--red-clr-two);
  -webkit-text-stroke:0.5px var(--red-clr-two);
  border-right: 3px solid var(--red-clr-two);
  overflow: hidden;

  animation: overlayTitleMobileOne 12s linear infinite;
}

@keyframes overlayTitleMobileOne {
  0%,95%,100%{
    width: 0%;
  }  
  15%,90%{
    width: 97%;
  }
}

.main-accueil div h2.br-mobile #span-mobile-two::before{
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  color: var(--red-clr-two);
  -webkit-text-stroke:0.5px var(--red-clr-two);
  border-right: 3px solid var(--red-clr-two);
  overflow: hidden;

  animation: overlayTitleMobileTwo 12s linear infinite;
}

@keyframes overlayTitleMobileTwo {
  0%,15%,90%,100%{
    width: 0%;
  }  
  30%,85%{
    width: 97%;
  }
}

.br-mobile{
  display: none;
}





/* .circle-effect{
  position: absolute;
  top: 170px;
  right: 15%;
  transform-origin: 0 75px;
  animation: Rotation 9s linear infinite;
}

@keyframes Rotation{
    0%
    {
       transform: rotate(360deg); 
    }
    100%
    {
        transform: rotate(0deg);
    }
}

.circle-effect span{
  position: absolute;
  text-transform: uppercase;
  color: var(--body-text-clr);
  opacity: 0.3;
  font-weight: 700;
  transform-origin: 0 75px;
  transform: rotate(calc(15deg * var(--deg)));
} */




.scroll-down-arrow{
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-down-arrow a{
  text-decoration: none;
  margin: 6em auto 5em;
}

.scroll-down-arrow i{
  font-size: 4em;
  color: var(--red-clr-three);
}

.scroll-down-arrow a:hover{
  animation: arrowGrow 1.5s infinite;
}

@keyframes arrowGrow {
  0%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.5);
  }
  100%{
    transform: scale(1);
  }

}

.accueil-content{
  width: 100vw;
}

.accueil-content .slide-section{
  width: 100vw;
  transform: translateX(-100%);
  transition: transform 1.4s ease-in-out;
}

.accueil-content .slide-section:nth-of-type(even){
  transform: translateX(100%);
}

.accueil-content .slide-section.showSlides{
  transform: translateX(0);
}

.accueil-content section{
  float: left;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.accueil-content .content-section{
  width: 53vw;
  text-align: left;
  gap: 1.5em;
  align-items: flex-start;
  flex-direction: column;
  padding: 0 7.5vw 0 7.5vw;
}

.accueil-content .content-section h3{
  font-size: 1.7em;
  font-weight: bolder;
}

.accueil-content .arrow-section{
  width: 4vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.accueil-content .arrow-section i{
  position: absolute;
  font-size: 3.5em;
  color: var(--red-clr-three);
  transition: 1s all;
}

.accueil-content .btn-section{
  width: 41vw;
}

.accueil-content section a{
  position: absolute;
  padding: 0 25px;
  height: 55px;
  text-transform: uppercase;
  text-align: center;
  color: var(--body-text-clr);
  background-color: var(--body-bg-clr);
  font-size: 1.5em;
  letter-spacing: 4px;
  line-height: 60px;
}

.accueil-content .btn-section a::before,
.accueil-content .btn-section a::after,
.accueil-content .btn-section span::before,
.accueil-content .btn-section span::after{
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--red-clr-three);
  transition: 1s;
  mix-blend-mode: hue;
}

.accueil-content .btn-section a::before{
  top: -3px;
  left: -3px;
}

.accueil-content .btn-section a::after{
  top: -3px;
  right: -3px;
}

.accueil-content .btn-section span::before{
  bottom: -3px;
  left: -3px;
}

.accueil-content .btn-section span::after{
  bottom: -3px;
  right: -3px;
}

.accueil-content .btn-section a:hover::before,
.accueil-content .btn-section a:hover::after,
.accueil-content .btn-section a:hover span::before,
.accueil-content .btn-section a:hover span::after{
  width: calc(100% / 2.05);
  height: calc(100% / 2.1);
}





.accueil-content-mobile{
  width: 100vw;
  display: none;
}

.accueil-content section{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.accueil-content-mobile .content-section-mobile{
  width: 100%;
  gap: 1.5em;
  text-align: left;
  justify-content: flex-start;
  padding: 80px 5vw 30px 10vw;
}

.accueil-content-mobile .btn-section-mobile{
  width: 100%;
  text-align: center;
}

.accueil-content-mobile section a{
  position: relative;
  padding: 10px 25px;
  height: 55px;
  text-transform: uppercase;
  text-align: center;
  color: var(--body-text-clr);
  background-color: var(--body-bg-clr);
  font-size: 1.2em;
  letter-spacing: 4px;
  line-height: 60px;
}

.accueil-content-mobile .btn-section-mobile a::before,
.accueil-content-mobile .btn-section-mobile a::after,
.accueil-content-mobile .btn-section-mobile span::before,
.accueil-content-mobile .btn-section-mobile span::after{
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--red-clr-three);
  transition: 1s;
  mix-blend-mode: hue;
}

.accueil-content-mobile .btn-section-mobile a::before{
  top: -3px;
  left: -3px;
}

.accueil-content-mobile .btn-section-mobile a::after{
  top: -3px;
  right: -3px;
}

.accueil-content-mobile .btn-section-mobile span::before{
  bottom: -3px;
  left: -3px;
}

.accueil-content-mobile .btn-section-mobile span::after{
  bottom: -3px;
  right: -3px;
}

.accueil-content-mobile .btn-section-mobile a:hover::before,
.accueil-content-mobile .btn-section-mobile a:hover::after,
.accueil-content-mobile .btn-section-mobile a:hover span::before,
.accueil-content-mobile .btn-section-mobile a:hover span::after{
  width: calc(100% / 2.05);
  height: calc(100% / 2.1);
}








/*--------------- COMPETENCES ---------------*/

.competences{
  padding-bottom: 100px;
}

.competences h3{
  font-size: 1.3em;
  letter-spacing: 6px;
  text-align: center;
  margin-top: 75px;
}

.competences .cptContainer{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100vw;
}

.competences .cptContainer .cptBox{
  position: relative;
  width: 15vw;
  height: 22vw;
  margin: 2vw 8vw;
  background-color: var(--cpt-bg-clr);
  box-shadow: 0 0 40px var(--cpt-boxShadow-clr);
  border-radius: 20px;
}

.competences .cptContainer .cptBox::after{
  content: attr(data-text-cpt-time);  
  text-transform: uppercase;
  position: absolute;
  bottom: 20px;
  left: 0px;
  font-size: 1.8vw;
  width: 100%;
  text-align: center;
  font-weight: 900;
  color: var(--cpt-clr);
  font-style: italic;
  opacity: 1;
}

.competences .cptContainer .cptBox .cptName{
  position: absolute;
  top: 25px;
  left: 0;
  text-align: center;
  color: var(--cpt-text-clr);
  width: 100%;
  transform: translate3d(0,0,75px);
  transition: 0.5s;
  font-size: 1.8vw;
  text-transform: uppercase;
  opacity: 1;
  z-index: 10;
}

.competences .cptContainer .cptBox .cptImg{
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 9vw;
  transition: 0.5s;
  transform: translate3d(-50%,-50%,50px);
  z-index: 11;
}












/*--------------- FOOTER ---------------*/

.footer-distributed {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 300px;
  z-index: -10;
  background-color: var(--html-bg-clr);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  text-align: center;
  font: normal 16px sans-serif;
  padding: 30px 50px 15px;
}

.footer-distributed #logo-footer a img{
  width: 70px;
}

.footer-distributed .footer-list span {
  color: var(--body-text-light-clr);
  font-size: 0.875em;
  margin: 0;
}

.footer-distributed .footer-list span:not(.footer-links){
  line-height: 1.5;
}
/* Footer links */

.footer-distributed span.footer-links {
  font-size: 18px;
  font-weight: bold;
  color: var(--body-text-light-clr);
  margin: 0 0 10px;
  padding: 0;
}

.footer-distributed span.footer-links:hover{
  text-decoration: none;
}

.footer-distributed span.footer-links a {
  display: inline-block;
  text-decoration: none;
  margin: 0 10px;
  line-height: 1.9;
  color: inherit;
  transition: all 0.3s;
}

.footer-distributed span.footer-links a:hover{
  color: var(--footer-a-hover);
  transform: scale(1.15);
  -webkit-transform:scale(1.15);
}

.footer-distributed .footer-socials {
  max-width: 220px;
  margin: 0 auto 1em auto;
}

.footer-distributed .footer-socials a {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-color: var(--footer-a-bg-clr);
  border-radius: 3px;
  font-size: 24px;
  color: var(--body-text-light-clr);
  text-align: center;
  line-height: 48px;
  margin-left: 4px;
  transition:all 0.3s;
}

.footer-distributed .footer-socials a:hover{
  color: var(--footer-a-hover);
  transform:scale(1.1); 
  -webkit-transform:scale(1.1);
}










/*--------------- CURSOR ---------------*/

.cursor{
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: none;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 999999999999;
}

.cursor-click{
  border: 2px solid var(--cursor-clr);
  width: 20px;
  height: 20px;
  animation: cursor-click 0.25s forwards;
}

@keyframes cursor-click {
  from{
    transform: scale(1);
    opacity: 1;
  }
  to{
    transform: scale(3.5);
    opacity: 0;
  }
  
}










/*--------------- MAIN PROJETS ---------------*/

#projets-main{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 100px;
}

.projets-container{
  position: relative;
  display: flex;
  flex-direction: column;
}

.projets-container a.proj:first-of-type{
  animation: fadeInProj 1.5s linear forwards;
}

.projets-container a.proj{
  animation: fadeInProj 1.5s linear forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.projets-container a.proj:last-of-type{
  animation: fadeInProj 1.5s linear forwards;
  animation-delay: 1s;
}

@keyframes fadeInProj {
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

.projets-container .projets-box{
  position: relative;
  margin: 15px auto;
  width: 500px;
  height: 100px;
  background-color: var(--projets-box-bg-clr);
  box-shadow: 5px 0px 15px var(--projets-box-shadow-clr);
  z-index: 11;
  cursor: pointer;
}

.projets-container .projets-box::before{
  content: '';
  position: absolute;
  width: 5px;
  height: 100%;
  background: var(--clr);
  transition: 0.3s ease-in-out;
}

.projets-container .projets-box:hover::before{
  width: 100%;
}

.projets-container .projets-box .projets-content{
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.projets-container .projets-box .projets-content .projets-icon{
  position: relative;
  min-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projets-container .projets-box .projets-content .projets-icon i{
  font-size: 2.5em;
  color: var(--clr);
  transition: 0.3s ease-in-out;
}

.projets-container .projets-box:hover .projets-content .projets-icon i{
  color: var(--body-text-light-clr);
}

.projets-container .projets-box .projets-content .projets-text h3{
  text-transform: uppercase; 
  color: var(--clr);
  transition: 0.3s ease-in-out;
}

.projets-container .projets-box .projets-content .projets-text p{
  color: var(--projets-box-text-clr);
  transition: 0.3s ease-in-out;
}

.projets-container .projets-box:hover .projets-content .projets-text h3,
.projets-container .projets-box:hover .projets-content .projets-text p{
  color: var(--body-text-light-clr);
}

.projets-container .projet-click{
  width: 50vw;
  margin: 0 auto 30px auto;
  display: none;
  z-index: 10;
}

.projets-container .projet-click.hidden-proj{
  display: block;
  animation: showProj 0.5s linear;
}

@keyframes showProj {
  0%{
    transform: translateY(-115px);
  }
  100%{
    transform: translateY(0px);
  }
  
}

.projets-container .projet-click .projx h3{
  text-align: center;
  font-size: 1.4em;  
  margin: 1em auto;
  color: var(--clr);
}

.projets-container .projet-click .projx{
  margin-bottom: 4em;
}

.projets-container .projet-click .projx p{
  text-align: justify;
}

.projets-container .projet-click .projx p .sujetHR{
  position: relative;
  display: block;
  width: 20%;
  height: 2px;
  margin: 16px 0;
  background-color: var(--clr);
  border-radius: 10px;
}

.projets-container .projet-click .appercuProj{
  display: block;
  padding: 12px 16px;
  width: fit-content;
  margin: 16px auto;
  background-color: var(--clr);
  border-radius: 5px;
  color: #fffbf5;
  transition: 0.3s;
}

.projets-container .projet-click .appercuProj:hover{
  scale: 1.1;
  transition: 0.3s;
}

.projets-container a.proj{
  z-index: 11;
}

.projets-container .projet-click .projx-icons{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px auto 40px auto;
}

.projets-container .projet-click .projx-icons span a p{
  text-align: center;
  color: var(--body-text-clr);
}

.projets-container .projet-click .projx-icons span a p i{
  font-size: 2.25em;
  margin-bottom: 10px;
  color: var(--clr);
}

.projets-container .projet-click .projx-icons span a:hover p i{
  transform: scale(1.5);
  transition: 0.3s;
}

.projets-container .projet-click .projx-icons span a:hover p{
  color: var(--clr);
  font-weight: bolder;
}








/*--------------- CONTACT ---------------*/

#mainContact{
  padding: 2em 0 5em 0;
}

#mainContact form{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 25px;
}

.inputBox{
  position: relative;
  width: 350px;
}

.inputBox input,textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--body-border-clr);
  background: transparent;
  border-radius: 5px;
  outline: none;
  color: var(--body-text-clr);
  font-size: 1em;
}

.inputBox label{
  position: absolute;
  left: 0;
  padding: 12px;
  pointer-events: none;
  font-size: 1em;
  color: var(--body-text-clr);
  text-transform: uppercase;
  transition: 0.3s;
}

.inputBox input:valid ~ label,
.inputBox input:focus ~ label,
.inputBox textarea:valid ~ label,
.inputBox textarea:focus ~ label{
  background: var(--red-clr-one);
  border-radius: 2px;
  color: var(--body-text-light-clr);
  transform: translateX(11px) translateY(-7px);
  font-size: 0.70em;
  font-weight: bolder;
  letter-spacing: 0.3em;
  padding: 2px 12px;
}

.inputBox input:valid,
.inputBox input:focus,
.inputBox textarea:valid,
.inputBox textarea:focus{
  border: 2px solid var(--red-clr-one);
}

.inputBox input:hover,
.inputBox textarea:hover{
  border: 2px solid var(--red-clr-one);
}

.inputBox input:hover ~ label,
.inputBox textarea:hover ~ label{
  color: var(--red-clr-one);
  transform: translateX(11px) translateY(-7px);
  font-size: 0.70em;
  font-weight: bolder;
  letter-spacing: 0.3em;
  padding: 2px 12px;
  background: var(--body-bg-clr);
  border-left: 2px solid var(--red-clr-one) ;
  border-right: 2px solid var(--red-clr-one) ;
}

.inputBox input:-webkit-autofill,
.inputBox input:-webkit-autofill:hover,
.inputBox input:-webkit-autofill:focus{
  box-shadow: 0 0 0px 1000px var(--body-bg-clr) inset;
  box-shadow: 0 0 0px 1000px var(--body-bg-clr) inset;
  box-shadow: 0 0 0px 1000px var(--body-bg-clr) inset;
}

#mainContact form button{
  width: fit-content;
  border: 2px solid var(--body-border-clr);
  border-radius: 50px;
  outline: none;
  transition: 0.3s;
  padding: 10px 10px;
  background: transparent;
  cursor: pointer;
}

#mainContact form button i{
  font-size: 2em;
  color: var(--body-text-clr);
  transform: translateX(-3px);
  transition: 0.3s;
}

#mainContact form button span{
  font-size: 0;
  color: var(--red-clr-one);
  text-transform: uppercase;
  font-weight: bolder;
  transition: 0.3s;
  transition-delay: 0.1s;
}

#mainContact form button:hover{
  border: 2px solid var(--red-clr-one);
  width: fit-content;
  border-radius: 5px;
}

#mainContact form button:hover i{
  transform: translateX(0);
  color: var(--red-clr-one);
  
}

#mainContact form button:hover span{
  font-size: 1.5em;
  transition: 0.3s;
}










/*--------------- A PROPOS ---------------*/

.mainAPropos{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  width: 60vw;
  margin: 5vw auto;
  padding: 20px 0 100px;
}

.mainAPropos img{
  width: 35%;
}

.mainAPropos .sectionTextAPropos{
  text-align: justify;
}

.mainAPropos .sectionTextAPropos h3{
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--red-clr-two);
}

.mainAPropos .sectionTextAPropos div{
  width: 10%;
  height: 2px;
  background-color: var(--red-clr-two);
  margin: 12px 0;
}










/*--------------- FORMATIONS ---------------*/

.mainFormations{
  display: flex;
  justify-content: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 15px;
  width: 60vw;
  margin: 5vw auto;
  padding: 20px 0 100px;
}

.mainFormations div{
  width: 100%;
  padding: 30px;
  background-color: var(--formations-bg-clr);
  border-radius: 20px;
  margin-bottom: 50px;
  animation: animeFormations 1s ease-in-out forwards;
}

@keyframes animeFormations {
  from{
    transform: translateX(-100vw);
  }
  to{
    transform: translateX(0);
  }
}

.mainFormations img{
  height: 10vw;
}

.mainFormations .nameFormation{
  font-weight: bold;
}

/* .mainFormations span{
  width: 100%;
  height: 2px;
  background-color: #992121;
  margin-bottom: 30px;
} */

.mainFormations a:not(.siteFormations){
  color: var(--red-clr-two); 
  text-decoration: none;
  transition: 0.3s;
}

.siteFormations{
  display: block;
  position: relative;
  width: 220px;
  height: 60px;
  line-height: 60px;
	text-align: center;
  text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--body-text-clr);
  margin: 30px auto;
  text-decoration: none;
}

.siteFormations:hover{
  color: var(--body-text-clr);
}

.siteFormations svg, .siteFormations svg rect{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	fill: transparent;
}

.siteFormations svg rect{
  stroke: var(--red-clr-three);
	stroke-width: 4;
	transition: 1s;
	stroke-dasharray: 150, 425;
	stroke-dashoffset: 260;
}

.siteFormations:hover svg rect{
	stroke-dasharray: 600, 600;	
	stroke-dashoffset: 0;
}










/*--------------- LAPTOP ASSET ---------------*/

#laptopContainer{
  width: 50vw;
  height: auto;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  transition: 0.75s;
}

#laptopContainer.activeFullScreen{
  width: 85vw;
}

#laptop{
  width: 80%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#screenBorder{
  width: 90%;
  height: 80%;
  background-color: #111;
  border-radius: 1.5vw 1.5vw 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

#screenBorder::after{
  content: '';
  position: absolute;
  top: 1.25%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  width: 1.75%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

#screenDefault{
  width: 92.5%;
  height: 80%;
  background: #222;
  background: linear-gradient(135deg, rgba(17,17,17,1) 0%, rgba(51,51,51,1) 69%, rgba(17,17,17,1) 100%);
}

#screenDefault.active{
  display: none;
}

#screenVideo{
  display: none;
  width: 92.5%;
  height: 80%;
  background-color: #460000;
}

#screenVideo.active{
  display: block;
}

#playButton{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#logoPlay{
  font-size: 4vw;
  color: #ccc;
  cursor: pointer;
}

#logoPlay.active{
  display: none;
}

#controlsBar{
  width: 92.5%;
  height: 10%;
  background-color: #444;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

#playPause{
  width: 4%;
}

#iconPlay{
  color: #ccc;
  font-size: 1.5vw;
  cursor: pointer;
}

#iconPlay.active{
  display: none;
}

#iconPause{
  display: none;
  color: #ccc;
  font-size: 1.5vw;
  cursor: pointer;
}

#iconPause.active{
  display: block;
}

#timeBar{
  background-color: #ddd;
  width: 60%;
  height: 25%;
  border-radius: 200px;
  position: relative;
}

#timeBar::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-color: #222;
  width: 33%;
  height: 100%;
  border-radius: 200px;
}

#timeBar::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 33%;
  background-color: #fff;
  width: auto;
  height: 130%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 0px 10px #111;
  z-index: 0;
}

#timeCode{
  position: absolute;
  left: 33%;
  top: -425%;
  background-color: #555;
  width: fit-content;
  height: fit-content;
  padding: 0.5vw;
  border-radius: 0.3vw;
  box-shadow: 0px 0px 10px #222;
  transform: translateX(-50%);
  z-index: 2;
}

#timeCode::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  background-color: #555;
  width: 30%;
  height: auto;
  aspect-ratio: 1/1;
  transform: translate(-50%, 50%) rotate(45deg);
  z-index: -1; 
  background-clip: content-box;
}

#timeCodeText{
  width: 10%;
  font-size: 0.9vw;
  color: #fff;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#fullTime p{
  width: fit-content;
  height: fit-content;
  font-size: 1vw;
  color: #ccc;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#sound{
  min-width: 5%;
}

#iconVolumeUp{
  color: #ccc;
  font-size: 1.5vw;
  cursor: pointer;
}

#iconVolumeUp.active{
  display: none;
}

#iconVolumeDown{
  display: none;
  color: #ccc;
  font-size: 1.5vw;
  cursor: pointer;
}

#iconVolumeDown.active{
  display: block;
}

#soundBars{
  display: flex;
  justify-content: center;
  align-items: end;
  width: 7%;
  gap: 0.2vw;
  height: 50%;
  width: fit-content;
}

.soundBar{
  background-color: #ccc;
  width: 0.3vw;
  display: block;
}

.soundBar:nth-child(1){
  height: 10%;
}
.soundBar:nth-child(2){
  height: 25%;
}
.soundBar:nth-child(3){
  height: 40%;
}
.soundBar:nth-child(4){
  height: 55%;
}
.soundBar:nth-child(5){
  height: 70%;
  background-color: #777;
}
.soundBar:nth-child(6){
  height: 85%;
  background-color: #777;
}

#iconFullScreen{
  width: 7%;
  color: #ccc;
  font-size: 1.5vw;
  cursor: pointer;
}

#iconFullScreen.active{
  display: none;
}

#iconNotFullScreen{
  display: none;
  width: 7%;
  color: #ccc;
  font-size: 1.5vw;
  cursor: pointer;
}

#iconNotFullScreen.active{
  display: block;
}

#keyboard{
  width: 100%;
  height: 3%;
  background: #aaa;
  background: linear-gradient(135deg, rgba(204,204,204,1) 0%, rgba(170,170,170,1) 15%, rgba(204,204,204,1) 50%, rgba(170,170,170,1) 85%, rgba(204,204,204,1) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

#openLaptop{
  width: 15%;
  height: 20%;
  background-color: #ccc;
  border-radius: 200px;
  box-shadow: 0px 3px 5px #111;
  transform: translateY(-100%);
}

#shadowKeyboard{
  width: 100%;
  height: 1.5%;
  filter: drop-shadow(0px 5px 5px rgba(50, 50, 50, 1));
}

#underKeyboard{
  width: 100%;
  height: 100%;
  clip-path: polygon(3% 100%, 97% 100%, 100% 0, 0 0);
  background-color: #666;
}










/*--------------- SCROLL UP ---------------*/

.scrollup{
  position: fixed;
  width: 40px;
  height: 40px;
  right: 2em;
  bottom: -20%;
  background-color: var(--sideBtn-bg-clr);
  border-radius: 25%;
  z-index: 999;
  transition: .4s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scrollup.clickScroll{
  transform: scale(1.2);
}

.scrollup:hover{
  background-color: var(--sideBtn-hover-clr);
}

.scrollup i{
  font-size: 2em;
  color: var(--body-text-light-clr);
}

/* Show scroll */
.scrollup.show-scroll{
  bottom: 5.2em;
}










/*--------------- SCROLL PROGRESS ---------------*/

.scrollProgress{
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--scrollProgress-clr);
  bottom: -2px;
  left: 0;
  transition: 0.2s;
}










/*--------------- SCROLL BAR ---------------*/

::-webkit-scrollbar{
  width: 0em;
  background-color: #2b0000;
  border-radius: .5em;
}

::-webkit-scrollbar-thumb{
  background-color: #992121;
  border-radius: .5em;
}

::-webkit-scrollbar-thumb:hover{
  background-color: #630000;
}