/* montserrat-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../assets/fonts/montserrat-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../assets/fonts/montserrat-v29-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../assets/fonts/montserrat-v29-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('../assets/fonts/montserrat-v29-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }



/* **** PAGE INDEX*** */

/* MOBILE RESPONSIVE Largeur maximum 375px (mobile) */
body {
    font-family:'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 400;
    background-color: #FDF8F5;
}
.mesprojets .services{
    padding-inline: 1rem;
}

strong {
    font-weight: 600;

}
/* ***HERO*** */
header {
     position: absolute;
     z-index: 999;
}

picture.logo {
    padding: 2.5rem 0 0 1rem;
}

.hero {
    position: relative;
}

section .titre {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  
}
div.container {
    text-align: center;
    color: #FDF8F5;
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 0rem 0.25rem 0.25rem rgba(0, 0, 0, 0.25);   
}
picture.valentin {
    padding-bottom: 5rem;
}



/* ***NAVBAR*** */
nav ul {
    display: flex;
    font-size: .75rem;
    font-weight: 400;
    color: #FDF8F5;
    justify-content: space-between;
    bottom: 0;
    background-color: #021517;
    width: 100%;
    height: 3.875rem;
    align-content: center;
    align-items: center;
    padding: 0.625rem 1.75rem 0.625rem 1.75rem;
    position: fixed;
    margin-bottom: 0;

}
nav li {
    display: flex;
    flex-direction: column;
    list-style: none;
    align-items: center;
}

/* ***SECTION MES PROJETS*** */

div.projets {
    padding-inline: 1rem;
}

h2 {
   padding: 3rem 1rem 3rem 1rem;
   font-size: 1.5rem;
   font-weight: 600;
   color: #021517;
}
a.button {
    display: flex;
    font-size: 1rem;
    font-weight: 400;
    justify-content: flex-end;
    gap: .375rem;
    align-items: center;
    text-decoration: none;
    color: #021517 ;
   
}
/* ***SECTION SERVICES*** */
div.proposition {
    background-image: url(../assets/image/bgservicemob.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h3.propo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    text-align: center;
    gap: 1.75rem;
    font-size: 1.25rem;
    font-weight: 500;
   
    
}
h3 span {
    font-size: 1rem;
    padding-bottom: .625rem;
    font-weight: 400;
    padding-inline: 2.5rem;
    text-align: center;
   
}
div.hr-container {

   border: none;
   width: 40%;
   position: relative;
   border-top: 0.0625rem solid #021517;

}
div.hr-container hr {
    border: none;

}
div.hr-container::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: .0625rem;
    height: 1.5rem;
    background-color: #021517;
    z-index: 9999;
}
div.proposition {
    padding: 2.125rem;
}
ul.global li {
    position: relative;
}
ul.global li:not(:last-of-type)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1.875rem;
    width: .0625rem;
    height: 1.5rem;
    background-color: #021517;
    z-index: 9999;
}
ul.global {
    display: flex;
    flex-direction: column;
    gap: 5.625rem;
    padding-inline: 2.5rem;
    padding-top: 3.75rem;
    text-align: center;
}
.service li strong {
    font-size: 1.25rem;
}

/* *** SECTION QUI JE SUIS *** */

div.suis {
    padding-inline: 1rem;
    padding-bottom: 3.125rem;
}
blockquote {
    text-align: left;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 3.125rem 0 3.125rem 0;
}
p {
    font-size: .75rem;
    padding-bottom: 1.5rem;

}
footer {
    background-color: #021517;
    padding-bottom: 3.75rem;
}
.social {
    display: flex;
    justify-content: center;
    gap: 1.875rem;
    padding-bottom: 3.125rem;
    padding-top: 3.125rem;
    border-bottom: .0625rem solid #FDF8F5;
}

.legal {
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FDF8F5;
    gap: 1.875rem;
}
/* DESKTOP RESPONSIVE Largeur minimum 768p */
/* ***NAVBAR*** */
@media screen and (min-width: 768px) {
    div.containera {
      display: flex;
      flex-direction: row;
      position: relative;
    }
    nav {
        display: flex;
        justify-content: space-between;
        width: 100vw;
        border: 1px solid rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(9.899999618530273px);
        background-color: rgba(255, 255, 255, 0.01);
    }
    nav ul {
        position: relative;
        width: auto;
        gap: 3.125rem;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        background: none;
    }
    nav ul li:first-child {
        display: none;
    }
    
    nav ul li img {
        display: none;
    }
    /* ***HERO*** */
    .background {
        top: 0;
        left: 0;
        width: 100vw; 
        height: 100vh; 
        object-fit: cover; 
      
    }
    .background img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
    }
    div.container {
        font-size: 3rem;
    }
    
    picture.logo {
        padding: 32px 20px 32px 20px; 

    }
    /* ***SECTION PROJET*** */
   
    section.mesprojets {
        padding-inline: 7.625rem;
    }
    section.mesprojets div { 
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        position: relative;
        gap: 5rem;
        padding-bottom: 50px;
    }
    picture.projet2 {
        margin-top: 100px;
    }
    picture.projet3 {
        margin-top: 200px;
    }
    div.overlay h3 {
        display: none;
    }
    div.overlay p {
        display: none;
    }
/* ***TEXTE SCRAMBLE EFFECT*** */

