body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #F1F1F7;
}

.image-section {
    width: 100vw;
    margin-top: -10;
    position: relative;
    z-index: -1;
}

.yellow-band {
    background-color: #FFCC00;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin-top: -6px;
}

/* Texte pour les membres */
.alumni-text {
    font-size: 18px; /* Taille du texte */
    font-weight: 700;
    color: #333333; /* Gris foncé */
    font-family: 'Montserrat', sans-serif;
}

/* Bouton "Espace Membre" */
.espace-membre {
    display: inline-flex;
    align-items: center;
    background-color: #002C40;
    color: #FFFFFF;
    padding: 6px 10px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* Icône de cadenas dans le bouton */
.espace-membre .icon-lock {
    margin-left: 5px; /* Espacement entre le texte et l'icône */
}

/* Hover sur le bouton */
.espace-membre:hover {
    background-color: #005BB5; /* Bleu plus clair au survol */
}


.page-titleAccueil{
    font-size: 2em;
    text-transform: uppercase;
    margin-bottom: 85px;
    margin-top: 40px;
    text-align: center;
    font-family: 'Aristotelica Display Trial', sans-serif;
}

.page-titleMap{
    font-size: 2em;
    text-transform: uppercase;
    margin-bottom: 85px;
    text-align: center;
    margin-top: 85px;
    font-family: 'Aristotelica Display Trial', sans-serif;
}

.page-titleArticle{
    font-size: 2em;
    text-transform: uppercase;
    margin-bottom: 85px;
    text-align: center;
    color: white;
    font-family: 'Aristotelica Display Trial', sans-serif;
}

.page-titleAvis{
    font-size: 2em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Aristotelica Display Trial', sans-serif;
}

.paragrapheAccueil {

    text-align: center;
    width: 75%;
    margin: auto;
    line-height: 130%;
}

.paragrapheAvis {

    text-align: center;
    width: 90%;
    margin: auto;
    line-height: 130%;
    font-size: 20px;
}


.sectionStat {
    display: flex;
    justify-content: center;
    gap: 7%;
    margin-top:85px;
}

.cardStat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #002C40;
    width: fit-content;
    padding: 0px 15px;
    color: white;
}

.cardStat2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F4BB46 ;
    width: fit-content;
    padding: 0px 15px;
    color: #002C40;
}

.cardStat p, .cardStat2 p {
    text-align: center;
    margin-top: -10;
}

.chiffreStat {
    font-size: 40px;
    margin: 20;
}

/* Grille des portraits */
.portrait-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

.portrait-item {
    background-color: #fdfdfd;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    height: 410px;
}




.portrait-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Photo du portrait */
.portrait-photo img {
    width: 90%;
    height: 260px;
    object-fit: cover;
    display: flex;
    justify-content: center;
    margin: auto;
    margin-top: 20px;
}

/* Informations sur le portrait */
.portrait-info {
    padding: 10px;
    text-align: center;
}

.portrait-name {
    font-size: 23px;
    font-weight: 700;
    margin: 10px 0;
    color: #333;
}

.portrait-metier {
    font-weight: lighter;
    font-size: 16px;
}

/* Détails supplémentaires */
.portrait-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    font-size: 0.9em;
}

.portrait-age, .portrait-promo {
    font-size: 12px;
    font-weight: lighter;
}

.portrait-link {
    text-decoration: none;
    color: inherit;
}

/* Grille d'articles */
.actualite-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Style de chaque article */
.actualite-item {
    background-color: #fdfdfd;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    max-height: 480px;
    height: 480px;
}

.actualite-item:hover {
    transform: translateY(-5px);
}

/* Lien pour l'article */
.actualite-link {
    text-decoration: none;
    color: inherit;
}

/* Image de l'article */
.actualite-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: flex;
    justify-content: center;
    margin: auto;
}

/* Informations principales */
.actualite-info {
   padding: 0px 20px 0px 20px;
   font-size: 14px;
}

.actualite-title {
    font-size: 16px;
    font-weight: 700;
    margin: 15px 0;
    color: #333;
}

.actualite-intro {
    font-size: 1em;
    font-weight: lighter;
}

/* Détails de l'article */
.actualite-details {
    padding: 5px 20px 0px 20px;
    font-size: 0.9em;
    color: #646262;
}

.actualite-author, .actualite-date {
    display: block;
    font-size: 12px;
    color: #888;
}



.voir-plus-container {
    text-align: center;
    margin-top: 85px;
}

.voir-faq-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.voir-plus-button {
    background-color: #F4BB46;
    color: black;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.voir-faq {
    background-color: #F4BB46;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px 0px 20px;
}

.containerArticle {
    margin: 0 auto;
    padding: 85px;
    background-color: #002C40;
    margin-bottom: 85px;
}

.containerAvis {
    margin: 0 auto;
    padding: 85px;
    margin-top: 85px;
    background-color: #F4BB46;
}

/* Conteneur global pour la carte et l'overlay */
#map-wrapper {
    display: flex;
    justify-content: center; 
    position : relative;
    align-items: center;     
    margin: auto;
    width: 90%;
    height: 500px;
    margin-bottom: 85px;
}

/* Carte */
#map {
    height: 100%;            
    width: 90%;
    box-sizing: border-box;
}

/* Overlay */
#overlay {
    height: 100%;
    width: 30%;
    background-color: #f9f9f9;
    padding: 20px;
    box-sizing: border-box;
    display: none;
    position: relative;
    overflow-y: auto;
    border-left: 2px solid #ccc;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.card {
    display: flex;
    align-items: stretch; 
    background: #fff;
    width: 100%; 
    height: 120px;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-left {
    flex: 0 0 33%; 
    display: flex; 
    align-items: center;
    justify-content: center;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-right {
    flex: 1; 
    padding: 15px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.card-name {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.card-company {
    margin: 0;
    font-size: 16px;
    color: #777;
}

.card-metier,
.card-promotion {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}


.filter-container {
        position: absolute;
        top: 100px;
        left: 10px;
        background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent pour les filtres */
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000; /* Assurez-vous que les filtres soient au-dessus de la carte */
        width: auto;
        max-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Style des labels des filtres */
    .filter-container label {
        font-weight: bold;
        margin-bottom: 5px;
        font-size: 14px;
        color: #333;
    }

    /* Style des champs de sélection */
    .filter-container select {
        padding: 8px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
        transition: border-color 0.3s ease;
    }

    .filter-container select:focus {
        border-color: #002C40; /* Changement de couleur lors du focus */
        outline: none;
    }

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

        .portrait-archive-grid {
            grid-template-columns: repeat(1, 1fr);
        }
    
        .portrait-item {
            width: 80%;
            margin: auto;
        }
    
        .page-titleAccueil,.page-titleArticle,.page-titleCloud {
            font-size: 1.5em;
        }

        .page-titleArticle{
            padding-top: 85px;
        }

        .actualite-item {
            margin: auto;
            width: 80%;
        }

        .containerArticle {
            padding: 0;
        }

        .voir-plus-container {
            text-align: center;
            margin-top: 45px;
            padding-bottom: 45px;
        }

}

    @media screen and (min-width: 601px) and (max-width: 880px) {

        .portrait-archive-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

