/* styles.css */ :root { --background-dark: #0a0c10; --background-light: #151820; --accent-color: #4ade80; --text-primary: #e2e8f0; --text-secondary: #94a3b8; --card-background: #1e2028; --hover-color: #16a34a; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: var(--text-primary); background-color: var(--background-dark); } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Navigation moderne avec effet de flou */ nav { background-color: rgba(10, 12, 16, 0.8); backdrop-filter: blur(10px); position: fixed; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .nav-content { display: flex; justify-content: space-around; padding: 1.5rem; max-width: 1200px; margin: 0 auto; } nav a { color: var(--text-primary); text-decoration: none; padding: 0.5rem 1rem; transition: all 0.3s ease; border-radius: 8px; } nav a:hover { color: var(--accent-color); background-color: rgba(74, 222, 128, 0.1); } section { padding: 120px 0; } /* Hero section avec effet de gradient */ #accueil { background: linear-gradient(rgba(10, 12, 16, 0.9), rgba(10, 12, 16, 0.9)), url('https://source.unsplash.com/random/1920x1080?code') center/cover; min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; } #accueil::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, 0.1) 0%, transparent 50%); } h1 { font-size: 4rem; font-weight: 800; margin-bottom: 1rem; background: linear-gradient(to right, var(--text-primary), var(--accent-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .subtitle { font-size: 1.8rem; color: var(--accent-color); margin-bottom: 1rem; } .description { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; } /* Cartes avec effet de survol */ .skills-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .skills-category { background: var(--card-background); padding: 2rem; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .skills-category:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(74, 222, 128, 0.1); } .skill-item { background: rgba(255, 255, 255, 0.05); padding: 1rem; margin: 0.8rem 0; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; } /* Barre de progression moderne */ .progress-bar { width: 60%; height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; overflow: hidden; } .progress { height: 100%; background: var(--accent-color); border-radius: 4px; transition: width 1s ease-in-out; } /* Grilles de projets et passions */ .projects-grid, .hobbies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; } .project-card, .hobby-card { background: var(--card-background); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .project-card:hover, .hobby-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(74, 222, 128, 0.1); } .card-content { padding: 2rem; } /* Tags technologiques */ .tech-tag { display: inline-block; padding: 0.4rem 1rem; margin: 0.5rem 0.5rem 0.5rem 0; background: rgba(74, 222, 128, 0.1); color: var(--accent-color); border-radius: 20px; font-size: 0.9rem; } /* Formulaire de contact moderne */ .contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; } input, textarea { padding: 1rem; background: var(--card-background); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: var(--text-primary); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; } input:focus, textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); } textarea { height: 150px; resize: vertical; } button { background-color: var(--accent-color); color: var(--background-dark); padding: 1rem 2rem; border: none; border-radius: 8px; cursor: pointer; font-size: 1rem; font-weight: 600; transition: all 0.3s ease; } button:hover { background-color: var(--hover-color); transform: translateY(-2px); } /* Footer moderne */ footer { background-color: var(--background-light); color: var(--text-secondary); text-align: center; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); } /* Animations au défilement */ .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; } .fade-in.visible { opacity: 1; transform: translateY(0); } @media (max-width: 768px) { .nav-content { flex-direction: column; align-items: center; } nav a { margin: 0.5rem 0; width: 100%; text-align: center; } h1 { font-size: 2.5rem; } .subtitle { font-size: 1.4rem; } } /* Ajout des styles pour le pseudo (à ajouter dans votre fichier CSS existant) */ .pseudo { font-size: 2rem; color: var(--accent-color); font-family: 'Space Mono', monospace; letter-spacing: 3px; margin-bottom: 1rem; position: relative; display: inline-block; text-transform: uppercase; } .pseudo::before { content: '{ '; opacity: 0.7; } .pseudo::after { content: ' }'; opacity: 0.7; } .pseudo-glow { text-shadow: 0 0 10px rgba(74, 222, 128, 0.3), 0 0 20px rgba(74, 222, 128, 0.2), 0 0 30px rgba(74, 222, 128, 0.1); animation: glow 2s ease-in-out infinite alternate; } @keyframes glow { from { text-shadow: 0 0 10px rgba(74, 222, 128, 0.3), 0 0 20px rgba(74, 222, 128, 0.2), 0 0 30px rgba(74, 222, 128, 0.1); } to { text-shadow: 0 0 20px rgba(74, 222, 128, 0.4), 0 0 30px rgba(74, 222, 128, 0.3), 0 0 40px rgba(74, 222, 128, 0.2); } } .contact-info { margin-top: 2rem; text-align: center; color: var(--text-secondary); font-size: 1rem; } .discord-tag { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; } .discord-tag:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(74, 222, 128, 0.1); } .discord-icon { font-size: 1.5rem; color: var(--accent-color); } .discord-username { font-size: 1rem; color: var(--text-primary); font-family: 'Space Mono', monospace; } .github-tag { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; margin-left: 0.5rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; } .github-tag:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(74, 222, 128, 0.1); } .github-icon { font-size: 1.5rem; color: var(--accent-color); } .github-username { font-size: 1rem; color: var(--text-primary); font-family: 'Space Mono', monospace; } /* Conteneur des boutons de langue */ .language-toggle { position: fixed; top: 20px; right: 20px; z-index: 1000; display: flex; gap: px; } /* Boutons de langue */ .lang-button { background-color: rgba(0, 0, 0, 0.6); /* Fond sombre et transparent */ color: white; border: 2px solid transparent; border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; /* Transition fluide */ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Ombre légère */ } .lang-button:hover { background-color: rgba(0, 255, 0, 0.6); /* Fond vert clair sur hover */ transform: translateY(-2px); /* Légère élévation */ box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée */ border-color: rgba(0, 255, 0, 0.8); /* Bordure verte sur hover */ }