:root {
    --background-color: #EEEEEE;
    --text-color: #333;
    --card-background-color: white;
    --card-text-color: black;
}

[data-theme="dark"] {
    --background-color: #333;
    --text-color: #EEEEEE;
    --card-background-color: #444;
    --card-text-color: #EEEEEE;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.theme-toggle-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1E90FF;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-toggle-button:hover {
    background-color: #0077cc;
}

/* Autres styles CSS */
.container {
    width: 60vw;
    padding: 0 5vw;
    margin: 10vh 0;
}

h1, .custom-h1 {
    font-size: 22em;
    font-family: 'roboto', sans-serif;
    text-decoration: none;
    color: #1E90FF;
    margin-left: -200px; /* Réduire la marge de gauche */
    margin-top: -120px; /* Réduire la marge du sommet */
    margin-bottom: -20px; /* Réduire la marge du sommet */
    letter-spacing: 0.05em;
}

h2, .custom-h2 {
    font-size: 1.8em;
    font-family: 'open sans', sans-serif;
    letter-spacing: 0.04em;
}

p, .custom-paragraph, li {
    font-size: 22px;
    line-height: 1.7;
    font-family: 'open sans', sans-serif;
    letter-spacing: 0.03em;
}

.center-image {
    text-align: center;
}

a {
    text-decoration: none;
    color: #1E90FF;
}

/* Styles spécifiques aux appareils mobiles et tablettes */
@media (max-width: 1110px) {
    .container {
        width: 95%;
        padding: 0 2.5%;
        margin: 5vh auto;
    }

h1, .custom-h1 {
        font-size: 2.5em; /* Réduire la taille de la police pour mobile */
        margin-left: 0; /* Réinitialiser la marge de gauche */
        margin-top: 0; /* Réinitialiser la marge du sommet */
        margin-bottom: 0.5em; /* Réduire la marge du bas */
    }

    .custom-paragraph, li {
        font-size: 1em;
        text-align: justify;
    }
}

/* Autres styles CSS */