/* Reset de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Flexbox container */
.container {
    display: flex;
    flex-direction: column; /* Alignement de haut en bas des éléments */
    align-items: stretch; /* Les éléments contenus s'étirent pour remplir la largueur */
    width: 100%; /* Largeur du container */
}
/* Contenant en colonnes */
.side-content {
    position: relative;
    top:100px;
    display: flex;
    flex-direction: row; 
    align-items: stretch; 
}
/* Contenu principal: mise en page (décalé pour ne pas être caché sous le header fixe) */
.main-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    flex: 2 1 0;
    box-sizing: border-box;
}
/* Style de contenu générique. En fait plutot sur la page principale. padding-top: 100px pour que ce soit sous le header ;*/
.content {
    max-width: 800px;
    padding: 10px;
    margin: 0 auto;
    text-align: justify;
    padding-top: 100px;
}

/* Header Style */
.header {
    width: 100%;
    height: min-content;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #fff;
}


/* Titre du site */
.header h1 {
    font-size: 26px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    padding: 1px 0 0 0; /* seulement un petit padding en haut */
    margin: 0;
    line-height: 1;
    text-align: center;
    width: 100%;
}




/* Tester pour la police du corps */
.mono {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
  }
/* Mono Fonts */
/* Input Mono */
/* IBM Plex Mono – Plus angulaire et structuré, avec une présence forte et technique.
JetBrains Mono – Plus condensé, avec des formes nettes et modernes.
DM Mono – Plus géométrique, avec un aspect plus rigide et affirmé.
PT Mono – */

h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 40px;
    font-style: normal;
      margin-top: 1.2em;
      margin-bottom: 0.6em;
  }
h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 32px;
    font-style: normal;
      margin-top: 1.2em;
      margin-bottom: 0.6em;
  }
h3, h4, h5, h6 {
    font-family: 'Overpass', sans-serif;
    font-weight: 600;
    font-style: bold;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
  }
/* Paragraphs */
p {
    margin: 1em 0;
}

/* Links */
a {
    text-decoration: none;
    color: darkred; /* Keeps the text color the same as surrounding text */
}

a:hover {
    font-weight: bold;
}

/* Lists */
ul, ol {
    padding-left: 20px;
    margin: 1em 0;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #007acc;
    padding-left: 15px;
    font-style: italic;
    color: #555;
    margin: 1em 0;
}

/* Code blocks */
pre, code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f4f4f4;
    padding: 5px;
    border-radius: 5px;
}

pre {
    display: block;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid #ddd;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

/* Images */
/* img {
    max-width: 100%;
    height: auto;
} */

.photo {
    width: 120px;
    float: center;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    border: 5px solid black;
}

/* Horizontal rules */
hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}


/* Clean */

/* Header Site */

.fixed-header {
    z-index: 2; /* Par dessus */
    background-color: #fff; /* Cache */
    position: fixed; /* Par rapport à la fenêtre */ 
    margin: 0 auto; /* Centré gauche droite, Tout en haut */
    width: 100%;
}

.fixed-header h1 {
    font-size: 26px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    padding: 10px 0 0 0; /* petit padding en haut */
    margin: 0;
    line-height: 1;
    text-align: center;
    width: 100%;
}

 /* Barre horizontale */
 .horizontal-bar {
    width: 100%;
    z-index: 2;
    height: 1px;
    background-color: currentColor;
    opacity: 0.6;
    margin: 0 0;
}

/* Barre de navigation */
.nav {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-top: 0px; /* Espacement entre le titre et les onglets */
}
/* Barre de navigation */
.top-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Style des liens de navigation */
.nav-item {
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 0px;
    padding-bottom: 4px;
}
.nav-item:hover {
    font-weight: bold;
}

body {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 16px; 
    line-height: 1.6;
    top: 10px;
    text-align: center;
    justify-content: center; 
    width: 100%;
    color: #333;
    background-color: #fff;
}
/* Ajouter display:flex; à body si problème de sidebar */ 

/* SIDEBAR */

/* Style pour le sidebar-header */
.sidebar-header {
    text-align: center;
}
.sidebar-header h1 {
    font-size: 70px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    margin: 0; /* Évite l'ajout de marges automatiques */
    padding: 10px 10px;/* Espace autour du titre */
  }

/* Sidebar Home */
.sidebar-info {
    position: relative; 
    text-align: center;
    flex-direction: column;
    padding: 10px 10px;/* Espace */
  }

.content-sided {
    display: flex;
    align-items: flex-start; /* Commence en haut */
    flex-direction: row; /* Affichage côte à côte */
    margin-top: 100px;
    row-gap: 10px;
}

.sidebar {
    z-index: 1; /* Par dessus */
    background-color: #fff; /* Cache */
    margin: 0 auto; /* Centré | Tout en haut */
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1 1 0;
    box-sizing: border-box;
    position: fixed;
    left:0;
}
