html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #F5F5DC; /* fond crème doux */
    color: #054b29;            /* texte principal en vert foncé */
    font-family: "Open Sans",sans-serif;

}

header {
    background-color: #054b29; /* vert forêt foncé */
    color: white;
}
header .container{
    max-width: 1800px;
}
header .header-logo {
    display: flex;
    align-items: center;
}

header .navbar-toggler {
    background-color: #ffffff;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
}

header.navbar-brand .omsa-label {
    color: #ffffff; /* couleur de base du mot OMSA */
    transition: color 0.3s ease;
    font-size: xxx-large;
}

header .navbar-brand:hover .omsa-label {
    color: #85c536; /* couleur au survol : vert OMSA, par exemple */
}

header .header-logo a {
    font-family: "Chau Philomene One", "sans-serif";
    color: white;
    font-size: xxx-large;
    text-decoration: none;

}

.header-logo img {
    max-width: 100px;
    margin-right: 10px;
}

header ul .nav-item .nav-link {
    color: white;
    text-decoration: none;
    font-size: x-large;
}

main .container {
    max-width: 1800px;

}


main .h1 {
    margin: 20px 0;
    color: #054b29;
    font-weight: bold;
    font-size: calc(1.375rem + 1.5vw);
}

main .nav-membre a {
    color: #85c536;
    font-size: larger;
    font-weight: bold;
}

main .nav-membre a:hover {
    color: #054b29;
}

main .h2, .h3 ,.h4 ,.h5 {
    margin: 20px 0;
    color: #138d40; /* vert moyen */
    font-weight:bolder;
}

/* Boutons */
main .btn {
    text-decoration: none;
    background-color: #138d40;
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

main .btn a :hover {
    background-color: #6ba72b;
}


/* page loggin*/

main .container .login{
    background-color: rgba(133, 197, 54, 0.2);
}


/*CSS FOOTER*/
footer {
    text-align: center;
    background-color: #054b29;
    color: white;
    font-size: smaller;
}

.footer-wrapper {
    width: 100%;
    max-width: none; /* ou 100vw si tu veux t'assurer que ça suit toute la largeur */
    padding: 0;
    margin: 0;
}

.footer-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 100%;
    width: fit-content;
}
.footer-title {
    font-weight: 600;
    font-size: 1rem;
    color: #054b29;
    white-space: nowrap;
}
.footer-block {
    background-color: #ffffff;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.footer-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #138d40;
    text-decoration: none;
    font-weight: bolder;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #85c536;
    text-decoration: underline;
}

.logo {
    max-height: 40px;
    width: auto;
}

.ced-logo {
    max-height: 95px;
    display: block;
}

div small{
    color:white;
}

div small a{
    color:white;
}
