/* ===========================
    PRÉPARATION & IMPORTS
    =========================== */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poor+Story&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Variables de couleurs */
:root {
    --bleu_foncer: #004aad;
    --bleu_clair: #00d2ff;
    --gris: #333333;
    --vert: #28a745;
    --blanc_glacial: #f5f5f5;
    --rose: #c300ff;
    --orange: #ff9724;
}

* {
    scrollbar-color: var(--bleu_clair) transparent;
    scrollbar-width: thin;
}

/* Classes de typographie réutilisables */
.gtt-700 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.pa-400 {
    font-family: "Poor Story", cursive;
    font-weight: 400;
}

.pd-400 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

.btn-montserrat {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
}

/* ===========================
    STYLES GÉNÉRAUX
    =========================== */

body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    user-select: none;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    color: var(--bleu_foncer);
    font-family: "montserrat", sans-serif;
    font-weight: 700;
}

/* ===========================
    NAVIGATION
    =========================== */

nav {
    height: 80px;
    width: 100%;
    background-color: var(--bleu_foncer);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

nav .nav_section {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo_section {
    width: 30%;
}

#nav_links {
    width: 70%;
}

nav .nav_section img {
    height: 30px;
}

nav .nav_section:first-child {
    gap: 20px;
}

nav .nav_section:first-child i {
    color: var(--bleu_clair);
    font-size: 28px;
}

nav .links {
    gap: 10px;
}

nav .links a {
    color: var(--blanc_glacial);
    text-decoration: none;
    transition:
        background-color 0.3s,
        color 0.3s;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
}

nav .links a:hover {
    background-color: var(--bleu_clair);
    color: var(--bleu_foncer);
    border-radius: 4px;
}

nav .links a:last-child {
    background-color: var(--bleu_clair);
    color: var(--bleu_foncer);
    border-radius: 4px;
}

/* ===========================
    FOOTER
    =========================== */

footer {
    height: 200px;
    width: 100%;
    background-color: var(--bleu_foncer);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

footer .footer_section {
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--blanc_glacial);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    text-align: center;
    padding: 0 20px;
}

footer .footer_section img {
    height: 40px;
}

footer .footer_section h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--blanc_glacial);
}

footer .footer_section ul li {
    color: var(--bleu_clair);
}

footer .footer_section:last-child ul li {
    color: var(--bleu_clair);
    list-style: none;
}

footer .footer_section a {
    color: var(--bleu_clair);
    text-decoration: none;
    transition: color 0.3s;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -ms-transition: color 0.3s;
    -o-transition: color 0.3s;
}

footer .footer_section a:hover {
    color: var(--vert);
}

footer .footer_section:first-child {
    justify-content: center;
}

footer .footer_section:nth-child(2) ul {
    width: 100%;
    text-align: left;
}

footer .footer_section:nth-child(3) ul {
    width: 100%;
    text-align: left;
}

footer .footer_section:nth-child(4) ul {
    width: 100%;
    text-align: left;
}

.responsive_menu {
    display: none;
}

/* ===========================
    MEDIA QUERIES
    =========================== */

@media only screen and (max-width: 992px) {
    #nav_links {
        display: none;
    }

    .login_responsive_none {
        display: none;
    }

    .responsive_menu {
        display: flex;
        width: 40%;
        right: 20px;
        top: 25px;
        color: var(--blanc_glacial);
        font-size: 28px;
        cursor: pointer;
        justify-content: flex-end;
    }

    .nav_section_responsive {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: -100%;
        right: 20px;
        background-color: var(--bleu_foncer);
        border: 1px solid var(--bleu_clair);
        border-radius: 4px;
        padding: 10px;
        gap: 10px;
        z-index: 1000;
        transition: all 0.5s ease-in-out;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
    }

    .nav_section_responsive a {
        color: var(--blanc_glacial);
        text-decoration: none;
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 8px 16px;
    }

    footer .footer_section {
        width: 40%;
        margin-bottom: 20px;
    }
    footer {
        flex-wrap: wrap;
        height: auto;
        padding: 20px 0;
        width: 100%;
    }
}

.alert {
    position: absolute;
    width: 100%;
    height: 100px;
    background-color: red;
    color: white;
    font-size: larger;
    font-weight: 700;
    margin-bottom: 30px;
    z-index: 9999999;
    animation: disparition 3s ease-in-out forwards;
    -webkit-animation: disparition 3s ease-in-out forwards;
}

.success {
    position: absolute;
    width: 100%;
    height: 100px;
    background-color: green;
    color: white;
    font-size: larger;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    z-index: 9999999;
    animation: disparition 3s ease-in-out forwards;
    -webkit-animation: disparition 3s ease-in-out forwards;
}

@keyframes disparition {
    0% {
        left: 0%;
    }

    50% {
        left: 0;
    }

    100% {
        left: 100%;
        display: none;
    }
}
