/* KEYFRAMES */

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

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

.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;
}


@keyframes slidedown {
  0% {
    top: -4rem;
  }
  100% {
      top:  3rem;
  }
}

@keyframes landing {
  0%{
    transform: translateY(-50px);
  }
  100%{
    transform: translateY(0px);
  }
}

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

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

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









/* --------------------------------------------------------------------------------- */

/* FONT IMPORTS */


@font-face {
  font-family: 'ZT-Formon-Italic';
  src: url('../fonts/pp-editorial-old/PPEditorialOld-Italic.otf') format('woff2'),
  url('../fonts/pp-editorial-old/PPEditorialOld-Italic.otf') format('woff'),
  url('../fonts/pp-editorial-old/PPEditorialOld-Italic.otf') format('truetype');
       font-weight: 700;
       font-display: swap;
       font-style: Bold;
}

@font-face {
  font-family: 'ZT-Formon-Ultrabold';
  src: url('../fonts/pp-editorial-old/PPEditorialOld-UltraBold.otf') format('woff2'),
  url('../fonts/pp-editorial-old/PPEditorialOld-UltraBold.otf') format('woff'),
  url('../fonts/pp-editorial-old/PPEditorialOld-UltraBold.otf') format('truetype');
       font-weight: 700;
       font-display: swap;
       font-style: Bold;
}

@font-face {
  font-family: 'ZT-Formon';
  src: url('../fonts/pp-editorial-old/PPEditorialOld-Regular.otf') format('woff2'),
  url('../fonts/pp-editorial-old/PPEditorialOld-Regular.otf') format('woff'),
  url('../fonts/pp-editorial-old/PPEditorialOld-Regular.otf') format('truetype');
       font-weight: 700;
       font-display: swap;
       font-style: Bold;
}


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

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

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

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

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

@font-face {
  font-family: 'ClashGrotesk-Regular';
  src: url('../fonts/static/BricolageGrotesque_24pt-Medium.ttf') format('woff2'),
    url('../fonts/static/BricolageGrotesque_24pt-Medium.ttf') format('woff'),
    url('../fonts/static/BricolageGrotesque_24pt-Medium.ttf') format('truetype');

  font-display: swap;
  font-style: Normal;
}

@font-face {
  font-family: 'ClashGrotesk-Medium';
  src: url('../fonts/static/BricolageGrotesque_24pt-ExtraBold.ttf') format('woff2'),
    url('../fonts/static/BricolageGrotesque_24pt-ExtraBold.ttf') format('woff'),
    url('../fonts/static/BricolageGrotesque_24pt-ExtraBold.ttf') format('truetype');

  font-display: swap;
  font-style: Medium;
}









/* --------------------------------------------------------------------------------- */

/* GENERAL */

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

body {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  min-height: 100vh; /* permet de scroller si le contenu dépasse */
  display: block; /* revient à un comportement normal de flux */
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/windows-xp-background.jpg);
  background-position: center;
  background-size: cover; 
  background-attachment: fixed;
  z-index: -1; 
}

.background-container-2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/PinkFlowersBackground.jpg);
  background-position: center;
  background-size: cover; 
  background-attachment: fixed;
  z-index: -1; 
}


.background-img {
  width: 1000px;
  height: 1000px;
  object-fit: cover;
}
@keyframes rotateBackground {
  0% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-2deg); 
    transform: scale(110%);
  }
  0% {
    transform: rotate(2deg);
    transform: scale(100%);
  }
}

