*{
        font-family: Arial;
        box-sizing: border-box;
    }

    body{
        background-color: #d7e5f0;
        scroll-behavior: smooth;
    }

    div#content{
        max-width: 800px;
        margin: 0 auto;
    }


    h1{
        font-variant: small-caps;
    }

    .bouton{
        cursor: pointer;
        text-align: center;
        padding: 15px;
        margin: 10px;
        border-radius: 5px;
        transition: .25s;
    }

    .bouton:hover{
        transform: scale(1.1);
        transition: .25s;
    }

    .gros-bouton{
        border: 1px black solid;
        border-radius: 5px;
        margin: 5px;
        padding: 5px;
        cursor: pointer;
        text-align: center;
    }

    /* DÉFILEMENT */

    #horaires-container,
    #docs{
        display: flex;
        justify-content: center;
    }
        

    #docs-container,
    #horaires-container {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        white-space: nowrap;
    }

    #docs-container #dossierdoc,
    #horaires-container #horaire {
        flex: 0 0 auto;
        width: 120px;
    }

    #docs-container #dossierdoc span{
        display: block;
        white-space: normal;
        line-height: 1.2;
        margin-top: 5px;
    }

    /* NAV */
    nav {
        background-color: #60b8fe;
        color: #ffffff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 25px;
    }

    nav div.logo .logo img {
        height: 50px;
    }

    nav ul.nav-links {
        list-style: none;
        display: flex;
        gap: 20px;
    }

    nav ul.nav-links li a {
        color: #ffffff;
        text-decoration: none;
        padding: 10px 20px;
        border: 2px solid #ffffff;
        border-radius: 25px;
        transition: background-color 0.3s, color 0.3s;
    }

    nav ul.nav-links li a:hover {
        background-color: white;
        color: black;
    }

    nav .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

    nav .logo h1 {
        margin: 0;
    }

    /* UP */
    #retour-haut {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        background-color: rgba(177, 228, 245, 0.25);
        color: rgba(0, 0, 0, 0.25);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 28px;
        cursor: pointer;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.25s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,.25);
    }

    #retour-haut.visible {
        opacity: 1;
        visibility: visible;
    }

    #retour-haut:hover {
        transform: scale(1.1);
        background-color: rgba(177, 228, 245);
        color: rgba(0, 0, 0);
    }

/* DOCUMENTS */
    #affichage-documents{
        display: flex;
    }
    #affichage-documents .afficher-doc{
        flex: 1;
    }