:root{ --bg1:#071021; --bg2:#071a17; --accent:#20e07a; --card:#0f1720; --muted:#9aa3a9; } *{box-sizing:border-box} body{ margin:0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; background: radial-gradient(circle at 10% 10%, rgba(32,224,122,0.04), transparent 10%), linear-gradient(180deg,var(--bg1),var(--bg2)); color:#e6eef2; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; padding:30px 20px; } .container{max-width:1100px;margin:0 auto} /* Hero */ .hero{display:flex;gap:40px;align-items:flex-start;margin-top:10px} .hero .left{width:260px;text-align:center} .avatar{ width:200px;height:200px;border-radius:50%;object-fit:cover;border:6px solid rgba(255,255,255,0.06); box-shadow:0 8px 30px rgba(0,0,0,0.6); } .meta{margin-top:12px} .countries{color:var(--muted);margin-bottom:10px} .chips{display:flex;gap:8px;justify-content:center} .chips .chip{padding:6px 10px;border-radius:20px;background:rgba(255,255,255,0.03);color:var(--muted);font-size:13px} /* Right */ .right{flex:1} .right h1{font-size:38px;margin:0 0 6px} .right h3{color:var(--accent);margin:0 0 12px} .right p{color:var(--muted);line-height:1.6;max-width:680px} /* Section title */ .section-title{margin:60px 0 20px;text-align:center} .section-title h2{font-size:36px;margin:0} .section-title p{color:var(--muted)} /* Timeline */ .timeline{position:relative;padding:40px 0 80px;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start} .timeline-line{ position:absolute;left:50%;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--accent),rgba(255,255,255,0.05));transform:translateX(-50%); border-radius:4px; } .timeline-item{padding:20px} .timeline-item.left{grid-column:1; text-align:right;padding-right:50px} .timeline-item.right{grid-column:2;padding-left:50px} .year{font-size:56px;color:rgba(255,255,255,0.18);font-weight:700;padding-top:10px} /* skills */ .skills{display:flex;gap:20px;margin:40px 0;flex-wrap:wrap} .skill-card{flex:1;min-width:220px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:20px;border-radius:14px;box-shadow:0 6px 20px rgba(0,0,0,0.6)} .skill-card h4{margin:0 0 8px} .skill-card p{margin:0;color:var(--muted)} /* petits ajustements responsive */ @media (max-width:900px){ .hero{flex-direction:column;align-items:center;text-align:center} .timeline{grid-template-columns:1fr} .timeline-line{left:20px;transform:none} .timeline-item.left{grid-column:1;text-align:left;padding-right:0;padding-left:60px} .timeline-item.right{grid-column:1;padding-left:60px} }


/* ===== Bouton Burger ===== */
.burger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 26px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.burger span {
    height: 4px;
    background: var(--accent);
    border-radius: 4px;
    transition: 0.4s;
}

/* Animation Burger en croix */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Menu ===== */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: 0.5s ease;
    z-index: 1000;
}
.menu.active {
    right: 0;
}
.menu a {
    text-decoration: none;
    color: var(--text);
    font-size: 1.5em;
    padding: 10px 20px;
    border-left: 3px solid transparent;
    transition: 0.3s;
}
.menu a:hover {
    border-left: 3px solid var(--accent);
    background: rgba(255,255,255,0.05);
}



.media-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.media-item {
  width: 200px; /* Taille fixe que tu peux ajuster */
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}

.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Remplit la case proprement */
  display: block;
}
