header, .projects, footer {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:black;
    background-position: center 70px;
    background-attachment: fixed;
    background-size: 100%;
    background-repeat: no-repeat;
    text-align: center;
}

body {
    background-position: center 70px;
    background-attachment: fixed;
    background-size: 100%;
    background-repeat: no-repeat;
    text-align: center;
}

header {
    padding-top: 10px;
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight:bold;
}

.menu-principal ul {
    list-style-type: none;
    justify-content: flex-start; 
    display: flex;
    align-items: center; /* Aligne verticalement tous les éléments du menu */
  }
  
  .logo {
    display: flex; 
    align-items: center;
  }
  
  .avatar img {
    width: 10vw;
    margin-right: 10px; /* Espace entre l'avatar et le texte */
    margin-top: -5px; 
  }
  
  .logo a {
    text-decoration: none;
    font-size: 1.5em;
  }

  section div {
    display: flex;
    flex-direction: column; /* Aligne les images verticalement */
    align-items: center; /* Centre les images horizontalement */
    width: 100%; /* Occupe toute la largeur de l'écran */
    margin: 0; /* Évite les marges */
    padding: 0; /* Évite les padding */
  }

  section div img {
    width: 100%; /* Les images occupent toute la largeur du conteneur */
    height: auto; /* Garde les proportions des images */
    object-fit: cover; /* S'assure que l'image remplit correctement l'espace (au besoin) */
    display: block; /* Évite les espaces indésirables causés par les images inline */
    margin: 0; /* Évite les marges automatiques des images */
    padding: 0; /* Évite les padding automatiques des images */
    border: none; /* Supprime tout bord par défaut */
  }


.reseaux h1{
    position: relative;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    font-size: 4em;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.reseaux h1:after {
    content: "";
    position: absolute;
    left: -4px; /* Démarre le soulignement à gauche */
    bottom: -5px; /* Ajuste la distance entre le titre et le soulignement */
    width: 105%; /* Contrôle la longueur du soulignement (en % ou px) */
    height: 6px; /* Épaisseur du soulignement */
    background-color:#ffbc74; /* Couleur du soulignement */
}

.reseaux {
   display: flex;
    flex-direction: column; /* Organise les articles en colonne */
    align-items: center;
    gap: 20px; /* Espacement entre les réseaux sociaux */
    padding-bottom: 20px;
}

.reseau_1, .reseau_2, .reseau_3, .reseau_4 {
    display: flex;
    flex-direction: column; /* Place le texte sous l'icône */
    align-items: center; /* Centre horizontalement les éléments */
    margin-bottom: 40px;
    margin-top: 20px;
}


.reseau_2 {
    margin-left: 5px;
}

.reseau_3 {
    margin-left: 10px;
}

.reseau_4 {
    margin-left: 10px;
}


.reseaux img {
    height: 70px;
    margin-bottom: 10px; /* Espace entre l'icône et le texte */
}
.reseaux a{
   display: row; 
    text-decoration: none;
    color:white;
    font-size: 1.2em; 
    white-space: nowrap;
}
.reseaux a:hover{
    text-decoration: underline;
}

footer{
    background-color: #ffbc74;
    padding-top:10px;
    padding-bottom:10px;
    bottom:0;
    width:100%;
    font-size: 1em;
}

footer a{
    color:white;
    margin:0 2px 0 2px;
    text-decoration: none;
}

footer a:hover{
    text-decoration: underline;
    color:white;
}

@media (max-width: 400px) {
    .btn_voir_plus {
        font-size: 2em;
        padding: 10px 100px;
    }
}

@media only screen and (min-width: 980px) {
    h3:after {
      content: ' - DESKTOP';
      display: inline;
    }
    .body{
        color:black;
        background-size: 10px;
        margin-left: 50px;
        background-repeat: no-repeat;
        background-size: 15px;
    }

    .projects_img {
        text-align: center;
        display: flex;
        margin-bottom: 50px;
        justify-content: center; /* Centre les images horizontalement */
        width:90%;
    }

.projects_img img {
    width:90%;
    height:auto;
}

.projects_img img:hover {
    filter: brightness(70%);
    transform: scale(1.1);
}
.projects_img {
    text-align: center;
    margin-bottom: 50px;
    width:100%;
    overflow: hidden;
}

.project_1,.project_2,.project_3 {
position: relative;
}

.projects img {
    width:90%;
    margin-bottom: 10px;
    height:auto;
    transition: transform 0.5s ease; 
    filter : 0.5s ease;
}

.projects img:hover {
    transform: scale(1.1); /* Zoom de l'image au survol */
}

.project-title {
    font-size: 30px;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: white;
    font-weight: bold;
    opacity:0;
    transition: transform 0.5s ease; 
    filter : 0.5s ease;
}

.project_1:hover .project-title,
.project_2:hover .project-title,
.project_3:hover .project-title{
    opacity: 1; /* Rendre visible au survol */
}

.reseaux h1 {
    text-align: center;
    margin-bottom: 20px;
}

.reseaux h1 br {
    display: none; /* Masque le <br> pour éviter le retour à la ligne */
}

.reseaux_liste {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 50px; /* Espacement entre les colonnes */
    width: 100%;
    max-width: 800px; /* Ajuste selon la largeur souhaitée */
}


.reseau_1, .reseau_2, .reseau_3, .reseau_4 {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre l'icône et le texte */
}

.reseaux img {
    height: 70px;
    width: auto;
}

.reseaux a {
    text-decoration: none;
    color: #e6617f;
    font-size: 1.2em;
}
}
    
