:root {
    --primary-color: rgba(246, 113, 5, 0.941); /* Bleu */
    --secondary-color: rgba(211, 147, 27, 0.941); /* Orange */
    --text-color: #0e0d0d; 
    --text-white : #fff;
}


*{
    margin: 0;
    padding: 0;
}

/* Remove default padding/margin on the body */
body, html {
    padding: 0;
    margin: 0;
    height: 100%;
}





#nav-bar {
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar-brand {
    color: var(--text-color);
    font-weight: 900 !important;
}

.navbar {
    padding: 0 !important;
    background-color: var(--text-white);
}

.navbar-nav li {
    padding: 0 5px;
} 

.navbar-nav li a {
    color: var(--text-color);
    font-weight: 600 !important;
}

ul .nav-item a {
    position: relative;
    padding-bottom: 5px;
}

ul .nav-item a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

ul .nav-item a:hover::after {
    transform: scaleY(1);
}

.btn {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);

}


/* Style du bouton de bascule */
.navbar-toggler {
    border: none; /* Supprime la bordure par défaut */
    background-color: transparent; /* Arrière-plan transparent */
    transition: background-color 0.3s ease; /* Transition pour l'arrière-plan */
}

.navbar-toggler-icon {
    background-image: none; /* Supprime l'icône par défaut */
    border: none;
}

/* Icône de menu personnalisée */
.navbar-toggler::before {
    content: '☰'; /* Utilise un caractère Unicode pour l'icône hamburger */
    font-size: 24px; /* Taille de l'icône */
    color: var(--primary-color); /* Couleur de l'icône */
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
}

/* Style lorsque le bouton est en survol */
.navbar-toggler:focus,
.navbar-toggler:hover {
    background-color: none; /* Arrière-plan lors du survol */
    outline: none;
    box-shadow: none;
    border: none;
}

.title {
    color: var(--primary-color);
    font-size: 25px;
    font-weight: bold;
}


@media (max-width: 768px) {

    body {
        padding: 10px;
    }
    .navbar-collapse {
        text-align: right;
        padding: 0px 50px;
    }

    .navbar-collapse a {
        display: inline-block;
    }


    .card {
        margin-bottom: 10px;
    }

    form .btn{
        margin-top: 10px;
    }

    #about .btn {
        margin-bottom: 10px;
    }

    footer .text-responsive {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    footer h5 {
        margin-top: 20px;
    }
    
}


.colant {
    background-color: var(--text-white);
    border: 1px solid #ddd;
}