* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    

}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #333;
    color: white;
    gap: 80px;

}

.photo-profil img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    
}


.infos h1 {
    font-size: 36px;
}

.infos h2 {
    font-size: 24px;
    color: #4682b4;
}

a {
    color: #4682b4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

section {
    margin: 20px;
    text-align: center;
}

section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}


/* Style du bouton */
button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 32px;
    text-align: center;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    
}

/* Effet au survol */
button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

/* Animation lors du clic */
button:active {
    transform: scale(0.95);
}

h3 {
    font-size: 22px;
    color: #2c7a2c;
    margin-bottom: 10px;
    text-align: center;
}
ul {
    padding-left: 0; /* Supprimer le padding par défaut pour centrer la liste */
    
    display: flex; /* Utiliser flexbox pour centrer les éléments */
    flex-direction: column; /* Aligner les éléments verticalement */
    align-items: center; /* Centrer les <li> horizontalement */
}
ul li {
    background-color: #b0b0b0;
    color: #333;
    padding: 10px;
    margin: 5px ;
    border-radius: 5px;
    text-align: center;
    align-items: center;
    justify-items: center;
    width: 50%;
}

section#skills h2 {
    margin-top: 40px;
    font-size: 28px;
}

section#skills h3 {
    margin-top: 20px;
    font-size: 22px;
}

section#skills ul {
    align-items: center;
    justify-content: center;
    text-align: center;
}
ul li {
    transition: background-color 0.3s ease;
}

ul li:hover {
    background-color: #4682b4;
    color: white;
}


.job {
    margin-bottom: 20px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .infos {
        margin-top: 10px;
    }
}

.dark-theme {
    background-color: #222;
    color: #f4f4f4;
}

.dark-theme header {
    background-color: #111;
}

.dark-theme footer {
    background-color: #111;
}

.dark-theme h2{
    color: #66ff99;
}
.dark-theme .infos h2 {
    font-size: 24px;
    color: #00bfff;
}

.dark-theme a {
    color: #00bfff;
    text-decoration: none;
}
.dark-theme h3 {
    font-size: 22px;
    color: #00bfff;
    margin-bottom: 10px;
    text-align: center;
}
.dark-theme ul li:hover {
    background-color: #00bfff;
    color: white;
}
.dark-theme ul li {
    background-color: #e0f7ff;
    color: #333;
    padding: 10px;
    margin: 5px ;
    border-radius: 5px;
    text-align: center;
    align-items: center;
    justify-items: center;
    width: 50%;
}
