body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: black;
    text-align: center;
}

header {
    background-color: yellow/*rgba(0, 0, 0, 0.5)*/;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* Place les éléments aux extrémités */
    position: relative;
    
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-link {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo-link img {
    width: 30px;
    height: auto;
}

.logo-link p {
    margin: 0;
    font-size: 12px;
    color: white;
}

header h1 {
    margin: 0 auto;
    text-align: center;
}

main {
    margin-left: 10%;
    margin-right: 10%;
    text-align: left;
}

h2 {
    margin-left: 100px;
    font-size: 25px;
    color: red;
    text-decoration: underline;
}

h3 {
    margin-left: 200px;
    font-size: 20px;
    color: green;
    text-decoration: underline;
}

main p {
    background-color: grey;
    padding: 15px;
    border-radius: 15px;
    font-size: 20px;
}

main ul {
    background-color: grey;
    padding: 15px;
    border-radius: 15px;
    font-size: 20px;
}

.morceau_code {
    color: green;
    background-color: black;
    padding: 2px;
    font-family: monospace;
    border-radius: 3px;
}

.code {
    background-color: black;
    color: #1ED60B;
    padding: 15px;
    font-size: 20px;
    font-family: monospace;
}

a {
    text-decoration: none; /* Supprime le soulignement */
    color: white; /* Change la couleur du lien */
    font-size: 18px;
    padding: 12px;
    display: block;
    background-color: rgba(0, 0, 0, 0.5); /* Ajoute un fond pour plus de lisibilité */
    border-radius: 5px;
}

footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-images {
    display: flex;
    gap: 10px;
    margin-right: 20px; /* Espacement par rapport au texte */
}

.footer-images img {
    max-height: 50px; /* Ajuste la hauteur maximale des images */
    width: auto; /* Permet aux images de garder leurs proportions */
}
