/* Corps général */
body {
    font-family: Garamond;
    line-height: 1.6;
    background-color: #ffffff;
    color: #48494C;
}

/* Navigation */
.navbar {
    font-family: Garamond;
    font-weight: bold;
    font-size: large;
    text-align: center;
}

.nav-link {
    color: #646C77;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
    color: #FFFFFF;
    background-color: #BD9D7E;
    border-radius: 5px;
}

.jumbotron {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D0D8E3; 
    height: 100px; 
    margin-top: 30px; 
    margin-bottom: 30px;
    padding: 0; 
}

.jumbotron h1 {
    color: #48494C;
    margin: 0; 
    display: inline-block; 
}

.card h2 {
    color: #3B2715;
}

.container p {
    color: #48494C;
    font-size: 1.3rem;
    text-align: justify;
    text-indent: 30px;
}

.container p a {
    color: #BD9D7E; 
    font-weight: bolder;
    text-decoration: none; 
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

.container p a:hover {
    color: #48494C;
    text-decoration: underline;
}

/* Le code suivant est momentanément désactivé* /
/* Container principal pour la timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    max-width: 600px;
    margin: 0 auto;
}

/* Événement */
.timeline-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: 3px solid #3B2715; 
    padding-left: 15px;
    position: relative;
}

/* Point de l'événement */
.timeline-event::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #3B2715;
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: 0;
    transform: translateY(0%);
}

/* Date de l'événement */
.timeline-date {
    font-weight: bold;
    font-size: 1.2em;
    color: #3B2715;
    margin-bottom: 5px;
}

/* Contenu de l'événement */
.timeline-content {
    background-color: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



/* FOOTER */

footer {
    padding: 40px 0;
    color: white;
}

footer.bg-primary {
    background-color: #48494C !important;
}

footer h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}


/*Texte droits d'auteurs */
footer h5 {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #ffffff;
    text-underline-offset: 10px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
    font-family: Garamond;
}

/* Section droits d'auteurs */
.footer-copyright {
    text-align: center;
    padding: 20px;
    background-color: #a2a4a8;
    font-weight: bolder;
    color: #E9EAEE;
    display: inline-block;
    background-color: rgba(108, 117, 125, .75);
    border-radius: 50rem;
    padding: 0.25rem 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-copyright a {
    color: #BD9D7E;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

.footer-copyright a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Section des logos dans le footer */
.logos-section {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    background: #E9EAEE; 
    border: 1px solid #d3c7b5;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.logos-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 100%;
    height: 40px;
    background: #E9EAEE;
    clip-path:polygon (0 0, 50% 100%, 100% 0);
    z-index: -1;
}

.footer-logo {
    max-height: 60px;
    margin: 0 50px;
}

/* Alignement du mendu déroulant */
.dropdown-menu-end {
    right: 0;
    left: auto;
}


@media (max-width: 768px) {
    /* Navbar */
    .navbar-brand:hover {
        color: inherit;
        background-color: transparent;
        padding: 0;
        border-radius: 0;
    }

    .nav-link:hover {
        color: inherit;
        background-color: transparent;
        border-radius: 0;
    }

    /* Logos */
    .footer-logo {
        max-height: 40px;
        margin: 0 5px;
    }

    .logos-section {
        margin-top: 15px;
    }
}