/*
author : Timothée Goguely 
contibutor : Guillaume Porte
*/

/* Ajoutez vos styles dans print.css et non ici
Ceci permettra de garder le dépôt catium-slide comme remote de votre projet
*/

:root { 

    /* Fonts */
    --font-system: Arial, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --ratio: 1.5;
    --space-xxs:   calc(var(--space-xs) / var(--ratio));
    --space-xs:   calc(var(--space-sm) / var(--ratio)); /* 7.111px */
    --space-sm:   calc(var(--space-base) / var(--ratio));          /* 10.667px */
    --space-base: 1.2rem;                                   /* 16px */
    --space-lg:   calc(var(--space-base) * var(--ratio)); /* 24px */
    --space-xl:   calc(var(--space-lg)   * var(--ratio)); /* 36px */
    --space-2xl:  calc(var(--space-xl)   * var(--ratio)); /* 54px */
    --space-3xl:  calc(var(--space-2xl)  * var(--ratio)); /* 81px */
    --space-4xl:  calc(var(--space-3xl)  * var(--ratio)); /* 121.5px */
    --space-5xl:  calc(var(--space-4xl)  * var(--ratio)); /* 121.5px */

    /* COLORS */
    --black: #2f383e;
    --white: #fefffe;
    --grey: #edead5;
    --green: #68715E;
    --yellow: #fdf6e3;
    --blue: #2F7598;
}

@page {
   size: A4 landscape;
   margin:1cm;
}

  body {
    font-family: var(--font-system); /* Utilisation d'une font système */
    font-weight: 400;
    line-height: 1.56;
    background-color: var(--yellow);
  }

  /*TYPO*/
  a { color: var(--blue); }

  /*TITLES*/

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

  h1, h2, h3 {
    padding: var(--space-sm);
    background-color: var(--grey);
    line-height:var(--space-3xl);
  }

  h1 {
    font-size: var(--space-3xl); 
  }

  h2 {
    font-size: var(--space-xl);
  }

  h3 {
    font-size: var(--space-lg);
  }

  /*TABLE*/

  tbody tr:nth-child(even), th {
    background-color: var(--grey);
  }

  /*HEADER*/

  header { 
    padding-left: 1rem;
    color: var(--blue); 
  }

  .logo {
    font-size: var(--space-2xl);
    font-weight: bold;
    line-height: 0;
  }

  nav ul { 
    padding: 0;
    list-style: none; 
  }

  nav ul li a { 
    font-size: var(--space-lg);
    font-weight: bold;
  }

  /*BODY*/

  /*@TODO un pattern + interaction design -> univers Katzele*/

  blockquote {
    border-left: solid 4px var(--grey);
    padding-left: 28px;
    color: var(--black);
  }

  /*PRE*/

  pre {
    padding: 1rem;
    width: max-content;
    max-width: 95%;
    tab-size: 2;
    white-space: pre-wrap;
    background: var(--black);
    color: var(--white);
  }

  /*LAYOUTS*/


  /*************************************/

  /* AJOUTS POUR CETTE VERSION SLIDER */

  html, body, main, section{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
  }

  body{
    font-size: var(--space-lg);
  }

  section{
    display:block;
    height:100%;
    page-break-after:always;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
  }

  .container {
    flex:1 1 0;
    border: unset;
  }

  .container img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    font-size: var(--space-2xl);
  }
  h2 {
    font-size: var(--space-xl);
  }
  h3 {
    font-size: var(--space-lg);
  }

  .licence {
    font-size: 1rem;
    font-weight: bold;
    position: fixed;
    bottom: 1%;
    right: 1%;
  }

  .nav-left {
    display:none;
  }
  .nav-right {
    display:none;
  }
