html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Consolas, "Courier New", monospace;
    color: #d4d4d4;
    background-color: #2e2357;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

header {
    background: #121212;
    padding: 1rem 0;
    text-align: center;
    border-bottom: 2px solid #444;
}

header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header ul li {
    display: inline;
    margin: 0 15px;
}

header ul li a {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s ease;
}

header ul li a:hover {
    color: #00b300;
}

main {
    flex: 1;
    padding: 2rem;
    text-align: center;
}

main h1 {
    font-size: 2rem;
    color: #00ff00;
}

main p {
    font-size: 1.2rem;
}

a {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-image-container {
    text-align: center; /* Centre le contenu à l'intérieur du conteneur */
    margin: 2rem 0;     /* Un peu d'espace au-dessus et en-dessous */
  }
  
  .main-image {
    max-width: 80%;  /* Ajuste la taille maximale en fonction de la largeur de l'écran */
    height: auto;    /* Conserve les proportions de l'image */
    border: 1px solid #444; /* Optionnel : pour ajouter une bordure qui s'harmonise avec ton design */
    border-radius: 5px;     /* Optionnel : pour des coins arrondis */
    transition: transform 0.3s ease;
  }
  
  .main-image:hover {
    transform: scale(1.02); /* Légère animation au survol */
  }
  
a:hover {
    color: #00b300;
}

footer {
    background: #121212;
    color: #d4d4d4;
    text-align: center;
    padding: 1rem 0;
    border-top: 2px solid #444;
    width: 100%;
}

.container {
    max-width: 800px;
    margin: auto;
    background: #1a1a1a;
    border: 1px solid #444;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}


.container ul {
    list-style-type: disc; 
    padding-left: 20px; 
    margin-bottom: 10px; 
}

.container ul li {
    margin: 8px 0; 
    display: flex;
    align-items: center;
}

.container ul li::before {
    content: "•"; 
    color: #00ff00; 
    font-size: 1.2em;
    margin-right: 10px; 
}


.container ul li {
    margin: 5px 0;
}


.project {
    background: #1a1a1a;
    border: 1px solid #444;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project h2 {
    color: #00ff00;
    margin-top: 0;
}

.project p {
    margin: 5px 0;
}

.project a {
    color: #00ff00;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s ease;
}

project a:hover {
    color: #00b300;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.blog-list {
    list-style: none;
    padding: 0;
}

.blog-list li {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #444;
    background: #1a1a1a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.blog-list a {
    color: #00ff00;
    text-decoration: none;
    font-size: 1.2rem;
}

.blog-list .date {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

.article {
    max-width: 1000px;
    margin: 2rem auto;
    background: #1a1a1a;
    border: 1px solid #444;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
    color: #00ff00;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article p {
    margin: 1rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.article a {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s ease;
}
.article a:hover {
    color: #00b300;
}

.article ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin: 1rem 0;
}
.article li {
    margin: 0.5rem 0;
}

.article blockquote {
    border-left: 4px solid #00ff00;
    padding-left: 1rem;
    color: #aaaaaa;
    margin: 1.5rem 0;
    font-style: italic;
}

.article code {
    background-color: #121212;
    color: #d4d4d4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: Consolas, "Courier New", monospace;
}

/* Barre de recherche et filtre de catégorie */
.search-container {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    gap: 1rem;               /* Espace entre l'input et le select */
    margin-bottom: 1rem;     /* Espace sous la barre */
}

.search-container input,
.search-container select {
    padding: 0.5rem;
    font-size: 1rem;
    background-color: #121212;
    border: 1px solid #444;
    color: #d4d4d4;
    outline: none;
    border-radius: 4px;
}

.search-container input::placeholder {
    color: #888;
}

.search-container select {
    cursor: pointer;
}

.search-container select option {
    background-color: #1a1a1a;
    color: #d4d4d4;
}

pre {
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9em;
    margin: 1em 0;
}

code {
    font-family: monospace;
    background-color: #f4f4f4;
    padding: 2px 4px;
    border-radius: 3px;
}

p code, li code {
    background-color: #f4f4f4;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

pre code {
    display: block;
    overflow-x: auto;
}
