/* Importation de la police Google Fonts (à remplacer par la police souhaitée) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Styles généraux */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

/* En-tête */
.header {
    text-align: center;
    margin: 40px 0;
}

.header h1 {
    font-size: 2.5em;
    font-weight: 700;
    color: #1a237e;
    letter-spacing: 2px;
}

/* Points décoratifs */
.points-top-left, .points-top-right {
    position: absolute;
    top: 20px;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(#1a237e 15%, transparent 15%);
    background-size: 20px 20px;
    background-position: 0 0;
}

.points-top-left {
    left: 20px;
}

.points-top-right {
    right: 20px;
}

/* Grille du trombinoscope */
.trombinoscope {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 888px;
    margin: 0 auto;
}

/* Bloc de chaque personne */
.personne {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personne:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.personne img {
    width: 150px;
    height: 150px;
    border-radius: 30%; /* Image ronde */
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #1a237e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.personne .nom {
    font-size: 1.2em;
    font-weight: 700;
    color: #1a237e;
    margin: 0px 0 5px;
}

.personne .titre {
    font-size: 0.9em;
    color: #555;
    margin: 0;
}

/* Media queries pour la réactivité */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }
    
    .points-top-left, .points-top-right {
        width: 100px;
        height: 100px;
    }
}

/* Styles for the new filter dropdown */
#site-filter {
    padding: 8px 12px;
    border: 2px solid #1a237e;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1a237e;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#site-filter:hover {
    background-color: #e8eaf6; /* Light blue hover */
}

#site-filter:focus {
    outline: none;
    border-color: #3f51b5; /* Deeper blue focus */
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.3);
}