.container { width: 80%; margin: 0 auto; } .texte { width: 50%; float: left; margin-top: 70px; } .image { width: 35%; float: right; margin-top: 20px; } { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; line-height: 1.6; background-color: #F5f5dc; padding: 20px; } /*header { background-color: #333; color: #fff; padding: 10px 0; text-align: center; }*/ header { background-color: #333; color: #fff; padding: 10px 0; text-align: center; position: fixed; /* Position fixe pour rester en haut */ top: 0; /* Positionné en haut de la fenêtre */ width: 100%; /* Prend toute la largeur */ z-index: 1000; /* Assurez-vous qu'il est au-dessus d'autres éléments */ } header h1 { margin-bottom: 10px; } nav ul { list-style: none; } /* nav ul li { display: inline; margin-right: 20px; }*/ .navbar { display: inline; margin-right: 20px; } .lien{ color: #fff; text-decoration: none; } /*nav ul li a { color: #fff; text-decoration: none; }*/ section { margin-top: 100px; margin-bottom: 50px; } .high_margin{ margin-top: 120px; } .very_high_margin{ margin-top: 200px; } footer { background-color: #333; color: #fff; text-align: center; padding: 10px 0; position: fixed; bottom: 0; width: 100%; } .sidebar { position: fixed; left: 28px; top: 148px; width: 200px; height: 100%; background-color: #606060; } .sidebar ul { list-style-type: none; padding: 0; margin: 0; } .sidebar ul li { padding: 10px; } .sidebar ul li a { display: block; color: #fff; text-decoration: none; } .sidebar ul li a:hover { background-color: #555; } .content { margin-left: 200px; /* Largeur de la barre latérale */ padding: 20px; } .pp { margin-right: 50px; margin-left: 50px; margin-top: 200px; } .image-container { display: flex; /* Utilisation de flexbox pour aligner les images horizontalement */ justify-content: space-between; /* Espacement égal entre les images */ margin: 0 auto; /* Marge à gauche et à droite pour centrer le conteneur */ max-width: 1200px; /* Largeur maximale du conteneur */ padding: 0 20px; } .image-wrapper { text-align: center; /* Centrer le texte */ margin-bottom: 20px; /* Espacement en dessous de chaque image */ } .image-wrapper img { width: 100%; /* Largeur maximale de l'image */ max-width: 130px; /* Largeur maximale définie */ }