body {
    font-family: "Fira Sans Extra Condensed", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Pour s'assurer que le footer reste en bas même si le contenu est court */
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
    display: flex;
    flex-direction: column;
}

header {
    position: absolute;
    background-image: url('photo/mis.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 710px;
    color: #fff;
    width: 100%;
    top: 0;
}

#bonjour{
    font-family: "Rammetto One", sans-serif;
    font-size: 3.2rem;
}

/* Styles pour le logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%); /* Centrer le logo */
    font-family: "Rammetto One", sans-serif;
    top: 50%; /* Aligner le logo au milieu */
    left: 50%;
    top: 80px;
}

.logo svg {
    width: 80px; 
    margin-bottom: 80px;
    position: absolute; 
    margin-left: 3%;

}


.menu-toggle >input, .menu-toggle > label{
    display: none;
}

.nav {
    display: flex;
    justify-content:center;
    align-items: center;
    top: 50px;
    left: 0%;
}
.logo, .nav {
    position: fixed;
    width: 100%;
    background-color: transparent; /* Fond transparent par défaut */
    transition: background-color 0.3s ease; 
    z-index:99;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
}

.nav-links li a:hover {
    color: #ffffff75;
}

.haut{
    position: fixed;
    width: 100%;
    left: 0%;
    z-index: 999;
    margin-top: -250px;
}
.header-scrolled .haut {
    background-color: #ffffffcd; /* Fond blanc */
    height: 80px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1); /* Ombre légère pour le header */
    color: #355e41;
    font-size: 0.6rem;
    margin-top: 0px;

}
.header-scrolled .logo .svg1, .header-scrolled .logo .svg2{
    fill: #355e41;
}

.header-scrolled .svg{
    height: 50px;
}

.header-scrolled .logonom{
    margin-top: -10px;

}

.header-scrolled .logo{
    margin-top: -8px;
    left: 12%;

}

.header-scrolled .nav-links{
    margin-top: -20px;
    height: 30px;
}

.header-scrolled .nav-links li a{
    color: #355e41;
    font-size: 1.2rem;
}
.header-scrolled .nav-links li a:hover{
    color: #355e4190;
}

.nav-links li {
    display: inline;
    margin-left: 20px;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3rem;
}

#hero >.container {
    text-align: left;
    margin-left: 0%;
    margin-top: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

}


#hero h2 {
    font-family: "Fira Sans Extra Condensed", sans-serif;
    font-weight: 700;
    font-size: 4rem;
    margin-top: -50px;
}

#etudiante{
    font-size: 1.6rem;
    margin-top: -65px;
    margin-bottom: 0px;
    text-shadow: 
    -1.5px -1.5px 0 #000, /* Bordure en haut à gauche */
    1.5px -1.5px 0 #000,  /* Bordure en haut à droite */
    -1.5px 1.5px 0 #000,  /* Bordure en bas à gauche */
    1.5px 1.5px 0 #000;  

}
.botn {
    display: flex;
    padding: 10px;
    background-color: #355e41; /* Couleur de fond du bouton */
    color: #fff; /* Couleur du texte */
    text-decoration: none; /* Supprimer le soulignement par défaut des liens */
    border-radius: 5px; /* Coins arrondis */
    transition: background-color 0.3s ease; /* Transition fluide */
    height: 50px;
    width: 300px;
    font-size: 2rem;
    align-items: center;
    left: 30%;
    border: none;
    flex-direction: column;
    justify-content: center;
    margin-top: -50px;
}


.botn:hover {
    background-color: #fff; 
    color: #355e41;
    height: 70px;
    width: 320px;
    transition: 0.5s;
    font-size: 2.2rem;
    margin-left: -10px;
    border-radius: 20px;
}
.first{
    margin-top: -50px;
}


.botn-cv {
    display: flex;
    padding: 10px;
    background-color: #355e41; /* Couleur de fond du bouton */
    color: #fff; /* Couleur du texte */
    text-decoration: none; /* Supprimer le soulignement par défaut des liens */
    border-radius: 5px; /* Coins arrondis */
    transition: background-color 0.3s ease; /* Transition fluide */
    height: 50px;
    width: 200px;
    font-size: 2rem;
    align-items: center;
    left: 30%;
    border: none;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
    
}


.botn-cv:hover {
    background-color: #fff; 
    color: #355e41;
    transition: 0.5s;
    font-size: 2.2rem;
}
.trad{
    display: flex;
    flex-direction: row;
}
.contenu{
    margin-top: 620px;
}
.wrapper {
    flex: 1;
    margin-top: 80px;
}

