        /*Menu en haut*/      
        .top-banner {
            height: 10vh;
            width: 100%;
            background: #2f2f2f;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-weight: 700;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        }
        .banner-nav {
            display: flex;
            gap: 8vw;
        }
        .banner-nav a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.8vw;
            letter-spacing: 0.4px;
            position: relative;
            padding-bottom: 6px;
        }
        .banner-nav a.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -6px;
            height: 4px;
            background: linear-gradient(90deg, #ff9a00 0%, #ff3b3b 100%);
            border-radius: 2px;
        }
        .hero-image {
            width: 100%;
            height: auto;
            display: block;
        }
        .hero-image-modif {
            width: 99%;
            border-radius: 50px;
            margin-top: 0.5%;
            margin-left: 0.5%;
        }
        .title-container {
            display: flex;
            align-items: center;
            gap: 250px;
        }
        .logo-scratch {
            width: 25%;
        }
        .logo{
            width: 10%;
        }
        .profil {
            width: 15%;
            transform: translate(-80%,-50%);
            top: 35%;
            right: 50%;
        }
        .logo-scratch,.logo,.profil{
            text-align:center;
            margin-right: 40px;
            margin-top: 40px;
            display: block;
            position: absolute;
            right: 0;   
        }
        .section-link {
            inset: 0;
            padding: inherit;
            color: inherit;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .pro-image{
            width: 30%;
        }
        /* Supprime les marges blanches autour du site */
        body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
        }
        main {
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        /*Général*/
        section {
            margin-bottom: 40px;
            padding: 20px;
            background: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: relative;
            border-left: solid 10px;
            border-radius: 80px;
            border-left: linear-gradient(90deg, #001eff 0%, #ff0000 100%);
        }
        h3 {
            color:#000000
        }
        h1, h3 {
            font-size: 3em;
            margin-bottom: 10px;
        }
        h2 {
            font-size: 2em;
            margin-bottom: 10px;
            color: #15056a;
        }
        p {
            font-size: 1.1em;
        }
        /*Cases Projets et Tutoriels*/
        .project-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .project-card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            border-left: 5px solid;
            transition: transform 0.3s ease;
            text-decoration: none;
            color: inherit;
        }

        .project-card:hover {
            transform: translateY(-10px);
            scale: 1.02;
        }

        .project-card.scratch {
            border-left-color: #02ba11;
        }

        .project-card.python {
            border-left-color: #02ba11;
        }

        .project-card.cpp {
            border-left-color: #02ba11;
        }

        .project-card h3 {
            margin-top: 0;
            color: #2f2f2f;
        }

        a.project-card { display: block; }

        .project-card p {
            font-size: 1em;
            margin: 10px 0;
        }

        /* Responsive: adapt the banner and nav for small screens */
        @media (max-width: 600px) {
            .top-banner {
                height: 56px;
                padding: 0 12px;
                width: 96%;
            }
            .banner-nav {
                gap: 16px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                align-items: center;
                white-space: nowrap;
                padding: 6px 0;
            }
            .banner-nav a {
                font-size: 14px;
                padding-bottom: 4px;
            }
            .banner-nav a.active::after {
                bottom: -4px;
                height: 3px;
            }
            main {
                padding: 10px;
            }
            section {
                padding: 15px;
                margin-bottom: 20px;
            }
            h1 {
                font-size: 2em;
            }
            h2 {
                font-size: 1.5em;
            }
            p {
                font-size: 1em;
            }
            .pro-image{
                width: 70%;
            }
            .profil {
                width: 20%;
                transform: translate(0%,-50%);
                top: 10%;
                right: 0%;
            }
            .logo-scratch,.logo{
                margin-top: 20px;
                margin-right: 20px;
            }
        }