/* Styles pour la mise en page */
body {
    font-family: "Fira Sans Extra Condensed", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Pour s'assurer que le footer reste en bas même si le contenu est court */
    background-color: #FFFBD4;
}

.bodydesign, .bodycom, .bodyvideo, .bodyperso{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Pour s'assurer que le footer reste en bas même si le contenu est court */
   width: 100%;
    z-index: 1;
}


.bodycom{
    background-image: url(../photo/Fond-com.webp);

}

.bodydesign{
    background-image: url(../photo/Fond-design.webp);

}

.bodyvideo{
    background-image: url(../photo/Fond-vidéos.webp);

}

.bodyperso{
    background-image: url(../photo/Fond-personnel.webp);

}


header {
    position: fixed;
    width: 100%;
    background-color: #355e41a9;
    padding: 20px 0;
    text-align: center;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo svg {
    height: 60px;
}

.logonom {
    font-size: 1.5rem;
    margin-top: 10px;
}

.container {
    max-width: 80%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    margin-top: 20px;
    text-align: center;
    margin-top: 120px;
    left: 50%;
    z-index: 99;
    background-color: #FFFBD4;
}

.img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

#p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333333;
    text-align: left;
    padding: 20px;
    width: 700px;
}

ul > li{
    list-style: none;
    text-align: left;
}

.competence {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}
.competences {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}
.tout{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}


footer {
    margin-top: auto;
    color: #ffffff;
    background-color: #152215;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

.back-button {
    position: fixed;
    margin-top: 110px;
    left: 20px;
    background-color: #355e41; /* Couleur de fond */
    padding: 10px; /* Espacement intérieur */
    border: none; /* Suppression de la bordure */
    border-radius: 10px; /* Bouton rond */
    cursor: pointer; /* Curseur pointer */
    transition: background-color 0.3s; /* Transition fluide */
    color: white;
    z-index: 999;
}

.back-button:hover {
    background-color: #355e419c; /* Couleur de fond au survol */
}

html {
    scroll-behavior: smooth;
  }

.video{
    width: 100%;
    height: 350px;
}

.vidéo{
    width: 100%;
    height: 350px;
}

.language-button {
    background-color: white; /* Vert */
    border: none;
    color: #355e41;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 4px;
    cursor: pointer;
    border-radius: 4px;
    top: 25px;
    z-index:1000;

  }

  .language-button:hover {
    background-color: rgba(255, 255, 255, 0.493); /* Vert */
  }
  #btnFrench{
    position: fixed;
    right: 20px;
  }

  #btnEnglish{
    position: fixed;
    right: 70px;
  }

.sk:hover{
    fill: rgba(0, 0, 0, 0.527);
}

.liens{
    display: flex;
    flex-direction: row;
    justify-content: center; 
    flex-wrap: wrap;   
    gap: 30px;
    align-items: center;
}
.episodes{
    display: flex;
    flex-direction: row;
    justify-content: center; 
    flex-wrap: wrap;   
    gap: 30px;
    align-items: center;
}
.episodes>a{
    text-decoration: none;
    color: black;
}
.episodes>a:hover{
    color: rgba(0, 0, 0, 0.534);
}

.row{
    display: flex;
    left: 0px;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

#prix{
    color: rgb(124, 116, 6);
}

::selection {
    background-color: #7d4695; /* Couleur de fond du surlignage */
    color: #ffffff;           /* Couleur du texte surligné */
}

