@media print {

    /* règle pour la page */

    @page {
      margin: 20mm 10mm 15mm 10mm;
      size: 210mm 297mm;
    }

    @page {
        @top-center {
            content: "AnimaAEtherEsCopia";
            height: 10mm;
            text-align: center;
            font-family: "spacegrotesk";
            font-size: 9pt;

        }

        @bottom-center {
            content: counter(page);
            height: 10mm;
            text-align: center;
            width: 10mm;
            font-family: "spacegrotesk";
            font-size: 9pt;
        }
    }

    /* global */

    html {
        padding: 0;
        margin: 0;
        /* font-size: 11pt;
        line-height: 1.5; */
    }

    body {
        background-color: white;
        color: black;
        font-family: "spacegrotesk";
        font-weight: normal;
    }

    /* élements ignorés */

    .titre-fixe {
        display: none;
    }

    .video-container {
        display: none;
    }

    .definition {
        display: none;
    }

    /* général */

    #main {
        max-width: 100%;
    }

    #main figure {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #main figure figcaption {
        color: black;
        margin: 2mm 0 0 0;
        font-size: 9pt;
        text-align: center;
        font-family: "sora";
    }

    #main figure img {
        width: 100%;
    }

    .container .chapitre blockquote {
        margin: 1rem 0rem 2.5rem -2.1rem;
        padding: 1.1rem;
        width: 80%;
        font-size:0.75rem;
        background:
        linear-gradient(-0deg, rgba(201,218,255,0.2) 0%, rgba(121,121,255,0) 01%, rgba(121,121,255,0) 40%, rgba(206,222,255,0.2439844297093805) 90%);
        border-top-right-radius: 2em;
        border-bottom-right-radius: 2em;
        border: 1px blue solid;

        border-right: 0px transparent solid ;
        border-left: 0px transparent solid ;

    }

    .container .chapitre blockquote .signature {
        font-size: 0.9rem;
        text-align: right;
        margin: 20px 0 0 0;

    }
    /* header */

    #header {
        width: 100%;
        margin-top: 20mm;
        page-break-after: always;
    }

    #header h1 {

        font-family: "sora", serif;
        line-height: 1;
        font-size: 4rem;
        font-weight: normal;
        margin: 120px 0 120px 0;
        padding-left: 2rem;
        border-left-color: black;
        border-left: 0.2rem solid;
        border-top: 0.2rem solid;
    }

    #header p {
        text-align: left;
        font-size: 25pt;
        line-height: 1.3;
        margin: 5mm 0 0 0;
        padding: 0;
    }

    /* sommaire */

    #sommaire {
        list-style: none;
        margin: 70mm 0 20mm 0;
        padding: 0;
        font-size: 30pt;
        line-height: 2.3;
        font-family: "spacegrotesk", serif;
        page-break-before: always;
    }

    #sommaire a {
        text-decoration: none;
        color: black;
    }

    /* chapitre */

    section[content] h2  {
        font-size: 4rem;
        font-family: "spacegrotesk", serif;

        text-transform: uppercase;
        margin: 10mm 0 3mm 0;
        padding: 0;
        text-align: left;
        padding-top: 6rem;
    }

    section[content] p {
        font-size: 11.5pt;
        line-height: 1.35;
        padding: 0;
        font-family: "spacegrotesk", sans-serif;
        white-space: pre-line;
        color: rgb(50, 51, 51);
        margin:  1rem;
        margin-left: -0.25rem;
        border-left: 0.01rem solid;
        padding-left:2.5rem;
        padding-top:0rem;
    }

    section[content] #image {
        margin-top: 20mm;
        margin-bottom: 20mm;
        padding: 0;
    }

    section[content] sup {
        font-size: 9pt;
        font-family: "sora";
    }

    section[content] sup a {
        color: black;
        text-decoration: none;
    }

    section[content] h2 {
        page-break-before: always;
        margin-bottom: 10mm;
    }
    section[content] h3 {
        page-break-before: always;
        margin-bottom: 10mm;
        font-weight: normal;
        margin: 1rem 5rem 2.5em -1rem;
        font-size: 1.5rem;
        font-family: "sora", serif;
        text-decoration: underline;
        text-decoration-color: rgba(0, 0, 0, 0.05);
    }

    section[content] h4 {
        page-break-before: always;
        margin-bottom: 10mm;
        font-weight: normal;
        margin: 2rem 5rem 2rem 0;
        font-size: 1rem;
        font-family: "sora", serif;
        text-decoration: underline;
        text-decoration-color: rgba(0, 0, 0, 0.25);
        border-top: 0.1rem solid;
        border-image:
          linear-gradient(to right, rgba(0, 0, 0, 0) 00%, black 50%, #3a4ed5 65%) 1;
          padding-top: 2rem;
    }

    section[content] .part{
      page-break-after: always;
      background-color:rgba(200,200,200,0.0);
      padding: 2rem;
      padding-bottom: 0.1rem;
      border-radius: 0rem 0.5rem 0.5rem 0.0rem;
      margin-top:.5rem;
      border-left: 0.12rem solid;
      border-bottom:0.1rem solid;
      border-image:
        linear-gradient(to top, black 0%, #3a4ed5 50% ,rgba(0, 0, 0, 0) 90%) 1 80%;
    }

    .figure{
      display: grid;
  grid-template-columns: 19rem 5fr  ;
  grid-gap: -0.10rem;
}
 .figure .horizontal{
   width: 20vw;
}
.figure .verticale{
  width: 15.5vw;
}

.figure-main{
  width: 100%;
}
.container .header blockquote {
    text-align: left;
    width: 50%;

    margin: 2rem 1rem 1rem 5rem;
}

.container .header blockquote .signature {
    text-align: right;
    margin: 10px 1rem 1rem 1rem;
    font-size: 0.9rem;
}
.container .figure-main .figure figure figcaption {
    font-family: "sora", serif;
    font-size: 0.8rem;
    color: black;
    text-align: center;
    width: 90%;
}
    /* tableau */

    #data {
        page-break-before: always;
        width: 100%;
        border-collapse: collapse;
        font-family: "spacegrotesk";
        font-size: 11pt;
    }

    #data, #data td, #data tr, #data th {
        padding: 3mm;
        border: 0.3mm solid black;
    }

    #data tr:nth-child(even) {
        background-color: rgb(168, 168, 168);
    }

    #data th {
        border: none;
        font-weight: normal;
    }

    /* notes */

    #notes {
        margin: 20mm 0 10mm 0;
        padding: 10mm 0 0 0;
        width: 100%;
        font-family: "spacegrotesk";
        border-top: 0.2mm solid black;
    }

    #notes ol {
        margin: 0;
        padding: 0 0 0 5mm;
    }

    #notes ol li {
        padding: 0 5mm 0 10mm;
        margin: 2mm 0 2mm 0;
        font-size: 9pt;
        line-height: 1.3;
    }

    #notes ol li p {
        margin: 0 0 3mm 0;
        padding: 0 5mm 0 3mm;
    }

    #notes ol li p a {
        color: black;
    }

    /* annexe */

    #annexe {
        margin: 20mm 0 10mm 0;
        padding: 10mm 0 0 0;
        width: 100%;
        border-top: 0.2mm solid black;
    }

    #annexe article h2 {
        font-family: "spacegrotesk";
        font-weight: normal;
        font-size: 11pt;
        margin: 0 0 3mm 0;
        padding: 0 0 0 0;
    }

    #annexe article p {
        margin: 0 0 3mm 0;
        padding: 0 5mm 0 0;
        font-size: 11pt;
        line-height: 1.3;
    }
}
