/* Reset, utilitaire */
* { margin:0;}

    @font-face{font-family:"CaslonFont";src: url("font//Caslon224Std-Black.otf");             font-weight:400; font-style:normal;}
    @font-face{font-family:"CaslonFont";src: url("font/Caslon224Std-BlackItalic.otf");       font-weight:400; font-style:italic;}
    @font-face{font-family:"CaslonFont";src: url("font/Caslon224Std-Bold.otf");            font-weight:300; font-style:normal;}
    @font-face{font-family:"CaslonFont";src: url("font/Caslon224Std-BoldItalic.otf");      font-weight:300; font-style:italic;}
    @font-face{font-family:"CaslonFont";src: url("font/Caslon224Std-Book.otf");             font-weight:100; font-style:normal;}
    @font-face{font-family:"CaslonFont";src: url("font/Caslon224Std-BookItalic.otf");       font-weight:100; font-style:italic;}
    @font-face{font-family:"CaslonFont";src: url("font/Caslon224Std-Medium.otf");           font-weight:200; font-style:normal;}
    @font-face{font-family:"CaslonFont";src: url("font/Caslon224Std-MediumItalic.otf");     font-weight:200; font-style:italic;}

    @import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap');

    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

/* Base */

body{
        background-color: rgb(255, 255, 246);
}



header{
    padding: 5px 10px;

}

img, video {
    display: block; 
    max-width: 100%;
}

#liquid-ball {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #F4ECE5;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
  will-change: transform;
  transition: background 0.2s ease;
  z-index: 9999;
  mix-blend-mode: difference;
}

@keyframes fadeTrail {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
}

#HeaderFlex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#headerGap{
    display: flex;
    gap: 30px;
}

#centre{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: 85vh;
    padding-top: 65px;
}

.FlexMilieu{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;

}

h1:hover {
    border-bottom: 2px solid #000;
    }

button{
    font-family: "Oxygen", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: black;
    font-size: 20px;
    box-shadow: none;
    border: none;
}
.iconesreseaux{
    max-width: 30px;
}

.ColorBouton{
    border-radius: 5px;
    border: 1px solid #000;
    background: none;
    transition: background 0.3s ease-in-out;
    padding: 5px;
}

.ColorBouton:hover{
    background-color: #FC9BAC;
}

header a{
    font-family: "Oxygen", sans-serif;
}

#HeaderFlex a {
    text-decoration: none;
}

#headerGap a{
    font-family: "Oxygen", sans-serif;
    font-weight: 300;
    font-style: normal;

    color: black;
    font-size: 20px;

    display: flex;
    align-items: center;
}

.underligne {
    position: relative;
    background: none;
    text-decoration: none;
}


.underligne::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* Ajuste la position du soulignement */
    width: 100%;
    height: 2px; /* Épaisseur du soulignement */
    background: black; /* Couleur du soulignement */
    transform: scaleX(0); /* Caché au départ */
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}
.underligne:hover::after {
    transform: scaleX(1); /* Déploie de gauche à droite */
}

.nobackground{
        background: none;
    }

h1{
    font-family: "CaslonFont" ;
    text-decoration: none !important;
    color: black;

    border-bottom: 2px solid  rgb(255, 255, 246);
}

h2{
    font-family: "CaslonFont" ;
    color: black;
    font-weight: 100;
    font-style: normal;
    font-size: 50px;
}

h2:hover{
    background-color: #FC9BAC;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

h3{
    font-family: "Oxygen", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #616161;
    font-size: 18px;
    line-height: normal;
    padding-bottom: 5px;
}

figcaption{
    font-family: "Oxygen", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #616161;
    font-size: 18px;
    line-height: normal;
    padding-top: 5px;

}

h4 {
    font-family: "Oxygen", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #000;
    font-size: 18px;
    line-height: normal;
}

header h1{
    font-weight: 100;
    font-style: normal;
}

p{
    color: #000;
    font-family: "Oxygen", sans-serif;
    font-weight: 300;
    font-style: normal;
    /* font-size: ; */
}

h5{
    color: #000;
    font-family: "Oxygen", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 22px; 

    margin-bottom: 30px;
}


#spline{
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    height: 82vh; 
    padding: 0 30px; /* un peu de marge latérale sur petits écrans */
}
.point {

  position: absolute;
  width: 10px;
  height: 10px;
  background: #FC9BAC;
  border-radius: 50%;
  pointer-events: none;
}


main{
    height: 84vh;
}

footer{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;

    padding: 10px 10px;

}

.resaux{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#instahover{
    content: url('Boutons/Insta_Base.png');
    transition: 0.3s ease-in-out;
}

