:root{
    /* les couleurs du site */
    --ecru: #fff8dc;
    --jaune: #e4a600;
    --bleu: #1550c6;
    --bRoi: #4169E1;
    font-size: 12px;
    /* font-family: 'Philosopher', 'Lora', Tahoma, sans-serif; */
    /* font-family: 'Philosopher', Tahoma, sans-serif; */
}

@font-face {
    font-family: 'coolveticaRegular';
    src: url('/fonts/coolvetica rg.otf');
    font-weight: normal; /* Définit le poids (normal, bold, etc.) */
    font-style: normal;  /* Définit le style (normal, italic, etc.) */

}

@font-face {
    font-family: 'sansationRegular';
    src: url('/fonts/Sansation_Regular.ttf');
    font-weight: normal; /* Définit le poids (normal, bold, etc.) */
    font-style: normal;  /* Définit le style (normal, italic, etc.) */
    
}

body{
    font-family: 'sansationRegular', sans-serif;
}

main{
    padding: 0 10px;
    /* height: calc(100vh - 260px); */
    background-color: var(--bleu);
} 

.newImage{
    /* padding: 0 10px; */
    height: calc(100vh - 260px);
}

h1, h2 {
    text-align: center;
    margin-top: 40px;
}

.scrollable-checkboxes {
    max-height: 150px;  /* Hauteur maximale de la zone */
    overflow-y: scroll;  /* Active le défilement vertical */
    border: 1px solid #ccc;  /* Optionnel : bordure pour démarquer la zone */
    padding: 5px;  /* Optionnel : espacement à l'intérieur */
    background-color: white;
}

.logoMembreBureau{
    width: 80px;
    height: 80px;
}

.photoMembreBureau{
    width: 150px;
    height: 150px;
}

/* edit image_bureau */
#image_bureau{
    display: grid;
    grid-template-rows: 1fr;
    gap: 10px;
    justify-content: center;
    text-align: center;
    margin: 50px auto;
}

.imageBureauEdit{
    display: block;
    width: 500px;
    height: 400px;
    margin: auto;
}

.boutons{
    margin: 25px 0;
    display: flex;
    justify-content: left;
}

.imgMembre{ /* image dans edit */
    width: 300px;
    height: 300px;
}

.photo_membre{
    text-align: center;
    margin-bottom: 15px;
}

.table-centered{
    width: 100%;
    border-collapse: collapse; /* Supprime l'espace entre les cellules */
}

.table-centered td, .table-centered th {
    text-align: center; /* Centre horizontalement le texte */
    vertical-align: middle; /* Centre verticalement le contenu */
    padding: 10px; /* Optionnel : ajoute un peu d'espace à l'intérieur des cellules */
}

.table-centered img {
    display: block; /* Pour que l'image soit bien centrée */
    margin: 0 auto; /* Centre l'image dans la cellule */
}

.btn-danger {
    color: black; 
    margin-top: 5px;
}

.formImageBureau{
    width: 500px;
    display: grid;
    grid-template-rows: 1fr;
    gap: 10px;
    justify-content: center;
    text-align: center;
    margin: 100px auto;
}

.imageBureau{  /* image du bureau dans index/bureau */
    width: 400px;
    height: 300px;
}

section{
    margin-bottom: 20px;
}
/* parti du bureau vue index accueil */
.imageBureauAccueil{
    height: 50%;
    width: 50%;
    display: grid;
    grid-template-rows: 1fr;
    justify-content: center;
    text-align: center;
    margin: auto;
}

.treeDirector{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bureau-directeur{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 30px 0;
}

.membreBureau-card{
    width: 250px;
    background: linear-gradient(145deg, #1550c6, #0a2f7a);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 2px solid var(--jaune);
}

.membreBureau-card::before, .membre-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), transparent 60%);
    pointer-events: none;
}

/* Bande jaune en haut */
.membreBureau-card::after, .membre-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--jaune);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    /* z-index: 2; */
}

/* Effet 3D au hover */
.membreBureau-card:hover, .membre-card:hover {
    transform: perspective(800px) rotateY(5deg) rotateX(-5deg) translateY(-8px);
    box-shadow: -8px 16px 30px rgba(0, 0, 0, 0.4);
}

.membreBureau-card img, .membre-card img {
    /* width: 180px;
    height: 220px; */
    width: 200px;
    height: 240px;
    object-fit: cover;
    border-radius: 10px; 
    border: 3px solid var(--jaune);
    margin: 10px auto;
    display: block;
}

.membreCommission, .commissionBuvette, .commissionFinance, .commissionManif, .commissionSportif, .commissionSala{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 30px 0; 
}

.commissionBuvette,
.commissionFinance,
.commissionManif,
.commissionSportif,
.commissionSala{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.membre-card{
    width: 250px;
    background: linear-gradient(145deg, #1550c6, #0a2f7a);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 2px solid var(--jaune);
}

/* Ecran d'au moins 1024px de largeur */
@media screen and (min-width:1024px) {
    :root {
        font-size: 16px;
    }

    h1{
        margin: 20px;
    }
    
   
}
/* fin de la vue ordinateur */
