/* supprimer le bloc noir header */
.page-header {
    display: none;
}

/* Conteneur principal */
.projet-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

/* Chaque projet : flex pour aligner image et contenu */
.projet-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    transition: all 0.3s ease; /* Ajout d'une transition douce pour l'interaction */
}

/* Bloc image */
.projet-image {
    flex: 1; /* Espace à gauche */
    max-width: 50%;
}

.projet-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Bloc contenu */
.projet-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Titre */
.projet-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Description */
.projet-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Ligne de séparation */
.separator {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin-bottom: 15px;
}

/* Lien GitHub */
.projet-github {
    font-size: 16px;
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

.projet-github:hover {
    text-decoration: underline;
}

.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.load-more-btn {
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.load-more-btn:hover {
    background-color: #005bb5;
}

/* CSS pour la version desktop */
@media (min-width: 768px) {
    /* Projets côte à côte en desktop */
    .projet-item {
        flex-direction: row; /* Aligner les éléments en ligne sur les grands écrans */
        justify-content: space-between; /* Assurer un espacement équilibré */
        padding: 30px; /* Augmenter le padding pour un espacement plus large */
    }

    /* Image à gauche, prend 50% de l'espace */
    .projet-image {
        max-width: 50%;
    }

    /* Contenu à droite, occupe également 50% de l'espace */
    .projet-content {
        max-width: 50%;
        padding: 20px;
    }
}

/* Media Queries pour mobile */
@media (max-width: 768px) {
    .projet-item {
        flex-direction: column; /* Empile les éléments pour les petits écrans */
        align-items: center;
    }

    .projet-image {
        max-width: 100%; /* L'image prendra toute la largeur disponible */
        margin-bottom: 20px;
    }

    .projet-content {
        padding: 15px;
    }
}


body .mobile-menu .hamburger-inner, body .mobile-menu .hamburger-inner::before, body .mobile-menu .hamburger-inner::after {
    background:red;
}