footer {
    width: 100%;
    position:relative;
    background-color: #152215;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.logosvg{
    margin-left: 70px;
}
 


.linkedin-link, .social-link {
    font-size: 0.7rem;
    color: #ffffff; /* Couleur bleue typique de LinkedIn */
    text-decoration: none; /* Supprime le soulignement par défaut */
    margin-left: 10px; /* Ajoute une marge à gauche pour séparer du texte précédent */
}
.linkedin-link:hover, .social-link:hover {
    color: #ffffff69; /* Couleur bleue typique de LinkedIn */
}

.social-link + .social-link {
    margin-left: 20px; /* Ajoute une marge entre les liens */
}

.scroll-down-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #000000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-down-arrow:hover {
    transform: translateX(-50%) translateY(5px);
    background-color: #0000008c;
}

.scroll-down-arrow svg {
    width: 20px;
    height: 20px;
}

/*projects*/

#skills, #about{
    background-color: #FFFBD4;
    color: black;
    width: 100%;
}
  
#contact{
    height: 350px;
}  

#skills>.container, #projects>.container, #about>.container, #contact>.container{
    padding: 20px;
    padding-bottom: 50px;
}
#jo, #monclubmaville, #etudes2, #interets2, #interets3, #interets4, #ame, #journal, #idee, #bsl, #idemia, #poche, #serveuse, #radio, #labo, #umih{
    font-size: 1.4rem;
}

#jo{
    text-align: justify;
}

#etudes, #interets, #experiences, #benevole{
    font-size: 1.6rem;
}
.titre1{
    font-size: 4rem;
    color: #355e41;
}

.titre4{
    font-size: 2rem;
    color: #355e41;
    margin-top: -50px;
}

.titre5{
    font-size: 2rem;
    color: #FFFBD4;
    margin-top: -50px;
}

.titre2{
    font-size: 4rem;
    color: #FFFBD4;
}

#projects, #contact{
    background-color: #355e41;
    color: white;
    width: 100%;
}

strong{
    color: #355e41;
}

.ex{
    margin-top: 150px;
    text-align: center;
    grid-column: 1/ 2;
    grid-row : 3/4;
}


.show {
    display: block;
  }
  
#myBtnContainer{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: -250px;
    font-size: 0.5rem;
    gap: 10px;
  }

.btn {
    display: flex;
    padding: 15px;
    color: black; /* Couleur du texte */
    text-decoration: none; /* Supprimer le soulignement par défaut des liens */
    border-radius: 5px; /* Coins arrondis */
    transition: background-color 0.3s ease; /* Transition fluide */
    height: 20px;
    width: 100px;
    font-size: 0.8rem;
    align-items: center;
    left: 30%;
    margin-top: 250px;
    border: none;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    background-color: white;
    color: #355e41;
}


.btn:hover {
    background-color: rgba(255, 255, 255, 0.575);
}

.btn.active {
    background-color: #FFFBD4;
    border-radius: 10px;
  }

/* Définition de la disposition en grille */
.row {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 70px;

}

.iprojet{
    height: 100%;
    width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


.image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 20px;
  }

  /* Effet de superposition */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Couleur noire semi-transparente */
    color: #ffffff; /* Couleur du texte en blanc */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .description {
    margin: 0;
    font-size: 1rem;
    text-align: center;
    padding: 0 10px;
    font-size: 1.5rem;
  }
  
  .cta {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: rgba(255, 255, 255, 0.562);
  }
  
  .arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
  }
  
  /* Effet hover pour afficher le contenu */
  .image-container:hover .iprojet {
    transform: scale(1.05); /* Zoom léger de l'image */
    opacity: 0.8; /* Assombrissement de l'image */
  }
  
  .image-container:hover .overlay {
    opacity: 1;
  }
  
  .image-container:hover .cta {
    opacity: 1;
    transform: translateY(0);
  }
  
  .image-container:hover .arrow {
    transform: translateX(5px); /* Déplacement de la flèche pour l'animation */
  }



/* Styles pour les colonnes */
.column {
    display: none; /* Cacher toutes les colonnes par défaut */
}

/* Classe pour afficher une colonne spécifique */
.show {
    display: block;
}

/* Styles pour le contenu des colonnes */
.content {
    display: flex;
    flex-direction: row; /* Disposition en ligne pour le contenu */
    align-items: center; /* Centrer le contenu verticalement */
}

/* Styles pour les images */


/* Effet hover sur les images et les vidéos */


.mail{
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.mail:hover{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.603);
}

.contacts{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 30px;
}

.plus-contenu1{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
}

