@font-face {
    font-family : "CarterOne";
    src: url(../fonts/CarterOne.ttf) format("truetype");
}


.ex {
    font-family : "CarterOne", sans-serif;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background: linear-gradient(
        to bottom,       /* direction du gradient */
        white 0px,
        white 80px,      /* blanche jusqu'à 80px */
        #F8F4ED 80px     /* couleur de fond après 80px */
    );
    background-repeat: no-repeat; 
    color: #1B362C;
}

.bg-nav {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #FFF0;
}

.bg-nav:hover{
    background-color: #FFF;
}

.nomarge {
    margin: 0;
    padding: 0;
}

.menucont {
    padding-left: 50px;
    padding-right: 50px;
}
.nomargin {
    margin: 0;
}

.navbar {
    z-index: 10;
    font-size: 2rem;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.navbar-nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}


.navbar-nav .nav-link{
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
    margin-left: 2rem;
    margin-right: 2rem;
    transition: all 0.5s ease;  /* le temps d'animation des boutons du menu */
    border-radius: 8px;
    color: #92fd18; /* couleur du text du menu */
}


.imageAccueil{
    position: relative;
    top: -80px;
    z-index: 1;
}

.liencontact{
    color: #1B362C;
}

.liencontact:hover{
    color: #76bd25;
}

.navbar .nav-link.active {
    color: #000A; /* couleur de l'onglet actif */
}

.navbar .nav-link:hover {
    color: #548574 ; /* couleur de l'onglet actif */
}

.navbar .nav-link:active {
    color: #548574;
}

.background-white {
    position:sticky;
    display: none;
    top: 0;
    width: 100%;
    height: 80px;         
    background-color: white;
    z-index: 0;           
}


.alert {
    z-index: -1;
}
