* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none;
  scroll-behavior: smooth;
}

html {
  height: -webkit-fill-available;
}

::selection {
  color: rgb(0, 0, 0);
  background: rgb(255, 255, 255);
}

.show-transition {
  animation: portfolio-down 2s cubic-bezier(0,.83,.3,1);
  animation-delay: calc(var(--animation-order) * 200ms);
  animation-fill-mode: both;
}

@keyframes portfolio-down {
  0%{
    opacity: 0;
    transform: translateY(150px);
  }

  100%{
    opacity: 1;
    transform: translateY(0px);
  }
}

.fade-in {
  -webkit-animation-name: fadeInOpacity;
          animation-name: fadeInOpacity;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  -webkit-animation-duration: 0.5s;
          animation-duration:0.5s;
}

@-webkit-keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@font-face {
  font-family: 'ClashDisplay-Bold';
  src: url('../fonts/ClashDisplay-Bold.woff2') format('woff2'),
       url('../fonts/ClashDisplay-Bold.woff') format('woff'),
       url('../fonts/ClashDisplay-Bold.ttf') format('truetype');
       font-weight: 700;
       font-display: swap;
       font-style: Bold;
}

@font-face {
font-family: 'ClashDisplay-Semibold';
src: url('../fonts/ClashDisplay-Semibold.woff2') format('woff2'),
     url('../fonts/ClashDisplay-Semibold.woff') format('woff'),
     url('../fonts/ClashDisplay-Semibold.ttf') format('truetype');
     font-weight: 700;
     font-display: swap;
     font-style: Semibold;}

@font-face {
font-family: 'ClashDisplay-Medium';
src: url('../fonts/ClashDisplay-Medium.woff2') format('woff2'),
      url('../fonts/ClashDisplay-Medium.woff') format('woff'),
      url('../fonts/ClashDisplay-Medium.ttf') format('truetype');
      font-weight: 400;
      font-display: swap;
      font-style: Medium;}


      @font-face {
        font-family: 'ClashDisplay-Regular';
        src: url('../fonts/ClashDisplay-Regular.woff2') format('woff2'),
              url('../fonts/ClashDisplay-Regular.woff') format('woff'),
              url('../fonts/ClashDisplay-Regular.ttf') format('truetype');
              font-weight: 100;
              font-display: swap;
              font-style: Normal;}

@font-face {
font-family: 'ClashDisplay-Variable';
src: url('../fonts/ClashDisplay-Variable.woff2') format('woff2'),
      url('../fonts/ClashDisplay-Variable.woff') format('woff'),
      url('../fonts/ClashDisplay-Variable.ttf') format('truetype');
      font-display: swap;
      font-style: Variable;}


.cursor {
  position: fixed;
  background: white;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  z-index: 999;
  transition: 0.5s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
      0.2s cubic-bezier(0.75, -1.27, 0.3, 2.33) opacity;
  user-select: none;
  pointer-events: none;
  transform: scale(0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor p{
  font-size: 15px;
  font-weight: bold;
  display: none;
}

.cursor.active p {
  display: block;
}

.cursor::before {
  content: "";
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  border-radius: 100%;
  opacity: 0;
}

.cursor.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  width: 180px;
  height: 30px;
  transform: scale(1.5);
  border-radius: 7px;
  background-color: hsla(200,100%,0%,.3);
  backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  -webkit-box-shadow: -1px 0px 30px 0px rgba(0,0,0,0.1);
  box-shadow: -1px 0px 30px 0px rgba(0,0,0,0.4);

}

.cursor.active::before {
  opacity: 1;
}

.cursor-follower {
  position: fixed;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 100%;
  z-index: 998;
  transition: 0.5s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
      0.3s cubic-bezier(0.75, -1.27, 0.3, 2.33) opacity;
  user-select: none;
  pointer-events: none;
  transform: translate(5px, 5px);
}

.cursor-follower.active {
  opacity: 0.3;
  transform: scale(0);
}

.cursor.link{
  transform: scale(1.5)
}

/* SCROLLBAR */
::-webkit-scrollbar{
  width: 6px;
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0%;
}
::-webkit-scrollbar-track{
  border-radius: 0px;
}
::-webkit-scrollbar-thumb{
  border-radius: 0px;
  background-color: #929292;
}


/* TEXTES */
header .active-page {
  font-weight: bold;
}

h1{
  font-size: 70px;
  font-family: 'ClashDisplay-Bold', sans-serif;
  font-weight: bold; 
}

h2{
  font-size: 40px;
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-weight: Medium;
}

h3{
  font-size: 28px;
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-weight: Medium;
}

h4{
  font-size: 20px;
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-weight: normal;
}

p{
  font-size: 20px;
  font-family: 'Syne', sans-serif;
  font-weight: normal;
}

p2{
  font-size: 14px;
  font-family: 'Syne', sans-serif;
  font-weight: normal;
}

a:link{
  text-decoration:none;
}



section{
  margin: 120px 0px;
}

.section-image{
 margin: 0px;
}


.section-image img{
  width: 100%;
  height: 50vh !important;
  object-fit: cover;
 }






h1, h2, h3, h4, h5, h6, p, p2{
  color: white;
}

body{
  margin: 0 auto;
  background-color: #101010;
}

button{
  font-family: 'ClashDisplay-Semibold';
  font-weight: bold;
  font-size: 22px;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  transition: all 0.4s ease 0s;
  background: #2e2e2e;
  
}

button:hover{
  border-radius: 15px;
  color: black;
  background: white;
  transform:scale(1.07);
  -webkit-transform:scale(1.07); /* Safari et Chrome */
  -moz-transform:scale(1.07); /* Firefox */
  -ms-transform:scale(1.07); /* Internet Explorer 9 */
  -o-transform:scale(1.07); /* Opera */
}


.cta-main{
  background-color: #ffffff;
  color: black;
  margin-right: 2%;
}

.cta-main:hover{
  color: #ffffff;
  background-color: #2E2E2E;
  
}


.cta{
  background: #2e2e2e;
  font-size: 16px;
  padding: 9px 20px;
  border: none;
  border-radius: 10px;
  transition: all 0.4s ease 0s;
}




i{
  transition: all 0.3s ease 0s;
}

i:hover{
  transform: scale(1.17);
  -webkit-transform:scale(1.17); /* Safari et Chrome */
  -moz-transform:scale(1.17); /* Firefox */
  -ms-transform:scale(1.17); /* Internet Expl!orer 9 */
  -o-transform:scale(1.17); /* Opera */
}

a{
  color: white;
}





input{
  height: 40px !important;
  padding: 7px 15px;
  border-radius: 10px !important;
  border-style: none;
  background-color: rgb(255, 255, 255);
  font-family: 'ClashDisplay-semibold'; 
}
  
.formkit-field{
  width: 100%;
  
  margin: 0px 3px !important; 
}


  
.formkit-input{
  font-size:20px !important; 
  width: 100%;}

.formkit-fields-only{
  display: flex;
  flex-direction: row;
  max-width: 800px;
}

.formkit-alert-success{
  font-family: 'ClashDisplay-medium'; 
  background:#9dffd8;
  color:#43b580;
  font-size: 20px;
  border-radius: 10px;
  max-width: 80%;
  padding: 10px 20px;}
   
.formkit-alert-error{
  font-family: 'ClashDisplay-Medium'; 
  background:#fde8e2;
  border-color:#f2643b;
  color:#ea4110;
  font-size: 20px;
  border-radius: 0.5vh;
  max-width: 80%;}



  .bio-page{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .bio-page img{
    display: flex;
    max-width:100%;
  }
  
  .bio-page-main{
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .bio-page-links{
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }