html,body{
    background-color: white;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}

h1{
    color: #c62828;
}
  
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #c62828;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.align-left {
    text-align: left;
}

.experience,.formation{
    margin-bottom: 50px;
}

.pointer {
    cursor: pointer;
}

.nav-list,.nav-list-0 {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    align-items: stretch;
}

.nav-list li,.nav-list-0 li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;      /* Espace à gauche et à droite */
    padding: 0 24px;            /* Tu peux mettre padding: 0 20px; si tu veux plus d'espace autour du texte */
    cursor: pointer;
    transition: background 0.2s;
}

.nav-list li:hover {
    background: #e0e0e0;    /* couleur au survol */
}

.centre{
    text-align: center;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #c62828;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.scroll_y_auto {
    height: calc(70vh - 50px); /* Hauteur totale - nav - footer */
    padding: 2rem;
    box-sizing: border-box;
    place-items: center; /* Centre le contenu verticalement */
    margin-top: 40px;
}

section {
    min-height: calc(100vh - 160px); /* 80px nav + 80px footer */
    /* ou height: calc(100vh - 160px); si tu veux une hauteur fixe */
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: auto;
}

.place-items-center {
    align-items: center;
    justify-content: center;
}

.text-align-center {
    text-align: center;
}