        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --bg-color: rgb(0, 0, 255);
            --text-color: white;
            --button-bg: rgb(0, 0, 255);
            --button-border: white;
        }

       @font-face {
  font-family: 'BBB';
  src: url('BBB.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  
}

        body {
             cursor: crosshair;
            font-family: 'BBB';
            background: var(--bg-color);
            color: var(--text-color);
            background-image: url('jaime.png');
            background-size: cover;
            background-position: center;
            overflow: hidden;
            transition: all 0.4s ease;
            -webkit-text-stroke: 1px rgb(255, 255, 255);   /* ajuste couleur et épaisseur */
        }

        body::before {
            font-family: Arial, Helvetica, sans-serif;
            -webkit-text-stroke: 0;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 2;
            z-index: -1;
            transition: opacity 0.4s ease;
        }

        body.radical::before {
            opacity: 0.08;
        }

        .header {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 100;
            text-align: center;
            pointer-events: none;
        }

        .header a {
            color: var(--text-color);
            text-decoration: none;
            display: block;
            margin: 8px 0;
            font-size: 14px;
            pointer-events: all;
            transition: opacity 0.3s;
        }

        .header a:hover {
            opacity: 0.7;
        }

        .container {
            display: flex;
            height: 100vh;
            padding: 60px 20px 80px;
        }

        .left-box {
            font-size: xx-large;
            flex: 1;
            padding: 20px;
            overflow-y: auto;
        }

        .left-box::-webkit-scrollbar {
            width: 3px;
        }

        .left-box::-webkit-scrollbar-track {
            background: transparent;
        }

        .left-box::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
        }

        .right-box {
            flex: 1;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .project-list {
            list-style: none;
        }

        .project-item {
            padding: 10px 0;
            cursor: pointer;
            font-size: 16px;
            transition: opacity 0.3s;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .project-item:hover {
            opacity: 0.7;
        }

        .project-details {
            display: none;
        }

        .project-details.active {
            display: block;
            animation: fadeIn 0.4s;
        }

        .project-details h2 {
            font-size: 24px;
            margin-bottom: 10px;
        }

        .project-meta {
            font-size: 12px;
            opacity: 0.7;
            margin-bottom: 20px;
        }

        .project-meta span {
            display: inline-block;
            margin-right: 15px;
        }

        .project-details p {
            line-height: 1.6;
            font-size: 14px;
            margin-bottom: 20px;
            white-space: pre-line;
        }

        .project-link {
            display: inline-block;
            padding: 8px 16px;
            border: 1px solid var(--text-color);
            background: transparent;
            color: var(--text-color);
            text-decoration: none;
            font-size: 12px;
            transition: all 0.3s;
            margin-right: 10px;
        }

        .project-link:hover {
            background: var(--text-color);
            color: var(--bg-color);
        }

        .back-button {
            display: inline-block;
            margin-top: 20px;
            padding: 8px 16px;
            border: 1px solid var(--text-color);
            background: transparent;
            color: var(--text-color);
            cursor: pointer;
            font-family: inherit;
            font-size: 12px;
            transition: all 0.3s;
        }

        .back-button:hover {
            background: var(--text-color);
            color: var(--bg-color);
        }

        .carousel {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-item {
            position: absolute;
            width: 80%;
            height: 80%;
            opacity: 0;
            transition: opacity 0.8s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-item.active {
            opacity: 1;
        }

        .carousel-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .carousel-item video {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .video-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .video-container video {
            flex: 1;
            max-height: 60%;
        }

        .video-images {
            display: flex;
            gap: 10px;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            max-height: 35%;
        }

        .video-images img {
            max-width: 30%;
            max-height: 100%;
            object-fit: contain;
        }

        .mode-button {
            position: fixed;
            bottom: 20px;
            left: 20px;
            padding: 10px 20px;
            background: var(--button-bg);
            border: 2px solid var(--button-border);
            color: var(--text-color);
            cursor: pointer;
            font-family: inherit;
            font-size: 14px;
            transition: all 0.4s ease;
            z-index: 101;
        }

        .mode-button:hover {
            opacity: 0.8;
        }

        body.radical { 
            font-family: Arial, Helvetica, sans-serif;
            -webkit-text-stroke: 0;
            --background-image: url('jaime.png');
            --bg-color: white;
            --text-color: rgb(0, 0, 255);
            --button-bg: white;
            --button-border: rgb(0, 0, 255);
        }

        body.radical .project-item {
            border-bottom: 1px solid rgba(0, 0, 255, 0.2);
        }

        body.radical .left-box::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 255, 0.2);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                padding: 40px 15px 80px;
            }

            .left-box, .right-box {
                flex: none;
                height: 50vh;
            }

            .header {
                top: 20px;
                left: 50%;
                transform: translateX(-50%);
            }

            .video-container {
                flex-direction: column;
            }

            .video-container video {
                max-height: 50%;
            }

            .video-images {
                max-height: 45%;
            }

            .video-images img {
                max-width: 45%;
            }
        }