#instahover:hover{
    content: url('Boutons/Insta_Hover.png');
}

#youtubehover{
    content: url('Boutons/Youtube_Base.png');
    transition: 0.3s ease-in-out;
}

#youtubehover:hover{
    content: url('Boutons/Youtube_Hover.png');
}

#linkedinhover{
    content: url('Boutons/Linkedin_Base.png');
    transition: 0.3s ease-in-out;
}

#linkedinhover:hover{
    content: url('Boutons/Linkedin_Hover.png');
}

#spotifyhover{
    content: url('Boutons/Spotify_Base.png');
    transition: 0.3s ease-in-out;
}

#spotifyhover:hover{
    content: url('Boutons/Spotify_Hover.png');
}


.ProjetFooter{
    justify-content: flex-end;
}

footer img{
    width: 50px;
    height: auto;
}



#youtube{
    width: 60px;
    height: auto;
    margin-right: 2px;
}

#linkedin{
    width: 80px;
    height: auto;
    margin-left: -10px;
}

#ParentSelection{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 80vh;
}

main a {
    text-decoration: none;
}


.Projets{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 120px;

    height: 85vh;

}

.imageCouvertureVert img{
    height: 80vh;
    width: auto;
}

.imageCouvertureHori img{
    width: 700px;
    height: auto;
}

.bodyProjets{
    background-image: url("images/backgroundProjets.png");
    background-size: cover;

}


.infosPadding{
    padding-bottom: 20px;
}

.infoProjet{
    display: flex;
    flex-direction: column;
}

#middleInfos{

    height: 300px;

    display: flex;
    flex-direction: column;
    /* align-items: center; */
    align-content: center;
    align-items: baseline;
    justify-content: center;
}

#ScrollFLex{
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;

    margin: 40px 0px;
}

.twoParts{
    display: flex;
    /* justify-content: space-between; */
    justify-content: flex-start;
    gap: 300px;
    margin: 30px;
    padding-left: 90px;

    padding-bottom: 50px;
    padding-top: 40px;
    /* margin: 0px 120px; */

}

.gallery{
    display: flex;
    justify-content: center;
    gap: 100px;

    padding-bottom: 40px;

}

.galleryHorizontale{
    display: flex;
    gap: 50px;
    justify-content: center;

    padding-bottom: 40px;
}

.galleryHorizontale img{
    max-width: 350px;
    height: auto;
}

.gallery img{
    /* max-width: 350px;
    height: auto; */

    max-height: 400px;
    width: auto;

}

.galleryHuge {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;

    padding-bottom: 40px;
}

iframe{
    border-radius: 10px;
}

#stickersBouton{
    height: 200px;
    width: 200px;
}


.FlexYounomi{
    display: flex;
    justify-content:space-around;
    align-items: center;

    /* padding: 20px 0px; */
    padding: 20px;
    gap: 20px;
}

a {
    text-decoration: underline;
    color: #616161; 
}

.boutonMusique{
    max-width: 20px;

}

  /* Page décourvir  */

#PageDecouvrir{
    height: 100%;
    margin: 0;
    overflow: hidden;
}

  section {
    height: 84vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    overflow: hidden; 
  }

  .hidden {
    display: none;
  }
  .visible {
    opacity: 1;
    transition: opacity 0.5s;
  }
  .image {
    position: absolute;
    pointer-events: none;
    transform-style: preserve-3d;
    width: 100px; /* Largeur des images agrandies */
    height: auto; /* Hauteur ajustée automatiquement */
  }


/* ================= RESPONSIVE ================= */

/* Écrans moyens (tablettes en mode portrait) */
@media screen and (max-width: 1024px) {

  .twoParts {
    flex-direction: column;
    gap: 40px;
    margin: 0 20px;
    padding: 20px;
  }

  .gallery,
  .galleryHorizontale,
  .galleryHuge {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .imageCouvertureVert img,
  .imageCouvertureHori img {
    width: 100%;
    height: auto;
  }

  .Projets {
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
  }

  #middleInfos {
    align-items: flex-start;
  }

  .FlexYounomi {
    flex-direction: column;
  }

  .headerGap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* Mobiles */
@media screen and (max-width: 600px) {

  h2 {
    font-size: 32px;
    text-align: center;
  }

  h3 {
    font-size: 16px;
  }

  h4, h5, p {
    font-size: 14px;
  }

  #headerGap {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  .Projets {
    margin: 0 15px;
  }

  #ScrollFLex {
    margin: 20px 0;
  }

  iframe {
    width: 100%;
    height: auto;
  }

  .contenuTexte {
    padding: 0 10px;
  }

  .resaux {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
