body {
    font-family: Arial, sans-serif; /* Utilise la police Arial pour tout le texte */
    padding: 0;
    min-height: 100vh; /* Fait en sorte que le body occupe toute la hauteur de la fenêtre */
    margin: 0; /* Enlève les marges par défaut */
    display: flex;
    flex-direction: column;
}

nav {
    background-color: #c62222;
    color: #fff;
    padding: 20px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 50px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    flex-grow: 1; /* Fait en sorte que la partie principale (contenu) prenne tout l'espace disponible */


}


#text {
	margin-top: 40px;
	margin-bottom: 40px;
	margin-right: 40px;
}


footer {
    background-color: #c62222;
    color: #fff;
    text-align: center;
    padding: 5px; 
    font-size: 14px; /* Ajuste la taille du texte */
    margin-top: 20px; /* Ajoute un peu d'espace au-dessus du footer */
}

/* Media Queries for Responsive Design */

@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stack links vertically */
        gap: 10px;
        padding: 10px 0;
    }
}

@media screen and (max-width: 768px) {
    nav ul li {
        display: block;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 0 10px;
    }
}

/* Further adjustments for small screens */
@media screen and (max-width: 768px) {
    #logo-img {
        width: 90%; /* Makes the logo take more space */
    }
}

@media screen and (max-width: 480px) {
    #logo-img {
        width: 100%; /* Full width on very small screens */
    }
}


.logo-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espacement entre les logos */
    flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
}

.logo {
    height: 100px;
    width: auto;
    max-width: 250px;
}

.header {
    text-align: center; /* Centre tout le texte */
    margin-top: 20px;
}

#logo-img {
    display: block;
    margin: 0 auto;
    max-width: 100%; /* Ensures the image scales properly */
    height: auto;
    width: 80%; /* Adjust width for smaller screens */
}

a:link {
    color: orange;
    background-color: transparent;
    text-decoration: none;
  }
  
a:visited {
    color: red;
    background-color: transparent;
    text-decoration: none;
  }
  
a:hover {
    color: orangered;
    background-color: transparent;
    text-decoration: underline;
  }
  
a:active {
    color: yellow;
    background-color: transparent;
    text-decoration: underline;
  }

nav ul li a:link,
nav ul li a:visited,
nav ul li a:hover,
nav ul li a:active {
    color: #fff;
    text-decoration: none;
}

.abstract {
  display: none;
  margin-left: 20px;
  font-style: italic;
  color: #444;
}

.title {
  cursor: pointer;
  color: darkred;
  text-decoration: underline;
}