* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


:root {
    /* Choix 2 : couleur des familles de médicament Je préfère celle-ci*/
    --rouge: #F54029;
    /*Myorelaxant (genre curare)*/
    --orange: #FF6600;
    /*Benzodiazépine (famille des anxiolytiques)*/
    --jaune: #FFFF00;
    /*Agent d'induction (genre révélateur dans une scintigraphie*/
    --bleu: #85C7E3;
    /*Opioïde (dérivé d'opium : morphine etc.)*/
    --violet: #DEBFD9;
    /*Vassopresseur (permet d'augmenter la pressions artérielle)*/
    --vert: #A3D963;
    /*Anasthésie (dodo quoi)*/
    --sable: #edc282;
    /*antiemetique (contre les vomissements)*/
   
    --header-height: 5vw;
    --scrollmargintop: calc(2vw + var(--header-height));
}

a[href^=http]::after {
    content: " ⇱";
    rotate: calc(90deg);
    display: inline-block;
    font-size: 1em;
    margin-left: 5px;
}
@font-face {
    font-family: "Funnel";
    src: url(font/FunnelDisplay-VariableFont_wght.ttf);
    font-weight: 300 800;
}

body {
    background: #eee;
    font-family: "Funnel";
    font-weight: 380;
    overflow: hidden;
    height: 100vh;
    width: 100vw;

}

/* ========================================================= balise dans laquelle la scrollbar s'insère + la grille du contenu */

main {
    display: grid;
    padding: 5vw;
    grid-template-columns: repeat(12, 1fr);
    gap: 1vw 1vw;
}

#container {
    overflow: hidden;
    position: relative;
    height: 100vh;
    width: 100vw;
    z-index: 1;
    /* présevre un espace en haut équivalent à la hauteur du header */
    padding-top: 4vw;
}


/* ========================================================= nav */

.bandeau {
    display: flex;
    position: fixed;
    top: 0;
    width: 97.7vw;
    background-color: #eee;
    font-size: 2vw;
    line-height: 1;
    padding: 1vw;
    align-items: baseline;
    gap: 1em;
    z-index: 2;
    overflow: hidden;
    height: var(--header-height);
}

.bandeau a {
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    color: black;
    font-weight: 300;
    font-size: 1vw;
    border: 2px solid gray;
    padding: 0.5em;
    border-radius: 2000em;

}

.rien {
    border: none !important;
    text-transform: none!important;
    flex: 1;
}

.notice {
    margin-left: 70vw;
}

.bandeau div {
    color: black;
    font-weight: 800;
    position: relative;
    flex: 1;
    font-size: 2vw;
    left: 0.5em;
}

.logo::before {
    --size: .8em;
    content: "";
    display: block;
    background: gray;
    height: var(--size);
    width: var(--size);
    position: absolute;
    z-index: -1;
    left: -0.6em;
    top: -0.11em;

}

/* ========================================================= page de garde */

.start {
    display: block;
    position: absolute;
    background-color: var(--c);
    height: 100vh;
    width: 97.7vw;
    z-index: 50;
    top: 4vw;
    padding: 4em;
}

#title {
    transition: 200ms ease-in-out;
}

.wipe {
    transition: 400ms ease-in-out;
    /* width: 0; */
    transform: translateY(-100vh);
    padding: 0;

    #title {
        opacity: 0;
    }
}

#container {
    padding-top: 30vh;
}

/* ========================================================= classes pour des switchs js */

.visible {
    display: block;
}

.invisible {
    display: none !important;
}

/* ========================================================= Styles des paragraphes */

.titres {
    font-size: 6vw;
    font-weight: 800;
}

.sousTitres {
    grid-column: 1/span 12;
    position: relative;
    font-size: 5vw;
    font-weight: 600;
    top: 0.3em;
    left: 0.85em;
    margin-bottom: .5em;
}

.sousTitres::before {
    content: '';
    --size: 1em;
    height: var(--size);
    width: var(--size);
    background-color: var(--c);
    position: absolute;
    display: block;
    top: -0.2em;
    left: -0.85em;
    z-index: -1;
}

.titresParagraphe {
    font-size: 20pt;
    line-height: 22pt;
    font-weight: 500;
    margin-bottom: .7rem;
}

.corpsTxt {
    font-size: 16pt;
    line-height: 20pt;
    font-weight: 380;
}

.citations {
    font-size: 20pt;
    line-height: 22pt;
    font-weight: 300;
    position: relative;
    display: flex;
    width: 65vw;
    margin-top: 1rem;
    color: var(--c);
}

ul {
    list-style: none;
}


/* ========================================================= Styles des boutons */

button {
    position: relative;
    color: black;
    font-size: 1.5vw;
    border: 0px;
    border-radius: 200em;
    background-color: var(--c);
    padding: .5vw;
}

button:hover {
    color: var(--c);
    background-color: gray;
    border: 2px solid var(--c);

}

.filtres {
    font-family: 'funnel';
    border: 2px solid var(--c);
    border-radius: 2000em;
    min-width: 9em;
    font-size: 1vw;
    padding: .5em;
    text-align: center;
    cursor: pointer;
}