/* Réinitialisation des marges et padding */
body, h1, ul, li, a {
    margin: 0;
    padding: 0;
}

/* Structure flexible pour le footer */
html {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Conteneur pour le contenu principal (header, nav, main) */
.content-wrapper {
    flex: 1;
}

/* En-tête */
header {
    background-color: #1e3a8a;
    color: white;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
    position: relative;
}

.logos {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.logos a {
    display: flex;
    align-items: center;
    height: 40px;
}

header h1 {
    font-size: 1.5em;
    text-align: center;
    width: 100%;
}

/* Barre de navigation */
nav {
    background-color: #3b82f6;
    padding: 10px 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #1e40af;
}

/* Contenu principal */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

/* Style pour les paragraphes dans les articles */
main p {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

/* Style pour les titres dans les articles */
main h2 {
    font-family: Arial, sans-serif;
    font-size: 1.4em;
    color: #1e3a8a;
    margin-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 5px;
}

main h3 {
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    color: #1e3a8a;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

/* Iframe */
iframe {
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Vidéos */
.video-container {
    display: inline-block;
    position: relative;
    width: 445px;
    height: 334px;
    overflow: hidden;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #3b82f6;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #e6e6e6;
}

td a {
    color: #1e3a8a;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

/* Pied de page */
footer {
    background-color: #1e3a8a;
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
}

.footer-content p {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.email-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: bold;
}

.email-link:hover {
    text-decoration: underline;
}

main > * {
    margin: 20px 0;
}