div.main {
  background: url(../img/nnnoise.svg),radial-gradient(rgba(215, 236, 215, 0.89), #ffffff);
  border-radius: 30px;
  padding: 80px 50px 50px  50px;
  margin: 60px auto 20px auto;
  height: 90%;
  width: 100%;
  max-width: 1000px;
  border: 1px solid rgb(255, 255, 255);
  box-shadow: 0 0px 20px rgba(0, 13, 48, 0.075);
  
}


div.block {
background: rgba(255, 255, 255, 0.069);     /* semi-transparent */
  backdrop-filter: blur(15px);                  /* flou derrière */
  -webkit-backdrop-filter: blur(15px);   
  border-radius: 20px;
  border: 2px solid #ffffff95;
  padding: 40px 20px 20px 20px;
  margin: 10px;
  transform-origin: center;
  opacity: 1;
  transform: scale(1);
  transition: none; /* plus de transition de base */
  overflow-wrap: break-word; /* coupe les mots longs */
  word-break: break-word;    /* casse les mots trop longs */
  max-width:fit-content;
  position: relative;
}

/* Par défaut, on cache visuellement, mais sans forcer le style */
.block.hidden {
  opacity: 0;
  transform: scale(0.8);
}

@keyframes popupZoomBounce {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  70% {
    opacity: 1;
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}

.block.animate-in {
  animation: popupZoomBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-fill-mode: forwards;
}



.close-btn {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(30%, -30%); /* centre le bouton sur l’angle */
  width: 36px;
  height: 30px;
  color: rgb(0, 46, 8);
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border:#4fa4471b solid 2px;
background: rgb(236, 243, 235) !important;     /* semi-transparent */
  backdrop-filter: blur(40px) !important;                  /* flou derrière */
  -webkit-backdrop-filter: blur(50px);   
   box-shadow: 0 0px 15px rgba(16, 59, 13, 0.06);     
  z-index: 10;
  transition: all 0.2s ease;
}

.close-btn:hover {
  transform: translate(30%, -30%);
  background: rgba(255, 255, 255, 0.6);
  border:#257a1d0c solid 2px;
    box-shadow: 0 0px 15px rgba(22, 183, 30, 0.093);     
}



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

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



/* GENERAL - Texts */

h1{
  font-size: 90px;
  font-family: 'ZT-Formon-Italic', serif;
  font-weight: bold; 
  line-height: 1;
  letter-spacing: -5px;
}

h2{
  font-size: 48px;
  font-family: 'ZT-Formon', serif;
  font-weight: semibold;
}

h3{
  font-size: 38px;
  font-family: 'ZT-Formon-Italic', serif;
  font-weight: bold; 
  line-height: 1;
  letter-spacing: -2px;
}

h4{
  font-size: 16px;
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-weight: semibold;
}

p{
  font-size: 22px;
  font-family: 'ClashGrotesk-Regular', sans-serif;
  font-weight: normal;
}

p2{
  font-size: 16px;
  font-family: 'ClashDisplay-Medium', sans-serif;
  font-weight: normal;
}

a:link{
  text-decoration:none;
}

b{
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-weight: 600;
}

h1, h2, h3, h4, h5, h6, p, p2{
  color: rgb(0, 0, 0);
}

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

a { 
  color: inherit; 
} 




/* GENERAL - Buttons */

button {
  font-family: 'ClashDisplay-Semibold';
  font-weight: bold;
  font-size: 22px;
  color: rgb(255, 255, 255);
  padding: 12px 14px;
  border: 3px solid #e0e0e011; /* Légère bordure grise */
  border-radius: 18px;
  background: linear-gradient(145deg, #252525, #0a0a0a); /* Dégradé gris */
  transition: all 0.4s ease;
}


button:hover{
  border-radius: 20px;
  color: black;
  background: linear-gradient(white, rgb(244, 255, 245));
  border: 3px solid #b6e2b2; /* Légère bordure grise */
  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 */
  box-shadow: 0 0px 20px rgba(171, 255, 114, 0.274);
}


button.cta {
  font-family: 'ClashDisplay-Semibold';
  font-weight: bold;
  font-size: 22px;
  color: rgb(255, 255, 255);
  padding: 12px 12px;
  border: 3px solid #c9c9c944; 
  border-radius: 18px;
  background: linear-gradient(145deg, #1d1d1d, #0c0c0c); /* Dégradé gris */
  transition: all 0.4s ease 0s;
}

button.cta:hover {
  border-radius: 20px;
  color: rgb(0, 0, 0);
  background: linear-gradient(145deg, #ffffff, #ffffff); /* Dégradé gris */
  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 */
  box-shadow: 0 0px 20px rgba(255, 255, 255, 0.25);
  transition: all 0.4s ease 0s;
}



@media screen and (max-width: 1100px) {
  h1{
    font-size: 6rem;
    line-height: 1;
  }
  
  h2{
    font-size: 5rem;
  }
  
  h3{
    font-size: 4rem;
  }
  
  h4{
    font-size: 3rem;
  }
  
  p{
    font-size: 2.2rem;
  }
  
  #highlight{
    background-color: rgba(0, 0, 0, 0.658); border-radius: 10px;  font-style: italic;
  }
  
  p2{
    font-size: 1.6rem;
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-weight: normal;
  }
  div.main {
    max-width: 80vw;
    border-radius: 80px ;
  }
  button {
    font-size: 2.4rem;
    border-radius: 26px;
    padding: 14px 18px;
  }
    button:hover {
    border-radius: 30px;
  }

  button.cta {
    font-size: 2.4rem;
    border-radius: 26px;
    padding: 14px 18px;
  }
    button.cta:hover {
    font-size: 2.4rem;
    border-radius: 30px;
    padding: 14px 18px;
  }

} 
  


/* GENERAL - Loader */

.loader-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #171717;
  display:flex;
  justify-content: center;
  align-items: center;
}



/* GENERAL - Cursors */

.cursor {

  position: fixed;
  background: white;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  z-index: 999;
  transition: 0.7s cubic-bezier(0.50, -1.05, 0, 2) transform;
  user-select: none;
  pointer-events: none;
  transform: scale(0.8);
  display: flex;
  align-items:baseline;
  justify-content:baseline;
  flex-direction: column;
}

.cursor p{
  color: rgb(58, 58, 58);
  font-family: "ZT-Formon-Italic", serif;
  font-size: 11px;
  font-weight: bold;
  display: none;
}

p.cursor-text-2{
  color: rgb(0, 0, 0);
  font-family: "ClashDisplay-Medium", sans serif;
  font-size: 11px;
  font-weight: bold;
  display: none;
}

.cursor img{
  background-color: white;
  width: 30px;
  padding: 5px;
  display: none;
  border-radius: 100px;
  border: solid rgba(177, 205, 255, 0.192) 1px;
  box-shadow: 0 0px 5px rgba(0, 13, 48, 0.089);

}

.cursor.active img{
  display: block;
}
.cursor.active p {
  display: block;
}

.cursor-music{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction:row;
  gap: 10px;
}


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

.cursor.active {
  display: flex;
  justify-content: center;
  transform: scale(1.5);
  padding:  20px 10px;
  opacity: 1;
  background: linear-gradient(rgba(255, 255, 255, 0.548), rgba(255, 255, 255, 0.89));
  width: fit-content;
  height: 20px;
  border: solid rgba(181, 207, 255, 0.274) 2px;
  border-radius: 100px;
  backdrop-filter: blur(50px);
  box-shadow: 0 0px 20px rgba(9, 22, 58, 0.096);
}

.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)
}



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

  .cursor.active {
    display: flex;
    justify-content: center;
    transform: scale(1.5);
    padding:  10px 12px;
    opacity: 1;
    background: linear-gradient(rgba(255, 255, 255, 0.548), rgba(255, 255, 255, 0.89));
    width: fit-content;
    height: fit-content;
    border: solid rgba(181, 207, 255, 0.274) 2px;
    border-radius: 100px;
    backdrop-filter: blur(50px);
    box-shadow: 0 0px 20px rgba(9, 22, 58, 0.096);
  }

  .cursor p{
    color: rgb(58, 58, 58);
    font-family: "ZT-Formon-Italic", serif;
    font-size: 18px;
    font-weight: bold;
    display: none;
  }
  
  p.cursor-text-2{
    color: rgb(0, 0, 0);
    font-family: "ClashDisplay-Medium", sans serif;
    font-size: 20px;
    font-weight: bold;
    display: none;
  }
  
  .cursor img{
    background-color: white;
    width: 50px;
    padding: 5px;
    display: none;
    border-radius: 100px;
    border: solid rgba(199, 255, 177, 0.192) 1px;
    box-shadow: 0 0px 5px rgba(0, 48, 6, 0.089);
  
  }
  
  
  .cursor-music{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction:row;
    gap: 10px;
  }
  
  
} 
  

