.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 10px; 
}

.sidebar ul li a {
    color: #00bcd4; 
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease, padding-left 0.3s ease; 
    padding-left: 10px;
}

.sidebar ul li a:hover {
    color: #ff4081; /* Changement de couleur au survol */
    padding-left: 20px; /* Effet d'indentation au survol */
    font-weight: bold; /* Mise en gras au survol */
}

.sidebar h3 {
    font-size: 1.4em;
    margin-top: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px; /* Espacement entre les lettres */
    border-bottom: 2px solid #00bcd4;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.sidebar ul li a:focus,
.sidebar ul li a:active {
    color: #ff4081; /* Reste de la couleur au focus ou au clic */
    outline: none; /* Supprimer l'outline par défaut */
}

 body {
            font-family: Arial, sans-serif;
            background-color: #111;
            color: #fff;
            margin: 0;
            padding: 0;
            text-align: center;
            overflow-x: hidden;
        }
        header {
            background-color: rgba(30, 30, 30, 0.1);
            padding: 10px 20px;
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
            backdrop-filter: blur(5px);
            animation: fadeIn 1s ease-out;
        }
        nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        nav ul li {
            display: inline;
            margin: 0 10px;
        }
        nav ul li a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s;
        }
        nav ul li a:hover {
            color: #00bcd4;
        }
        .parallax {
            background: url('image/fond.png') no-repeat center center/cover;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-attachment: fixed;
            animation: parallaxAnimation 10s infinite ease-in-out;
			
		.parallax-article {
    background: url('image/fond-article1.jpg') no-repeat center center/cover; /* Image spécifique pour article 1 */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    animation: parallaxAnimation 10s infinite ease-in-out;
}
        }
        .parallax h1 {
            background: rgba(0, 0, 0, 0.5);
            padding: 20px;
            border-radius: 10px;
            font-size: 2.5em;
            transition: transform 0.3s ease-in-out;
        }
        .parallax h1:hover {
            transform: scale(1.1);
        }
        .content {
            padding: 50px;
            background: #222;
            animation: fadeIn 2s ease-out;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        .articles {
            flex: 1;
            padding-right: 20px;
        }
        .sidebar {
            width: 250px;
            background: #333;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
        .sidebar h3 {
            margin-top: 0;
            font-size: 1.5em;
        }
        .article {
            background: #333;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            margin-bottom: 20px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .article:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        }
        .article img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 10px;
        }
        .article h3 {
            font-size: 1.5em;
            margin-bottom: 10px;
        }
        .article p {
            font-size: 1em;
            line-height: 1.6;
            margin-bottom: 15px;
        }
        .article .date {
            font-size: 0.9em;
            color: #aaa;
        }
        .article a {
            color: #00bcd4;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s;
        }
        .article a:hover {
            color: #ff4081;
        }
        .pagination {
            text-align: center;
            margin-top: 20px;
        }
        .pagination a {
            color: #fff;
            text-decoration: none;
            padding: 10px 20px;
            margin: 0 5px;
            background: #333;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        .pagination a:hover {
            background: #00bcd4;
        }

        .comment-section {
            margin-top: 30px;
            padding: 20px;
            background: #333;
            border-radius: 10px;
        }

        .comment-section h3 {
            margin-top: 0;
        }

        .comment {
            background: #444;
            padding: 10px;
            margin-bottom: 10px;
            border-radius: 10px;
        }

        .comment .author {
            font-weight: bold;
            color: #00bcd4;
        }

        .comment .text {
            font-size: 0.9em;
            color: #aaa;
        }

        form input, form textarea {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border-radius: 5px;
            border: 1px solid #333;
            background-color: #444;
            color: #fff;
            font-size: 1em;
        }
        form button {
            padding: 10px 20px;
            background-color: #00bcd4;
            border: none;
            border-radius: 5px;
            color: #fff;
            font-size: 1em;
            cursor: pointer;
        }
        form button:hover {
            background-color: #ff4081;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes parallaxAnimation {
            0% {
                background-position: center 0;
            }
            50% {
                background-position: center 30%;
            }
            100% {
                background-position: center 0;
            }
        }
		
		
		
	.object-card img {
    width: 100%; 
    height: auto; 
    max-width: 100%; 
    max-height: 300px; 
    max-height: 300px; 
    object-fit: contain; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}


.content {
    padding: 50px;
    background: #222;
    animation: fadeIn 2s ease-out;
    display: flex;
    justify-content: center; /* Centre le contenu horizontalement */
    flex-wrap: wrap;
}

.objects-list {
    width: 100%;
    max-width: 800px; /* Réduit la largeur du contenu */
    margin: 0 auto; /* Centre le bloc horizontalement */
    padding: 0 40px; /* Augmente l'espacement à gauche et à droite */
}

.object-card {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.object-card h2 {
    text-align: center; /* Centre le texte du titre dans chaque carte */
}

.object-card p {
    text-align: justify; /* Justifie le texte à l'intérieur des cartes */
}