.container {
    position: relative;
    display: inline-block;
  }
  
  .text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%; /* Vous pouvez ajuster la largeur selon vos besoins */
  }
  
  .role {
    display: inline-block;
    opacity: 0;
    animation: roleAnimation 12s infinite;
    position: absolute;
    white-space: nowrap;
  }
  
  .role:nth-child(1) {
    animation-delay: 0s;
  }
  
  .role:nth-child(2) {
    animation-delay: 3s;
  }
  
  .role:nth-child(3) {
    animation-delay: 6s;
  }
  
  .role:nth-child(4) {
    animation-delay: 9s;
  }
  
  @keyframes roleAnimation {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    10% {
      opacity: 1;
      transform: translateY(0);
    }
    25% {
      opacity: 1;
      transform: translateY(0);
    }
    35% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 0;
      transform: translateY(20px);
    }
  }
  

    /* ----GLASSMORPHISME---- */
    /* .projet {
        display: flex;
        flex-direction: row;

        justify-content: center;
        flex-wrap: wrap;
    }
    
    .projet {
        position: relative;
        overflow: hidden;
      
    }
    
    .projet img {
        width: 100%;
        display: block;
        transition: transform 0.3s ease;
    }
    
    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: left;
        border: 1px solid rgba(255, 255, 255, 0.10);
        background: rgba(255, 255, 255, 0.01);
        backdrop-filter: blur(9.899999618530273px);
        color: white;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
       
    }
    
    .projet:hover .overlay {
        opacity: 1;
    }
    
    .overlay h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .overlay p {
        font-size: 1rem;
        max-width: 80%;
    } */

    /* ***SECTION SERVICES*** */

    section.services h2 {
        padding-inline: 7.625rem;
    }
    ul.global {
        display: flex;
        flex-direction: row;
    }
    ul.global li {
        display: flex;
        flex-direction: column;
        gap: 1.875rem;
    }

    /* ***SECTION QUI JE SUIS*** */
    section.quijesuis h2 {
        padding-inline: 7.625rem;
    }
    
    div.contain {
        padding-inline: 7.625rem;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;

    }
    div.suis {
        width: 50%;
    }
    div.qui {
        width: 50%;
    }
    div.qui blockquote {
        width: 60%;
        font-size: 32px;
    }
    div.qui p {
        width: 60%;
        font-size: 1rem;
    }
   /* ***SECTION FOOTER*** */

    footer div.containerb ul.sr-only {
        color: #FDF8F5;
        display: flex !important; /* Force l'affichage */
        position: static !important;
        width: auto !important;
        height: auto !important;
        clip: auto !important;
        -webkit-clip-path: none !important;
        clip-path: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        
    }
}

/* ***PAGE A PROPOS*** */

section.quijesuisbis {
    padding-inline: 1rem;
}
section.creation {
    padding-inline: 1rem;
}
/* ***PAGE PORTFOLIO*** */

.portfolio1 {
    padding-top: 8.5rem;
    padding-inline: 1rem;
   
    
}
div.projet1 {
    
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 1rem;
    border-left: .0625rem solid #021517;
    gap: 1rem;
}
h2.port {
    padding-block: 0;
}
p.port {
    font-size: .75rem;
    padding-bottom: 0
    ;
}
h3.port {
    text-align: left;
    font-size: .75rem;
    font-weight: 600;
    /* padding-bottom: 1rem; */
}

picture.pro {
    padding-top: 1.25rem;
}
.portfolio2 {
    padding-top: 1.25rem;
    padding-inline: 1rem;
}
.portfolio3 {
    padding-top: 1.25rem;
    padding-inline: 1rem;
}
.portfolio4 {
    padding-top: 1.25rem;
    padding-inline: 1rem;
}
.portfolio5 {
    padding-top: 1.25rem;
    padding-inline: 1rem;
    padding-bottom: 3.75rem;
}
/* ***PAGE PROJET*** */

main.projet {
    margin-bottom: 3.125rem;
}


section.titreprojet {
    padding-inline: 1rem;
    text-align: center;
    margin: 1.25rem;
    border-top: .0625rem solid #021517;
    border-bottom: .0625rem solid #021517;
    padding-inline: 1rem;
   
}
section.descri {
    text-align: left;
    padding-inline: 1rem;

}
h3.descri {

    padding-block: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.25rem;
    font-style: normal;
    line-height: normal;
        
}

div.galerie {
    padding-inline: 1rem;
    padding-block: 1.25rem;
  

}
section.collab {
    border-top: .0625rem solid #021517;
    border-bottom: .0625rem solid #021517;
   padding-inline: 1rem;
    
}
ul.socialmedia {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: .0625rem solid #021517;
    

}
section.descri2 {
    border-top: .0625rem solid #021517;
}
h3.descri2 {
    padding-block: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.25rem;
    font-style: normal;
    line-height: normal;
}
ul.socialmedia li a {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    text-decoration: none;
    font-size: .75rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #021517;
    align-items: center;
}

.youtube {
    position: relative;
    width: 100%; /* S'adapte à la largeur du parent */
    padding-bottom: 56.25%; /* Ratio 16:9 (hauteur = 9/16 = 56.25%) */
    height: 0;
    overflow: hidden;
}

.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ***PAGE CONTACT*** */

main.contact h1.contact{
    padding-inline: 1rem;
    color: #021517;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
}