/* PARTIE PAGE PROJETS */

main.Projets{
    width: 94%;
    position: relative;
    margin-top: 5%;
    margin-left: 1%;
    overflow-x: hidden;
    overflow-y: hidden;
}

#Projets-NomAccueil{
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}
#Projets-NomAccueil>p{
    margin-bottom: 1%;
    
}

#Projets-Titre{
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
    font-size: 160%;
    font-size: 1.2em;
}

select {
    font-size: 1.4rem;
    padding: 2px 5px;
    background-color: #0d1117;
    color: white;
    border-color: white;
    border: none;
    box-shadow: 0 0 0.2em #fff, inset 0 0 0.1em #fff, 0 0 1em var(--light-blue-color), inset 0.1em 0 0.2em var(--light-blue-color), 0 0 0.2em var(--light-blue-color), inset 0 0 0.2em white;
}
  
#outputProjet{
    font-size: 1.7em;
    color: gray;
}
#Projets-bonus {
    display:flex;
    flex-direction: column;
    align-items: center;
    
}

label {
  font-size: 2.2em;
  color: var(--red-color);
}

#TitreProjet{
    margin-bottom: 0px
}

#langagesUtilises{
    display: flex;
    flex-direction: row;
    align-items: end;
}

#langagesUtilises>h4{
    padding-right: 1.2em;
}

.langage {
    position: relative; 
    width: 3em;     
    height: 2.5em;      
    margin-right: 1em;
    overflow: hidden; 
}

.langage img {
    width: 100%;
    height: 100%;
    transition: filter 1s ease; /* Animation pour le floutage */
}

.langage .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.5em;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7); /* Texte lisible sur fond flouté */
    opacity: 0; /* Caché par défaut */
    transition: opacity 0.5s ease; /* Animation pour l'apparition du texte */
    pointer-events: none; /* Évite d'intercepter les événements de la souris */
}

.langage:hover img {
    filter: blur(2px); /* Floute l'image */
}

.langage:hover .overlay-text {
    opacity: 1; /* Rend le texte visible */
}

p {
    color : white;
}
h2{
    color : white
    /*color : var(--red-color);*/
}
h4{
    color : var(--red-color);
}

/*Groupe d'images affichées sur la même ligne*/
.groupeImages{
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.groupeImages figure {
    margin : auto;
}

.groupeImages img {
    width: 100%;
}

.groupeImages figcaption {
    font-size: 0.6em;
    color: var(--red-color);
}

.imageG{
    width: 28%;
    margin: auto;
}

.output > a {
    margin-left: 0.7em;
}

/* Pour toutes les images pas visibles à cause du fond noir */
.imgPasNette {
    filter: contrast(40%);
}

iframe {
    width : 100%;
    height : 68vh;
}
