/* *{
    border: solid 1px gray;
} */


.nav-link{
    font-weight: bold;
    color: #5977d1 !important;
    font-size: 15px;
}
.nav-link:hover{
    border-radius: 20px;
    background-color: #5977d1;
    color: white !important;
}
.on-hover:hover .dropdown-menu {
    display: block;
}
.dropdown-item{
    font-size: 15px;
    font-weight: bold !important;
    color: #5977d1 !important;
}
.dropdown-item:hover{
    background-color: #5977d1 !important;
    color: white !important;
    transition: transform 0.4s !important;
}
.nav-button{
    border-radius: 30px !important;
    background-color: #001b5b !important;
    font-weight: bolder !important;
    border: solid 4px #8fb23f !important;
}
.nav-button:hover{
    background-color:  #8fb23f!important;
    font-weight: bolder !important;
    border: solid 4px #001b5b !important;
    color: #001b5b !important;
    
}
.carousel-img{
    clip-path: inset(0px 0px 500px 0px);
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.text {
    color: black; /* Texte en blanc */
    font-size: 50px;
    font-weight: bold;
    background-color: #e7e7e76e; /* Arrière-plan bleu */
}
.text-container{
    align-items: center;
    padding-top: 90px;
    padding-left: 60px;
    padding-right: 60px;
    width: 700px;
}
.carousel-paragraph{
    color: black; 
    font-size: 20px;
}
.carousel-button{
    display: inline-block;
    padding: 10px 20px;
    background-color: #9bbf3e;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    
}
.carousel{
    height: 550px !important;
}
.carousel img{
    height: 550px !important;
  }
.carousel-button:hover{
    background-color: #2e86c1;
}
.button-container{
    margin-left: 90px;
}

.first-paragraph{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.the-middle-text{
    color: #403d91;
}

.the-button-container{
    display: flex;
    justify-content: center;
}
.the-button{
    background-color: #001b5b !important;
    border-radius: 30px !important;
    border-color: #8fb23f !important;
    color: #fff !important;
    padding: 10px 15px !important;
}
.the-middle-paragraph{
    background-color: #ffffff;
}

.the-second-paragraph{
    margin-right: -15px;
}

.under-paragraph h1, h2{
    color: #5a8df4;
}
.projects{
    background-color: #9bbf3e;
}
.service-text{
    color: #4285f4;
    font-weight: bold;
}
.cards{
    box-shadow: 1px 10px 5px grey;
}
.users{
    background-color: #314490;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.users-title{
    color: #4285f4;
    font-weight: bold;

}
.users-text{
    font-weight: bold;
    color: white;
}
.contact{
    color: white;
    background-color: #9bbf3e;
}
.contact p{
    color:#001b5b;
    font-weight: bolder;
}
.contact-button{
    background-color: #314490;
    color: white;
    font-weight: bold;
    border-radius: 10px;
}
.contact-button:hover{
    color: #314490;
    background-color: white;
}
.footer{
    background-color: #001b5b !important;
}
.footer-links a{
    color: grey;
    text-decoration: none;
    width:max-content;
    
}
.footer-links{
    border: solid 0.5px #a0a0a0;
    color: #a0a0a0;
    margin:10px ;
    transition: all 0.3s ease;
}

.footer-links:hover{
    color: #fff !important;
    text-decoration: none !important;
    background-color: #546ac2;
    cursor: pointer;
    border-radius: 20px;
}
.table{
    border-collapse: separate;
    border-spacing: 10px;
}

.footer-headers{
    color: #9bbe3d !important;
    font-size: 20px;
}

.horizontal-line {
    width: 100%;
    height: 2px;
    background-color: #9bbe3d;
}

.footer-propos{
    text-decoration: underline;
}
.footer-propos:hover{
    color: #8fb23f !important;
}
.the-space{
    margin: 0px 100px 0px 100px !important;
}
.paragraph-img1{
    height: 330px !important;
}
.paragraph-img2{
    height: 400px !important;
}
@media (min-width: 991px){
    .center-navbar {
        display: flex !important;
        justify-content: center !important;
        background-color: #f8f9fa !important;
    }
}
@media (max-width: 700px) {
    .text-container{
        padding-top: 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: auto;
    }
    .text{
        font-size: 16px;
        text-align: center;
    }
    .carousel-paragraph{
        font-size: 10px;
        text-align: center;
    }
    .carousel-button{
        font-size: 10px;
        padding: 5px 10px;

    }
    .button-container{
        margin-left: 0px;
    }
    
    
    .the-second-paragraph{
        margin-right: -450px !important;
        padding: 50px;
    }
    .the-space{
        margin: 0px 0px 0px 0px !important;
    }
    .carousel{
        height: 200px !important;
    }
    .carousel img{
        height: 200px !important;
    }
    .text-container{
        margin-top: -200px !important;
        padding: 50px 0px 50px 0px;
    }
    .overlay {
        top: -50px;
        left: -50px;
        width: 100%;
        height: 100%;
        padding: 100px 0px 100px 0px !important;
    }
    .the-big-text{
        padding: 0px 50px 0px 50px !important;
    }
}
#back-to-top-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #9bbe3d;
    color: #fff;
    border: none;
    padding: 15px 15px;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s, transform 0.3s;
}

#back-to-top-button span {
    font-size: 24px;
}

#back-to-top-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.center-navbar{
    position: sticky;
    top: 0;
    z-index: 100;
}
