@charset "UTF-8";

/*!
 * Version - 1.1.1
 * Copyright (c) 2025
*/

/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css');
@import url('../vendor/bootstrap/css/bootstrap.min.css');
@import url('color.css?v');
@import url('typography.css');

/*  ==========================================
*   ================= GENERAL ================
*/
* {
    font-family: var(--ff-source);
    font-weight: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100vh !important;
    margin: 0;
}

body {
    display: flex !important;
    flex-direction: column !important;
}

main {
    flex-grow: 1 !important;
}

a {
    text-decoration: none !important;
}

p {
    font-size: 15px !important;
}

/** ================== -- Header ================== **/
.topbar {
    background-color: var(--primary);
    color: #feecca;
}

.topbar-slogan {
    font-size: 14px;
}

.header {
    position: fixed;
    /* SORT du flux */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background-color: #fff;
    box-shadow: 0 0.15rem 0.5rem rgba(33, 37, 41, .15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s;
}

.header.is-visible {
    opacity: 1;
    visibility: visible;
    /* transform: translateY(0); */
}

main {
    color: var(--dark);
}

.title {
    font-family: var(--ff-title);
}

.form-control {
    color: var(--dark);
    border-color: var(--dark);
}

/*  =========================================
*   ================== NAV ==================
*/
#nav .nav-link {
    color: var(--dark);
    font-weight: 400;
    font-size: 14px;
    border-radius: 5px;
}

#nav .nav-link.active {
    background-color: #fdf9ff40;
    width: auto;
}

#nav .nav-item {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: background .3s;
}

#nav .nav-item:hover .nav-link:not(.active) {
    background-color: #fdf9ff40;
    width: auto;
}

/*  ==========================================
*   ================= CUSTOM ================
*/


/* Media queries */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    #home h1 {
        font-size: 50px !important;
    }

    #home .logo-light {
        width: 200px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1700px) {}

/*  ==========================================
*   ================= TEXTES ================
*/

/*  ===============================================
*   ============== Variables Global ===============
*/

*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--light);
    background-color: var(--light);
}

*::-webkit-scrollbar {
    width: 10px;
    background-color: var(--light);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--primary) !important;
}

::selection {
    background-color: var(--primary);
    color: var(--light);
}

:root {
    --primary: #2f3192;
    --dark-primary: #161762;
    --secondary: #dd5813;
    --tertiary: #ae1d20;
    --dark: #000000;
    --light: #ffffff;
    --gray: #f0f0f0;
    --light-blue: #DFF7FF;
    --green: #61BB14;

    --ff-source: "Inter", sans-serif;
}