
/* BASE & TYPOGRAPHIE */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; 
    color: #333;
}

/* En-tête */
header {
    color: #e0e0e0; 
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #003300;
    font-weight: bolder;
    padding: 30px;
}


header h1 {
    margin: 0;
    font-size: 2.3em;
    
}
header p {
    margin-top: 5px;
    font-size: 1em;
}

/* BARRE DE NAVIGATION (NAV) */
nav {
    background-color: #004400;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    padding: 7px;
    transition: 1s;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
nav ul li {
    display: inline-block;
    position: relative;
    margin: auto;
    font-family: 'Times New Roman', Times, serif;
    font-size: 120%;
}
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: background-color 0.3s;
}
nav ul li a:hover {
    background-color: #005500;
}


/* Contenu principal */
main {
    padding: 20px;
    max-width: 1000px;
    margin: 30px auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Titres de sections */
h2 {
    color: #006600; 
    border-bottom: 2px solid #a8e6a8;
    padding-bottom: 10px;
    margin-top: 30px;
}

/* Styles pour la section Domaines d'Intervention */
#domaines-intervention ul {
    list-style-type: square;
    padding-left: 20px;
}

/* Style pour l'image fusionnée */
.full-width-image {
    width: 100%;
    height: auto;
    border-radius: 8px; 
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Pied de page */
footer {
    background-color: #003300; 
    color: #e0e0e0; 
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
}
.footer-logo {
    width: 150px; 
    height: auto; 
    margin-bottom: 15px;
    display: block; 
    margin-left: auto;
    margin-right: auto;
}
footer a {
    color: #a8e6a8; 
    text-decoration: none;
}

/* NOUVEAU CSS POUR LE JAVASCRIPT : Les éléments commencent invisibles */


#sm-ul {
    transition: 1s;
    height: auto;
}

#donateBtn{
    background-color: white;
    color: #003300;
    font-weight: bolder;
    height: 50px;
    width: 200px;
    border-radius: 50px;
    border-width: 0;
    transition: 1s;
}

#donateBtn:hover{
    background-color: #003300;
    color: white;
    scale: 1.1;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}


.navDiv {
    width: 100%;
    text-align: end;
    padding: 3px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
}