/* GENERAL - 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;
}








/* --------------------------------------------------------------------------------- */

/* NAVIGATION */

header{
  align-items: center;
  animation: landing 0.5s cubic-bezier(0,.88,.13,1);
  animation-fill-mode: forwards;
  margin: 40px;
}






/* --------------------------------------------------------------------------------- */

/* CONTENT */



div.main img{
  margin-bottom: 0px;
  transition: all 0.7s ease 0s;
  align-items: center;
  width: 100%;
  height: auto;
}

#music {
  background-color: #ffffff;
  border: solid rgba(200, 255, 186, 0.5) 1px;
  border-radius: 50px;
  padding: 4px 10px;
  box-shadow: 0 0px 20px rgba(61, 255, 71, 0.041);
  width: fit-content;
}


/* CONTENT - Homepage image */

.homepage{ animation: landing 2s cubic-bezier(0,.8,.49,1);
  animation-fill-mode: forwards;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  object-fit: cover 
}

.homepage-mobile{
  display: none;
}



/* CONTENT - Text Image Container */

.text-image-container {
  display: flex;
  align-items: center;
  max-width: 80%; 
}

.text-image-container img {
  margin-right: 40px;
  width: 50% !important;
}

.image-container{
  align-items: right;
}

.text-container {
  vertical-align: top;
  text-align: left;
  padding: 20px;
}






/* --------------------------------------------------------------------------------- */

/* MISC */





/* --------------------------------------------------------------------------------- */

/* FOOTER */

footer {
  margin-top: 7%;
  padding: 3% 5%;
  display: flex;
  flex-direction:row;
  justify-content: flex-end;
}

.pages {
  
  display: flex;
  flex-direction: column-reverse; 
 justify-content: flex-end;
 gap: 10px;
  flex-grow: 1; 
}

.socials{
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.socials p {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-weight: semibold;
}
ul.menu2 {
  
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: flex-end;
  flex-grow: 1; 
  margin-bottom: 0;
}

.bottom{
  
  padding-top: 1%;
  display: flex;
  flex-direction: row;
  align-items:baseline;
  order: 2;
  align-self: stretch;
  flex-grow: 1;
  
}

@media screen and (max-width: 1100px) {
  footer {
    color: red;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  ul.menu2 {
  
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
   justify-content: center;
    align-items: center;
  }

  .pages {
  
    display: flex;
    flex-direction: column-reverse; /* Empile les éléments verticalement */
    justify-content: center;
    align-items: center;
   gap: 20px;
    flex-grow: 1; /* Permet au conteneur de s'étendre */
  }
}





ul.footer{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
 list-style: none;
}

hr.footer{
order: 1;
align-self: stretch;
flex-grow: 0.1;
border: 0.1vh solid #676767;
}

/* Add a point symbol (•) before/behind each item */
ul.footer li+li:before {
  padding: 9px;
  color: rgb(255, 255, 255);
  content: "•";
}



/* FOOTER - Social Media */

li2{
  font-size: 40px;
}

div.media {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  gap: 60px;
}














































