* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; background-color: #020D19; color: #f0f8ff; } nav { background-color: #011222; padding: 1rem; position: fixed; width: 100%; top: 0; z-index: 1000; } nav ul { list-style: none; display: flex; justify-content: center; gap: 2rem; } nav a { color: #fbf7f9; text-decoration: none; padding: 0.5rem 1rem; transition: color 0.3s; } nav a:hover { color: #48577f; } .typewriter { color: #d1d1ec; } p { text-align: justify; } .cadre_photo { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; padding: 2rem; background-color: #02071a; border-radius: 5px; } .cadre_photo .photo { width: 185px; height: 185px; border-radius: 18%; border: 3px solid #000009; box-shadow: #020D19; object-fit: cover; } .cadre_photo p { flex: 1; color: #e6e6e6; font-size: 1rem; line-height: 1.5; } .qualite { margin: 1rem 0; padding: 2rem; background-color: #040818; border-radius: 5px; } .container { max-width: 1000px; width: 100%; margin: 2rem auto; padding: 2rem; box-sizing: border-box; } .card { background-color: #040212; border-radius: 8px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .grid-container { display: grid; max-width: 1800px; grid-template-columns: 1fr; } .timeline-item .header-content { display: flex; /* Utilise flexbox pour aligner le titre et l'image sur une ligne */ align-items: center; /* Aligne verticalement l'image et le texte */ gap: 5rem; /* Ajoute un espace entre le texte et l'image */ } .timeline-item .header-content img { width: 200px; /* Largeur de l'image */ height: auto; /* Conserve les proportions de l'image */ border-radius: 8px; /* Coins arrondis */ object-fit: cover; /* Assure un bon rendu de l'image */ z-index: -1; } .timeline-item { padding: 1.5rem; border-left: 3px solid #082d51; margin-bottom: 2rem; position: relative; } .timeline-item::before { content: ''; position: absolute; left: -8px; top: 0; width: 12px; height: 12px; background: #0d2b42; border-radius: 50%; } .logos-container { margin: 1rem auto; /* Centrer le rectangle */ background-color: #011222; /* Couleur de fond similaire à votre thème */ display: flex; justify-content: center; /* Centrer les logos horizontalement */ align-items: center; gap: 1rem; /* Espacement entre les logos */ } .logos-container::-webkit-scrollbar { display: none; /* Masquer la barre de défilement */ } .logo { width: 65px; /* Taille des logos */ height: 65px; /* Taille des logos */ object-fit: contain; /* Ajuste l'image sans la déformer */ } input, textarea { width: 100%; padding: 0.5rem; background-color: #333; border: 1px solid #444; color: #f0f8ff; border-radius: 4px; } .btn { display: inline-block; padding: 0.5rem 1.5rem; background-color: #011222; color: #f0f8ff; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; } .contact-container { display: flex; justify-content: center; align-items: center; min-height: calc(100vh - 100px); } .cv-preview { text-align: center; max-width: 800px; padding: 2rem; } .cv-image { width: 100%; max-width: 600px; height: auto; border: 1px solid #333; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } .download-btn { display: inline-block; padding: 1rem 2rem; font-size: 1.1rem; background-color: #011222; transition: background-color 0.3s; } .download-btn:hover { background-color: #040212; } .stars { color: #48577f; font-size: 1.2rem; margin-left: 0.5rem; } @media (max-width: 768px) { .cv-preview { padding: 1rem; } .cv-image { max-width: 100%; } .download-btn { width: 100%; } .cadre_photo { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin: 1rem 0; padding: 2rem; background-color: #02071a; border-radius: 5px; } } .hamburger { display: none; background: none; border: none; color: #f0f8ff; font-size: 2rem; cursor: pointer; position: absolute; right: 1rem; top: -0.5rem; } .hamburger:hover { color: #48577f; } .cursus { max-width: 1300px; width: 90%; margin-top: 2rem; margin-left: 2rem; padding: 2rem; box-sizing: border-box; } b { color: #729cea; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } @media (max-width: 768px) { .hamburger { display: block; } nav ul { position: fixed; top: 0rem; left: 0; right: 0; background-color: #011222; flex-direction: column; gap: 0; padding: 1rem 0; display: none; } nav ul.active { display: flex; } nav ul li { width: 100%; text-align: center; } nav ul li a { padding: 1rem; display: block; } .container { width: 95%; padding: 0 1rem; margin: 6rem auto 2rem; } }