body{
    font-family: "futura-100", sans-serif;
}
img{
    max-width: 100%;
}
header{
    width: 100%;
    background: #f6520b;
    color: #fff;
    padding: 5px 10px; 
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    align-items: center;
    font-family: sans-serif;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-nav a{
    display: block;
    text-decoration: none;
    background-color: rgb(6, 6, 237);
    color: #f6520b;
    border-radius: 24px;
    padding: 5px 7px;
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    justify-self: end;
}
.header-nav a:hover{
    background-color: rgb(5, 5, 73);
}
h1{
    font-family:"Futura", sans-serif;
    font-size: clamp(21px,7vw,48px);
    color: rgb(6, 6, 237);
    text-align: center;
}
.grid{
    display: grid;
    grid-template-columns: repeat(1 ,1fr);
    gap: 12px; 
    justify-content: center;
    margin-top: 20px;
}
@media (min-width:768px){
    .grid{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width:1280px){
    .grid{
        grid-template-columns: repeat(3, 400px);
    }
}
.item{ 
    display: grid;
    place-items: center;
    background: #000;
    font-family:sans-serif;
    text-decoration: none ;
    font-size: 2em;
    color: #ffff;
}
.item p,
.item img {
    grid-column: 1/-1;
    grid-row: 1/-1;
    transition: opacity 0.5s ease;
}
.item p{
    opacity: 0;
}
.item:hover p{
    opacity: 1;
}
.item:hover img{
    opacity: 0.2;
}

.background{
    background-color: rgb(239, 200, 228);
}

.grid-projet-container {
    margin: 30px auto; 
    width: 550px;
    height: auto;
    align-items: center;      
}



 :root {
      --main-bg: #f5f7fa;
      --sidebar-bg: #f6520b;
      --text-light: #fff;
      --text-dark: #000000;
      --muted: #000000;
      --accent: #f6520b;
      font-family: Arial, Helvetica, sans-serif;
    }
    .grid-projet {
    display: grid; 
    gap: 50px; 
    }
    
    .grid-projet-container-projet-4{
    width:400px;
    height: auto;
    display: grid;
    gap: 50px;
    margin: auto;
}
.grid-projet-container-projet-7{
    width: 400px;
    height: auto;
    display: grid;
    gap: 50px;
    margin: auto;
}



    
    .bodycv{
      background: var(--main-bg);
      color: var(--text-dark);
      display: flex;
      justify-content: center;
      padding: 20px;
    }
    .cv-container {
      display: grid;
      grid-template-columns: 1fr ;
      /* max-width: 1400px;
      margin: 0 auto; */
      width: 100%;
      background: white;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      justify-content: center;
    }

@media (min-width:960px){
    .cv-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

    .sidebar {
      background: var(--sidebar-bg);
      color: var(--text-light);
      padding: 30px 20px;
    }
    .sidebar h1 {
      font-size: 22px;
      margin-bottom: 10px;
    }
    .sidebar p { font-size: 14px; margin-bottom: 20px; }
    .sidebar .section-title {
      font-weight: bold;
      margin-top: 25px;
      margin-bottom: 10px;
      font-size: 14px;
      text-transform: uppercase;
      border-bottom: 1px solid rgba(255,255,255,0.3);
      padding-bottom: 4px;
    }
    .sidebar ul {
      list-style: none;
      font-size: 13px;
      line-height: 1.6;
    }

    .main {
      padding: 30px 40px;
    }
    .main h2 {
      color: var(--accent);
      font-size: 16px;
      margin-bottom: 8px;
    }
    .main section { margin-bottom: 25px; }
    .job { margin-bottom: 15px; }
    .job strong { display: block; font-size: 15px; }
    .meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
    ul { margin-left: 18px; font-size: 14px; }

    .année {
      font-weight: bold;
    }
    .activité {
      margin-bottom: 6px;
    }
/* .grid-projet{
    display: grid;
      grid-template-columns: 1fr 1fr;
      row-gap: 2px; 
      column-gap: 10px;
      align-items: start; 
} */

.p4{
    grid-row: span 2;
}

.header-nav{
    justify-self: end;
}