/* cisam_di_app/static/cisam_di_app/css/cisam-custom.css */

/* PRIMO
------------- POLICE DE CARACTERES AMU --------------
--- Déclaration des variantes de AMUMonumentGrotesk ---
 */

/* Regular (Normal) */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Bold (Gras) */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Medium (Moyen) */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Regular Italic */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-RegularItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Bold Italic */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Medium Italic */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* --- Application à Bootstrap 5 --- */

:root {
    /* On définit la famille de police par défaut de Bootstrap */
    --bs-font-sans-serif: 'AMUMonumentGrotesk', sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

/* Force l'application sur l'ensemble des éléments (optionnel mais recommandé pour un remplacement total) */
body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.btn, input, textarea, select, .nav-link, .dropdown-item,
.card, .table, .modal-content, .accordion-button {
    font-family: 'AMUMonumentGrotesk', sans-serif !important;
}


/*  DEUZIO
--- Styles personnalisés CISAM ---
*/

.navbar {
    /*background-color: #eeeded;*/
    /*border-bottom: 2px solid yellow;*/
    border-bottom: 2px solid #FFD508;
}

.navbar-brand > div {
    white-space: normal;
}

@media (max-width: 999px) {
    .navbar-brand img {
        max-width: 10rem !important;
    }

    .navbar-text {
        font-size: 0.7rem;
    }
}

.nav-tabs .nav-link.active {
    /*border-bottom: 3px solid yellow !important; !* Utilisation de !important pour forcer la priorité *!*/
    border-bottom: 5px solid #FFD508; /* Utilisation de !important pour forcer la priorité */
}


.lg-login {
    font-size: 1.2rem;
    /*font-weight: 400;*/
    line-height: 2rem;
}

.table td {
    text-align: center;
}

.hidden {
    display: none;
}


.c-background-page {
    /*noinspection CssUnknownTarget*/
    background-image: url('/static/cisam_di/img/background-page.jpg');
    background-size: auto 100%; /* Adapte la hauteur à 100% de la fenêtre */
    background-position: left top;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh; /* Hauteur de la fenêtre */
    position: relative;
    overflow: visible; /* Permet le dépassement */
}

.c-background-navbar {
    /*noinspection CssUnknownTarget*/
    /*background-image: url('/static/cisam_di/img/background-page.jpg');*/
    /*noinspection CssUnknownTarget*/
    background-image: url('/static/cisam_di/img/background-navbar.jpg');
    /*background-size: auto 100%; !* Adapte la hauteur à 100% de la fenêtre *!*/
    background-position: left top;
    background-repeat: no-repeat;
    width: 100%;
    overflow: visible; /* Permet le dépassement */
}


.c-text-shadow {
    text-shadow: 1px 1px 2px #3d3b3b;
    background-color: rgba(19, 19, 19, 0.2);
}

.c-bg {
    background-color: rgba(129, 128, 128, 0.29);
}

.c-size-1-1 {
    font-size: 1.2rem;
}


.c-mw-600 {
    max-width: 600px;
}

.bandeau-logos {
    display: block;
    margin: auto;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
    width: 90%;
}

@media (min-width: 768px) {
    .bandeau-logos {
        width: 60%;
        max-width: 500px;
    }
}

@media (min-width: 1200px) {
    .bandeau-logos {
        width: 50%;
        max-width: 1000px;
    }
}


/* Animation de pulsation/ondulation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.10);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.c-lg-bouton-swell {
    animation: pulse 1.5s infinite;
}

.c-logo-bas {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 90vw;
    z-index: 1000;
}

@media (min-width: 1000px) {
    .c-logo-bas {
        max-width: 60vw;
    }
}

.nav-tabs {
    padding-left: 15px;
    margin-bottom: 0;
    border: none;
}
.tab-content {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
}


.contenant {
    position: relative;
    width: 100%;
    min-height: var(--lhauteur);
    color: white;
    margin-top: var(--lmargin-top);
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.arriere {
    position: relative;
    margin-right: 0;
    margin-left: 0;
    min-height: var(--lhauteur);
    background-color: #ffc107;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    max-width: 20rem;
}


.avant {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--lhauteur);
    background-color: #c06fe8;
    z-index: 20;
    opacity: 0;
    cursor: pointer;
}



.c-lienblanc {
    color: white !important;
    text-decoration: none !important;
}

.c-titre-accueil {
    color: white;
    font-size: 2.5rem;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    color: white;
    .c-titre-accueil {
        font-size: 2rem;
    }
}
