/* Ajout pour les appareils mobiles */

@media (max-width: 991.98px) {
    .resume-section {
        display: flex;
        flex-direction: column;
        /* Met les éléments en colonne sur mobile */
    }
    .order-lg-1 {
        order: 1;
        /* Met la première colonne (w-100) en premier sur mobile */
    }
    .order-lg-2 {
        order: 2;
        /* Met la deuxième colonne (lead) en deuxième sur mobile */
    }
    .navbar-brand {
        font-size: 14px!important;
        /* Texte du menu */
    }
    /* GRANDS TITRES */
    .mb-5 {
        font-size: 30px!important;
    }
    .stitre {
        font-size: 26px;
    }
    p.lead {
        font-size: 12px!important;
    }
    .JB {
        font-size: 70px!important;
    }
    .m-3 {
        font-size: 22px;
    }
    body,
    p,
    .list {
        font-size: 12px;
    }
    .date {
        font-size: 12px;
        font-style: italic;
    }
    h1 {
        font-size: 1.75rem;
        /* Titre principal réduit */
    }
    h4,
    h5,
    h6 {
        font-size: 12px;
        /* Sous-titres réduits */
    }
    #sideNav .navbar-nav .nav-item .nav-link {
        font-size: 1rem;
        /* Réduction du texte du menu "consultant informatique" */
    }
}


/* Styles originaux restants ... */

body.dark-mode {
    background-color: black;
    color: white;
}

.m-0 {
    background-color: white;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
    color: lightgray;
}


/* Styles pour le mode clair et sombre du bouton */

#dark-mode-toggle {
    background-color: #343A40;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode #dark-mode-toggle {
    background-color: white;
    color: black;
}


/* FIN Styles pour le mode clair et sombre du bouton */

body {
    font-family: Muli, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    padding-top: 54px;
    color: #868e96;
}

@media (min-width: 992px) {
    body {
        padding-top: 0;
        padding-left: 17rem;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Saira Extra Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-weight: 700;
    text-transform: uppercase;
    color: #343a40;
}

h1 {
    font-size: 6rem;
    line-height: 5.5rem;
}

h2 {
    font-size: 3rem;
}


/*h3 {
    font-size: 2rem;
}

*/

p.lead {
    font-size: 14px;
    font-weight: 400;
}

.subheading {
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Saira Extra Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-size: 1.5rem;
}

.social-icons a {
    display: inline-block;
    height: 3.5rem;
    width: 3.5rem;
    background-color: #495057;
    color: #fff!important;
    border-radius: 100%;
    text-align: center;
    font-size: 1.5rem;
    line-height: 3.5rem;
    margin-right: 1rem;
}

.social-icons a:last-child {
    margin-right: 0;
}

.social-icons a:hover {
    background-color: #bd5d38;
}


/* ICONES SKILL DEV - A retirer ? */

.dev-icons {
    font-size: 3rem;
}

.dev-icons .list-inline-item i:hover {
    color: #bd5d38;
}

#sideNav .navbar-nav .nav-item .nav-link {
    font-weight: 800;
    letter-spacing: .05rem;
    text-transform: uppercase;
}

#sideNav .navbar-toggler:focus {
    outline-color: #d48a6e;
}

@media (min-width: 992px) {
    #sideNav {
        text-align: center;
        position: fixed;
        top: 0;
        left: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 17rem;
        height: 100vh;
    }
    #sideNav .navbar-brand {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: auto auto 0;
        padding: .5rem;
    }
    #sideNav .navbar-brand .img-profile {
        max-width: 10rem;
        max-height: 10rem;
        border: .5rem solid rgba(255, 255, 255, .2);
    }
    #sideNav .navbar-collapse {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        width: 100%;
        margin-bottom: auto;
    }
    #sideNav .navbar-collapse .navbar-nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
    }
    #sideNav .navbar-collapse .navbar-nav .nav-item {
        display: block;
    }
    #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
        display: block;
    }
}

section.resume-section {
    padding-top: 5rem!important;
    padding-bottom: 5rem!important;
    max-width: 75rem;
}

section.resume-section .resume-item .resume-date {
    min-width: none;
}

@media (min-width: 768px) {
    section.resume-section {
        min-height: 100vh;
    }
    section.resume-section .resume-item .resume-date {
        min-width: 18rem;
    }
}

@media (min-width: 992px) {
    section.resume-section {
        padding-top: 3rem!important;
        padding-bottom: 3rem!important;
    }
}

.bg-primary {
    background-color: #bd5d38!important;
}

.text-primary {
    color: #bd5d38!important;
}

a {
    color: #bd5d38;
}

a:active,
a:focus,
a:hover {
    color: #824027;
}