/* Import Google Fonts */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Raleway:wght@400;500;700&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; text-decoration: none; font-family: "Raleway", sans-serif; } :root { --primary-color: #0A0A0A; /* Couleur primaire */ --secondary-color: #FFA62F; /* Couleur secondaire */ } html { scroll-behavior: smooth; } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: #888; } ::-webkit-scrollbar-thumb:hover { background: #555; } /* Common Section Styles */ section { padding: 100px 0; } .max-width { max-width: 1300px; padding: 0 80px; margin: auto; } .about, .services, .skills, .skills-hobbies, .contact, footer { font-family: 'Raleway', sans-serif; } section .title { position: relative; text-align: center; font-size: 40px; font-weight: 500; margin-bottom: 60px; padding-bottom: 20px; font-family: 'Poppins', sans-serif; } section .title::before { content: ""; position: absolute; bottom: 0px; left: 50%; width: 180px; height: 3px; background: #111; transform: translateX(-50%); } section .title::after { position: absolute; bottom: -8px; left: 50%; font-size: 20px; color: #6e6e6e; padding: 0 5px; background: #fff; transform: translateX(-50%); } /* Navbar Styles */ .navbar { position: fixed; width: 100%; z-index: 999; padding: 30px 0; font-family: 'Poppins', sans-serif; transition: all 0.3s ease; } .navbar.sticky { padding: 0px; background: #6e6e6e; } .navbar .max-width { display: flex; align-items: center; justify-content: space-between; } .logo-container img { width: 80px; height: auto; } .navbar .menu li { list-style: none; display: inline-block; } .navbar .menu li a { display: block; color: #fff; font-size: 18px; font-weight: 500; margin-left: 25px; transition: color 0.3s ease; } .navbar .menu li a:hover { color: var(--secondary-color); } .navbar .menu-btn { color: #3883d3; font-size: 23px; cursor: pointer; display: none; } .navbar .menu-btn i.active:before { content: "\f00d"; } /* Scroll Up Button */ .scroll-up-btn { position: fixed; height: 45px; width: 42px; background: #3883d3; right: 30px; bottom: 10px; text-align: center; line-height: 45px; color: #ededed; z-index: 9999; font-size: 30px; border-radius: 6px; cursor: pointer; opacity: 0; pointer-events: none; transition: all 0.5s ease; } .scroll-up-btn.show { bottom: 30px; opacity: 1; pointer-events: auto; } .scroll-up-btn:hover { filter: brightness(90%); } /* Home Section Styles */ .home { display: flex; background: url(bn.jpg) no-repeat center; height: 100vh; min-height: 500px; background-size: cover; background-attachment: fixed; color: #000; } .home .max-width { width: 100%; display: flex; } .home .home-content .text-1 { font-size: 27px; } .home .home-content .text-2 { font-size: 75px; font-weight: 600; margin-left: -3px; } .home .home-content .text-3 { font-size: 40px; margin: 5px 0; } .home .home-content .text-3 span { color: #6e6e6e; font-weight: 500; } .home .home-content a { display: inline-block; background: #6e6e6e; color: #fff; font-size: 16px; font-weight: 500; padding: 12px 36px; margin-top: 20px; border-radius: 6px; transition: background 0.3s ease; } .home .home-content a:hover { background: var(--secondary-color);; } /* About Section Styles */ .about .about-content { display: flex; justify-content: space-between; align-items: center; margin-top: 80px; } .about .about-content .column { flex: 1; } .about .about-content .left img { width: 100%; } .about .about-content .right { margin-left: 50px; } .about .about-content .right .text { font-size: 30px; font-weight: 500; } .about .about-content .right p { font-size: 16px; margin: 20px 0; color: #6e6e6e; line-height: 1.6; } .about .about-content .right p:last-child { margin-bottom: 40px; } .about .about-content .right .btn { background: #3883d3; color: #fff; padding: 12px 36px; border-radius: 6px; font-size: 16px; font-weight: 500; transition: background 0.3s ease; } .about .about-content .right .btn:hover { background: #6e6e6e; } /* Services Section Styles */ .services .serv-content { display: flex; justify-content: space-between; margin-top: 80px; } .services .serv-content .card { flex-basis: calc(33.333% - 20px); background: #f9f9f9; padding: 30px 20px; border-radius: 6px; transition: all 0.3s ease; } .services .serv-content .card:hover { background: #ddd; } .services .serv-content .card .box { display: flex; align-items: center; } .services .serv-content .card .box i { font-size: 35px; color: #3883d3; margin-right: 20px; } .services .serv-content .card .box .text { font-size: 20px; font-weight: 500; } .services .serv-content .card .box p { font-size: 16px; margin-top: 8px; color: #6e6e6e; } /* Skills Section Styles */ .skills .skills-content { display: flex; justify-content: space-between; margin-top: 80px; } .skills .skills-content .column { flex: 1; } .skills .skills-content .text { font-size: 30px; font-weight: 500; margin-bottom: 30px; } .skills .skills-content .column.right .bars { margin-bottom: 30px; } .skills .skills-content .column.right .bars:last-child { margin-bottom: 0; } .skills .skills-content .column.right .bars .info { display: flex; justify-content: space-between; margin-bottom: 10px; } .skills .skills-content .column.right .bars .info span:first-child { font-size: 18px; font-weight: 500; color: #6e6e6e; } .skills .skills-content .column.right .bars .info span:last-child { font-size: 16px; font-weight: 400; color: #3883d3; } .skills .skills-content .column.right .bars .line { height: 8px; width: 100%; background: #f1f1f1; border-radius: 8px; position: relative; } .skills .skills-content .column.right .bars .line:before { content: ""; position: absolute; left: 0; bottom: 0; height: 100%; background: #3883d3; border-radius: 8px; } .skills .skills-content .column.right .bars .line.html:before { width: 90%; } .skills .skills-content .column.right .bars .line.css:before { width: 60%; } .skills .skills-content .column.right .bars .line.js:before { width: 50%; } .skills .skills-content .column.right .bars .line.react:before { width: 70%; } .skills .skills-content .column.right .bars .line.ts:before { width: 80%; } /* Skills & Hobbies Section Styles */ .skills-hobbies .carousel .owl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; } .skills-hobbies .carousel .owl-nav .owl-prev, .skills-hobbies .carousel .owl-nav .owl-next { background: #3883d3; color: #fff; padding: 8px 20px; border-radius: 30px; font-size: 18px; display: inline-block; transition: background 0.3s ease; } .skills-hobbies .carousel .owl-nav .owl-prev:hover, .skills-hobbies .carousel .owl-nav .owl-next:hover { background: #6e6e6e; } .skills-hobbies .carousel .owl-nav .owl-prev { margin-left: 10px; } .skills-hobbies .carousel .owl-nav .owl-next { margin-right: 10px; } .skills-hobbies .carousel .owl-dots { text-align: center; margin-top: 20px; } .skills-hobbies .carousel .owl-dots .owl-dot { height: 15px; width: 15px; background: #6e6e6e; display: inline-block; margin: 0 5px; border-radius: 50%; transition: background 0.3s ease; } .skills-hobbies .carousel .owl-dots .owl-dot.active { background: #3883d3; } .skills-hobbies .carousel .card { padding: 20px; background: #f9f9f9; border-radius: 6px; transition: all 0.3s ease; } .skills-hobbies .carousel .card:hover { background: #ddd; } .skills-hobbies .carousel .card .box { display: flex; align-items: center; } .skills-hobbies .carousel .card .box i { font-size: 35px; color: #3883d3; margin-right: 20px; } .skills-hobbies .carousel .card .box .text { font-size: 20px; font-weight: 500; } .skills-hobbies .carousel .card .box p { font-size: 16px; margin-top: 8px; color: #6e6e6e; } /* Contact Section Styles */ .contact .contact-content { display: flex; justify-content: space-between; margin-top: 80px; } .contact .contact-content .column { flex: 1; } .contact .contact-content .left .text { font-size: 30px; font-weight: 500; } .contact .contact-content .left p { font-size: 16px; margin-top: 20px; color: #6e6e6e; line-height: 1.6; } .contact .contact-content .left .icons { margin-top: 20px; } .contact .contact-content .left .icons i { font-size: 30px; color: #3883d3; margin-right: 20px; transition: color 0.3s ease; } .contact .contact-content .left .icons i { color: #6e6e6e; } .contact .contact-content .right form .fields { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 20px; } .contact .contact-content .right form .field, .contact .contact-content .right form .textarea { margin-bottom: 20px; } .contact .contact-content .right form .field input, .contact .contact-content .right form .textarea textarea { width: calc(100% - 10px); padding: 10px; border-radius: 6px; border: 1px solid #ccc; outline: none; transition: border-color 0.5s ease; } .contact .contact-content .right form .field input , .contact .contact-content .right form .textarea textarea { border-color: #3883d3; } .contact .contact-content .right form .textarea textarea { height: 100px; resize: none; } .contact .contact-content .right form .button-area { margin-top: 20px; } .contact .contact-content .right form .button { background: #3883d3; color: #fff; padding: 12px 36px; border-radius: 6px; cursor: pointer; transition: background 0.3s ease; } .contact .contact-content .right form .button { background: #6e6e6e; } /* Footer Section Styles */ footer { background: #000; color: #fff; padding: 10px 0; font-size: 16px; text-align: center; } /* Media Queries */ @media(max-width: 1200px) { .max-width { padding: 0 50px; } } @media(max-width: 1080px) { .max-width { padding: 0 40px; } } @media(max-width: 991px) { .max-width { padding: 0 30px; } } @media(max-width: 768px) { .max-width { padding: 0 20px; } .navbar .menu { display: none; } .navbar .menu-btn { display: block; } .navbar.active .menu { display: block; position: absolute; top: 80px; left: 0; width: 100%; background: #6e6e6e; padding: 10px 0; border-top: 1px solid #fff; } .navbar.active .menu li { width: 100%; text-align: center; } .navbar.active .menu li a { margin-left: 0; display: block; padding: 10px 20px; } } @media(max-width: 500px) { .home .home-content .text-2 { font-size: 50px; } .home .home-content .text-3 { font-size: 30px; } .home .home-content a { font-size: 14px; } .about .about-content .right .text { font-size: 24px; } .about .about-content .right p { font-size: 14px; } .about .about-content .right .btn { font-size: 14px; } .services .serv-content .card .box i { font-size: 30px; } .services .serv-content .card .box .text { font-size: 16px; } .services .serv-content .card .box p { font-size: 14px; } .skills .skills-content .text { font-size: 24px; } .skills .skills-content .column.right .bars .info span { font-size: 16px; } .skills .skills-content .column.right .bars .info span { font-size: 14px; } .skills-hobbies .carousel .card .box i { font-size: 30px; } .skills-hobbies .carousel .card .box .text { font-size: 16px; } .skills-hobbies .carousel .card .box p { font-size: 14px; } .contact .contact-content .left .text { font-size: 24px; } .contact .contact-content .left p { font-size: 14px; } .contact .contact-content .right form .field input, .contact .contact-content .right form .textarea textarea { width: calc(100% - 20px); } .contact .contact-content .right form .button { font-size: 14px; } } .logo { font-size: 1.6rem; /* Agrandir le texte du logo */ font-weight: bold; color: var(--secondary-color); /* Appliquer la couleur secondaire au nom */ } .logo-container { display: flex; align-items: center; text-decoration: none; } .btn-download { display: inline-block; padding: 10px 20px; margin-top: 20px; font-size: 16px; color: #fff; background-color: #6e6e6e; text-align: center; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; } .btn-download:hover { background-color: var(--secondary-color); } /* Formations section */ .formations { padding: 100px 0; background: #f8f8f8; } .formations .max-width { max-width: 1200px; margin: auto; padding: 0 20px; } .formations .title { text-align: center; font-size: 36px; font-weight: 600; margin-bottom: 40px; position: relative; } .formations .formations-content { display: flex; justify-content: space-between; flex-wrap: wrap; } .formations .card { background: #fff; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); margin: 15px 0; width: calc(33.33% - 20px); /* Ajuster la largeur pour les 3 cartes */ padding: 20px; box-sizing: border-box; transition: all 0.3s ease; text-decoration: none; /* Supprime la décoration de lien */ color: inherit; /* Hérite de la couleur du texte par défaut */ cursor: pointer; /* Curseur pointer au survol */ } .formations .card:hover { transform: translateY(-10px); box-shadow: 0 6px 12px rgba(0,0,0,0.2); } .formations .box { text-align: center; } .formations .box .text { font-size: 24px; font-weight: 500; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; } .formations .box .text img.formation-logo { width: 40px; height: 40px; margin-right: 10px; border-radius: 100%; /* Ajoute le border-radius pour rendre les logos circulaires */ } .formations .box p { font-size: 16px; color: #555; line-height: 1.5; } .formations .box p.description { font-size: 14px; color: #777; margin-top: 10px; text-align: left; /* Optionnel: ajuster selon le style souhaité */ } @media (max-width: 768px) { .formations .card { width: 100%; } }