: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: 'Roboto','Philosopher'; */
}

@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;
}

h1{
    text-align: center;
    margin: 15px 0;
}

.btnGroup{
    display: flex; 
    gap: 10px; 
}

.btn-info{
    margin-bottom: 10px;
}

.btn-danger{
    color: black;
}

.container{
    width: 500px;
    margin-top: 40px;
}
/* page index */
.form-check{
    margin: 15px;
}

.row{
    margin-top: 15px;
}

/* ========== PAGE PUBLIQUE ARBITRES ========== */

.arbitres-section {
    padding: 20px;
}

.logoArbitre{
    width: 45px;
    height: 45px;
}

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

.arbitre-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);
    position: relative;
    overflow: hidden;
}

/* Effet brillance en haut comme la vignette FFHandball */
.arbitre-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), transparent 60%);
    pointer-events: none;
}

/* Bande jaune en haut */
.arbitre-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--jaune);
}

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

.arbitre-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;
}

.arbitre-card .arbitre-nom {
    font-family: 'coolveticaRegular', sans-serif;
    font-size: 1rem;
    color: var(--jaune);
    margin: 8px 0 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arbitre-card .arbitre-prenom {
    font-size: 0.8rem;
    color: white;
    margin: 0 0 8px;
}

.arbitre-card .arbitre-niveau {
    display: inline-block;
    background: var(--jaune);
    color: #0a2f7a;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Titres de section */
.arbitres-section h2 {
    text-align: center;
    color: var(--bleu);
    font-family: 'coolveticaRegular', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 30px 0 10px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--jaune);
    display: inline-block;
    width: 100%;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .arbitre-card {
        width: 150px;
    }
    .arbitre-card img {
        width: 90px;
        height: 90px;
    }
}
/* Fin de la vue portable */

/* Vue tablette */
@media screen and (min-width:601px) {
    :root {
        font-size: 16px;
    }


}
/* Fin vue tablette */

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