.neufround{
    flex-direction: row;
    font-size: 1rem;
    border: 15px solid transparent;
    border-image: url('svg/Union.svg') 8 round; /* Remplacez 'votre-chemin-vers-l-image' par le chemin de votre image de bordure */
}

.comp:hover .forme1 {
    fill: #355e41; /* Changer la couleur selon vos préférences */
}

.nom-logiciel {
    display: none;
    position: absolute;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #355e41;
    font-size: 0.7rem;
    margin-top: 30px;
    margin-left: -40px;
}

html {
    scroll-behavior: smooth;
  }
  
.co{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.skille{
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 20px;
    gap: 25px;
    width: auto;
}

.skill> h3{
    margin: 0px;
}
.skille> p{
    margin: 0px;
    padding: 0px;


}
.skill{
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.tousproj{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

p{
 font-size: 1.2rem; 
 padding: 5px;  
}

.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #355e41;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    z-index: 9999;
}

#scrollTopButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
    width: 50px;
    height: 50px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: background-color 0.3s;
    font-family: Arial, sans-serif;
}

#scrollTopButton:hover {
    background-color: #0000008a;
    bottom: 23px;
    transition: translateX(50%) translateY(5px);
}

.btnmoi{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: -30px;
    margin-bottom: 100px;
    font-size: 0.9rem;
}

.btnmoi>a{
    text-decoration: none;
    color: #355e41;
   
}

.btnmoi>a:hover{
    color: #355e41a1;
}

.sidepanel {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #355e41e5;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 999;
    display: none;
  }

  .menu-ouvert #mySidepanel{
    display: block;
  }
  
  .sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
    text-align: center;
    left: 50%;
  }
  
  .sidepanel a:hover {
    color: rgba(241, 241, 241, 0.484);
  }
  
  .sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
  }
  
  .openbtn > #openbtn, .openbtn, .trait{
    background-color: rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, 0);
    border-color: rgba(255, 255, 255, 0);
    fill: none;
    visibility: hidden;
 }

  
  .nav-link{
    list-style: none;
    top: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .header-scrolled .sidepanel{
    margin-top: 80px;
    background-color: #ffffffcd;
}
  .header-scrolled .nav-link li a{
    color: #355e41;
}
  .header-scrolled .nav-link li a:hover{
    color: #355e4190;
}
.header-scrolled .closebtn{
    color: #355e41;
}

.header-scrolled .trait{
    fill: none;
}

.language-button {
    background-color: #355e41; /* Vert */
    border: none;
    color: white;
    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:999;

  }

  .language-button:hover {
    background-color: #355e4179; /* Vert */
  }
  #btnFrench{
    position: fixed;
    right: 20px;
  }

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

.aexperience{
    text-decoration: none;
    color: #7d4695;
}
.aexperience:hover{
    color: #7d46956b;
}

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

.badge{
    float: left;
    height: 150px;
    width: 150px;
    shape-outside: circle();
    border-radius: 50%;
    clip-path: circle();
    object-fit: cover;
}

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

.paris{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
}

@media screen and (max-width: 1086px) {
    header{
        background-size:auto;
    }
    
}
  
  @media screen and (max-width: 768px) {
    .openbtn > #openbtn, .openbtn, .trait{
        position: fixed;
        right: 0%;
        font-size: 50px;
        cursor: pointer;
        background-color: rgba(17, 17, 17, 0);
        padding: 10px 15px;
        border: none;
        visibility: visible;
        fill: white;
    }

    header{
        background-size:auto;
        height: auto;
        width: auto;
    }

    #bonjour{
        line-height: 50px;
    }

    #etudiante{
        margin-top: -50px;
    }

    #skills{
        margin-top: 700px;
    }
   .botn-cv{
    gap: -10px;
   }
    .openbtn:hover {
        background-color:#ededed00;
      }

      .nav{
        visibility: hidden;
      }
      #sidepanel  {
        top: 0;
        
      }
      .header-scrolled .logo{
        display: flex;
        flex-direction: column;
    align-items: flex-end;
    justify-content: center;
        margin-top: -8px;
        left: 0;
    }

    #hero h2{
        margin-top: -90px;
    }
    #hero p{
        margin-top: -10px;
    }
    .haut{
        font-size: 0.6rem;
    }

    .header-scrolled .trait{
        fill: #355e41;
    }



    .language-button {

    font-size: 10px;
    }

    #btnFrench{
        right: 70px;

 }
 #btnEnglish{
    right: 120px;

 }

 .btn{
    width: 70px;
    font-size: 0.6rem;
 }

 .paris{
    flex-wrap: wrap;
 }
  }