:root {
    font-size: 16px;
    --taille-grand-ecran: 800px;
    font-family: system-ui;
}

*, ::before, ::after {
    padding: 0;
    margin: 0;
    box-sizing: content-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

header {
    margin: auto 20vw;
}

header h1,
nav h1 {
    font-size: clamp( 3rem, 12svw, 10rem);
}

header h2,
nav h2 {
    font-size: clamp( 1.75rem, 6svw, 6rem);
    
}

header h3,
nav h3 {
    font-size: 3svw;
}

header h4,
nav h4 {
    font-size: 2svw;
}

header h5,
nav h5 {
    font-size: 1.5svw;
}

header p,
nav p{
    font-size: clamp( 2svw, 1rem, 3rem);
    padding: 1rem 0;
}

p {
    line-height: 1.5em;
 }

nav input {
    width: 0.75em;
    height: 0.75em;
}

.goupeCheckbox div {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

#nav-criteres {
    display: block;
    box-sizing: border-box;
}

.accordion-button {
    display: flex;
    align-items: center;
}

.container-fluid {
    padding:0px;
}

.allignementDroite {
    padding-left: 50%;
}

.allignementCentre {
    text-align: center;
}

#headerTitre {
    margin: 30svh 0;
}

#headerTexte {
    margin-top: 30vh;
    margin-bottom: 30vh;
}

nav {
    color: #495057;
}

nav ul {
    display: flex;
    
    padding: 0;
}

nav li {
    list-style-type: none;
}

nav a {
    display: block;
    font-size: clamp( 0.25rem, 2svw, 1.5rem);
    padding: 1rem;
    font-weight: 200;
}

#txtNav {
    padding: 20svh 20svw;
}

#nav-criteres {
    padding: 10vh 20vw;
}

.contenant_filtres_supplementaires {
    border: solid 1px;
    padding: 1em;
    border-radius: 5px;
}

#nav-criteres label[for="display_filtres_supplementaires"] {
    display: flex;
    align-items: center;
    /* gap: 1em; */
    justify-content: space-between;
    font-size: clamp( 0.65rem, 1svw, 1em);
}

#nav-criteres label[for="display_filtres_supplementaires"]::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transition: all .35s;
    transform: rotate(90deg);
}

#display_filtres_supplementaires {
    display: none;
}

#display_filtres_supplementaires:checked + label[for="display_filtres_supplementaires"]::after {
    transform: rotate(-90deg);
}
#filtres_supplementaires label:not([for="display_filtres_supplementaires"]) {
    font-size: clamp(0.5rem, 1svw, 1em);
    text-align: left;
    line-height: 1rem;
}

#filtres_supplementaires {
    max-height: 0;
    overflow: hidden;
    transition: all .5s;
    display: flex;
    justify-content: space-around;
    line-height: 1.5em;
}

#filtres_supplementaires h3 {
    font-size: clamp(0.75rem, 1.1svw, 1.1em);
}

#display_filtres_supplementaires:checked ~ #filtres_supplementaires {
    max-height: 100vh;
}

.nav-item {
    width: 25%;
    border-style: solid;
    border-width: 1px;
    border-color: #6c757d;
    background-color: white;
}

input:checked {
    background-color: #495057;
}

.active {
    border-style: solid;
    border-width: 3px;
    border-color: rgba(0, 0, 0, .55);
}

.active a {
    font-weight: 500;
}

.goupeCheckbox {
    padding: 1em 0;
    text-align: center;
}

.bullet-point {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    margin: 0 auto auto auto;
    /* width:49%; */
}

/* Règles pour les cartes de contenu */

.contenu {
    padding: 5% 10%;
}

.pale {
    color: rgb( 73, 80, 87);
    background-color: white;
}

.fonce {
    background-color: rgb( 108, 117, 125);
    color: white;
}

.contenu h3 {
    font-size: 2.5rem;
}

.contenu h4 {
    font-size: 2em;
}

.card-resume h4 {
    font-size: 1.5em;
}

.contenu h5 {
    font-size: 1.5em;
}

.card-header {
    background-color: inherit;
    border-bottom: inherit;
}

.card-header,
.card-body {
    max-width: 800px;
    margin: 0 auto;
}

.card-text {
    text-align: left;
    padding: 2em 0;
}

.date {
    font-weight: normal;
    text-align: center;
}

.card-contexte {
    text-align: right;
}

.card-header {
    text-align: right;
    vertical-align: top;
}

.card-title {
    margin: 5svh 0;
}

.card-resume {
    padding:1%;
    font-size: 0.8em;
    display: flex;
    justify-content: space-between;
}


.card-intertitre {
    margin-top: 1rem;
}

.double .card-complement {
    width: 100%;
    display: inline-block;
    text-align: center;
}

.card-complement button {
    margin-bottom: 1em;
}

.parent_double {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.bouton {
    background: #adb5bd;
    border-color: #6c757d;
    color:inherit;
    font-size: larger;
    padding: 0.5em;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.card-complement textarea {
    width: 90%;
    height: 700px;
    font-size: 10px;
}

.cache {
    display: none;
}

p a,
p a:hover,
p a:active,
p a:visited {
    color: inherit;
    font-weight: bold;
}

p a:hover {
    font-weight: bolder;
}

.footer {
    color: white;
    background: #adb5bd;
    text-align: center;
    padding: 3% 0%;
}

.disclamer {
    text-align: center;
    margin: 2% auto;
}

.disclamer-text {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    font-weight: bold;
    text-align: left;
    width: 75%;
    font-size: 0.75rem;
}

.disclamer-image {
    display: inline-block;
    margin: 0 50px 0 0;
    width: 1%;
    text-align: right;
    vertical-align: middle;
}


.contenant_url {
    text-align: center;
}

.contenant_image,
.contenant_video,
.contenant_executable {
    max-height: 80svh;
    max-width: 90%;
    margin: 0 auto;
}

.contenant_executable {
    overflow: hidden;
}