.tache{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/*CSS grille de photo Paris 2024*/

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Style du conteneur de la grille */
  .insta-post{
    background-color: #355e41cc;
    color: #FFFBD4;
    border-radius: 10px;
}

  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    padding: 20px;
    width: 90%;
    margin: 0 auto;
  }
  
  .profile-header {
    display: flex;
    align-items: center;
    padding: 10px;
  }
  
  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
  }
  
  .username {
    font-weight: bold;
    font-size: 1rem;
  }
  
  /* Section de l'image avec effet hover */
  .grid-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
  }
  
  .grid-item > .imga {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .heart-icon:hover {
    transform: scale(1.05);
  }
  
  /* Description sous l'image */
.post-description {
    padding: 10px;
  }
  
  .post-description p {
    margin: 0;
  }
  
  .post-description .username {
    font-weight: bold;
    margin-right: 5px;
  }
  
  
  /* Boutons et interactions */
  .post-interactions {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 5fr;
    grid-template-rows: 1fr;
    margin-top: -25px;
    padding-right: 5px; 
    padding-left: 5px;
    align-items: end;
    width: 100%;
  }
  .heart-icon {
    width: 24px;
    height: 24px;
    stroke: #FFFBD4;
    fill: none;
    transition: transform 0.3s ease;
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
  }

  .comment-icon{
    grid-column-start: 2;
    grid-column-end: 3; 
    grid-row-start: 1;
}

.send-icon{
    grid-column-start: 3;
    grid-column-end: 4; 
    grid-row-start: 1;
}

  .favorites-section {
    display: flex;
    justify-content: flex-end;
    margin-top: -25px;
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 1;

  }
  
  
  .badge{
    float: left; /* Permet à l'image de flotter à gauche du texte */
            width: 200px; /* Largeur de l'image */
            height: 200px; /* Hauteur de l'image */
            border-radius: 50%; /* Rendre l'image circulaire */
            margin: 0 20px 20px 0; /* Espace autour de l'image */
            shape-outside: circle(); /* Forme circulaire pour l'écoulement du texte */
            clip-path: circle(); /* Couper l'image en cercle */
}

.badge:hover{
    transform: scale(1.1);
}

.explication{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.tkt{
    max-width: 100%;
    margin-top: 150px;
    margin-bottom: 0px;
    align-items: center;
}

#text1{
    width: 30%;
}

#text2{
    width: 40%;
}

.trad{
    display: flex;
    flex-direction: row;
}

#text3{
    margin-top: 30px;
    margin-left: 20%;
    width: 60%;
    margin-bottom: 30px;
}

.big{
    color: #355e41;
    font-size: 1.1rem;
    font-weight: 900;
}

.classification{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
}

.communication, .marketing{
    width: 400px;
}

.paris{
    text-align: center;
}

@media screen and (max-width: 1200px) {
    .communication, .marketing{
        width: auto;
    }

    .classification{
        flex-wrap: wrap;
    }

    h4{
        text-align: left;
    }

}

#explication{
    width: 100%;
}
  
@media screen and (max-width: 850px) {
    .container {
        width: 100%;
        background-color: #FFFBD4;
        margin-top: 150px;
    }
    .container> iframe, .img{
        transform: scale(.90); 
        width: 100%;
        height: auto;
       }

       .video{
        width: 100%;
        height: auto;
       }

        .competences > svg{
            height: 30px;
            width: 40;
        }

        .competences{
            font-size: 0.8rem;
        }
        
        iframe{
            width: 300px;
            height: 300px;
        }

        .language-button {

            font-size: 10px;
            top: 60px;
            }
        
            #btnFrench{
                right: 20px;
        
         }
         #btnEnglish{
            right: 60px;
        
         }
         
         #prix{
            font-size: 0.8rem;
         }
         .etoile{
            width: 50px;
            height: 41px;

         }
         .explication{
            flex-direction: column;
            margin-right: 40;

         }
         .text1, .text2, .text3{
            display: none;

         }

         
         .big{
            font-size: 1rem;
         }

         #text3{
            margin-left: 15%;
         }

         .insta-post, .grid-container, .grid-item{
            width: 100%;
            padding: 0px;
            overflow: hidden; /* Cela peut aider à éviter les débordements */

         }
        

         .insta-post{
            background-color: transparent;
            border-bottom: 2px black solid;
            padding-bottom: 10px;
            margin-bottom: 10px;
            border-radius: 0px;
            color: black;
         }
        .post-interactions{
            grid-template-columns: repeat(3, 1fr) 10fr;
        }
         .heart-icon{
            stroke: black;
         }

         .imga {
            width: 100%;
            height: auto;
            max-width: 100%; /* Ajouté pour éviter les débordements */
            border-radius: 0px;
        }

        .cuisto{
            width: 400px;
            height: 200px;
        }

        #p{
            width: 100%;
        }


    }


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

        .cuisto{
            width: 250px;
            height: 150px;
        }

    }

    