@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  /* font-display: swap; */
  src:
    url('../fonts/jost-VF.woff') format("woff-variations"),
    url('../fonts/jost-VF.woff2') format("woff2-variations")
}
@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
:root {
  --filet : 1px;
  --filet_coul: #ccc;
  --jaune: yellow;
  --lienOver : black;
  --lien: #333;
  --lienOverFond: yellow;
  --lienVisited : gray;
  --epaisseurTag: 3px;
  --DN1: #ff595e;
  --DN2: #ffca3a;
  --DN3: #8ac926;
  --TECH: #1982c4;
  --EXP: #6a4c93;
  --largeurCol: 15rem;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  vertical-align: middle;
  margin-right: 5px;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-doc:before {
  content: "\e91f";
}
.icon-texte:before {
  content: "\e926";
}
.icon-image:before {
  content: "\e927";
}
.icon-audio:before {
  content: "\e928";
}
.icon-file-play:before {
  content: "\e929";
}
.icon-video:before {
  content: "\e92a";
}
.icon-zip:before {
  content: "\e92b";
}
.icon-lien:before {
  content: "\e9cb";
}
.icon-html:before {
  content: "\eae5";
}
.icon-DN1:before {
  content: "\ea0f";
  margin-right: 5px;
}
.icon-DN3:before {
  content: "\ea53";
  margin-right: 5px;
}
.icon-DN2:before {
  content: "\ea56";
  margin-right: 5px;
}

* { margin: 0; padding: 0;}
html { font-size: 100%; /* 1rem = 1em = 16px */}

body {
  height: 100vh;
  /* position: absolute; */
  overflow: hidden;
  font-family: 'Jost';
  font-weight: 400;
}
article ul {
  height: 100%;
}
li {
  list-style: none;
  padding-left: 1rem;
  border-bottom: var(--filet) solid var(--filet_coul);
  border-right: var(--filet) solid var(--filet_coul);
  /* margin: 2px 0 2px 1rem; */
  /* margin: 0 0 0 1rem; */
  /* b order-bottom: 1px solid gray; */
  /* display: inline-block; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* transition: background-color 300ms; */
  min-width: 200px;
  background-color: rgba(255, 255, 255,.75);
  /* width: 30vw; */
}
 li:not(.an):not(.DN1):not(.DN2):not(.DN3):not(.TECH):not(.EXP):hover {
  background: url(../_medias/trame_jaune.gif);
}
li a {
  transition: all 300ms;
  width: calc(100% - 2rem);
  display: inline-block;
}

.DN1 {
  border-left: var(--epaisseurTag) solid var(--DN1);
  padding-left: calc(1rem - var(--epaisseurTag));
  /* background: linear-gradient(90deg, var(--DN1) 0.8%, rgba(255,255,255,0) .8%);*/
  /* transition: background-color 300ms ease-in-out; */
}
.DN1:hover {
  /* background-color: var(--lienOverFond); */
  background: var(--DN1) url(../_medias/trame_vide.png);
}
.DN2:hover {
  /* background-color: var(--lienOverFond); */
  background: var(--DN2) url(../_medias/trame_vide.png);
}
.DN3:hover {
  /* background-color: var(--lienOverFond); */
  background: var(--DN3) url(../_medias/trame_vide.png);
}
.TECH:hover {
  /* background-color: var(--lienOverFond); */
  background: var(--TECH) url(../_medias/trame_vide.png);
}
.EXP:hover {
  /* background-color: var(--lienOverFond); */
  background: var(--EXP) url(../_medias/trame_vide.png);
}
.an {
  font-weight: 400;
  font-size: .9rem;
  background-color: #f0f0f0;
  text-align: right;
  padding-right: 1rem;
  line-height: 2rem;
}

/* span {
  background-color: yellow;
  display: inline-block;
  padding: .5rem .7rem;
  border-radius: 50%;
} */
/* .DN1 span, .DN2 span, .DN3 span {
  transition: color 300ms ease-in-out;
}
.DN1:hover span {
  color: var(--DN1);
}
.DN2:hover span {
  color: var(--DN2);
}
.DN3:hover span {
  color: var(--DN3);
} */
/* .DN1:hover {
  background: linear-gradient(90deg, var(--DN1) 0%, rgba(255,255,255,0) 100%);
} */
.DN2 {
  border-left: var(--epaisseurTag) solid var(--DN2);
  padding-left: calc(1rem - var(--epaisseurTag));
}
/* .DN2:hover {
  background: linear-gradient(90deg, var(--DN2) 0%, rgba(255,255,255,0) 100%);
  color: white;
}
.DN2 a:hover {
  color: white;
} */
.DN3 {
  border-left: var(--epaisseurTag) solid var(--DN3);
  padding-left: calc(1rem - var(--epaisseurTag));
}
.TECH {
  border-left: var(--epaisseurTag) solid var(--TECH);
  padding-left: calc(1rem - var(--epaisseurTag));
}
.EXP {
  border-left: var(--epaisseurTag) solid var(--EXP);
  padding-left: calc(1rem - var(--epaisseurTag));
}
nav .DN1, nav .DN2, nav .DN3 {
  padding-left: 0;
}
.newFichier.icon-DN1::before {
  color: var(--DN1);
}
.newFichier.icon-DN2::before {
  color: var(--DN2);
}
.newFichier.icon-DN3::before {
  color: var(--DN3);
}
li a:link.newFichier span {
  /* background-color: #EE4323;
  color: white; */
  /* color:#EE4323; */
}
li a span {
  font-family: 'Jost';
}
li a:link {
  /* background-color: #eee; */
  border-radius: 4px;
  padding: 4px 5px 4px 5px;

  color: var(--lien);
  /* text-decoration: line-through; */
  text-decoration: none;
  /* text-decoration-style: wavy; */
  /* text-decoration-color: transparent; */
}
li a:visited {
  color: var(--lienVisited);
  /* background-color: rgb(250,250,250); */
  /* text-decoration-style: wavy; */
  /* text-decoration-color: #e6e6e6;
  text-decoration: line-through; */
}
li a:hover.newFichier span {
  /* color: */
}
li a:visited.newFichier span {
  /* color: #EE4323; */
}

li a:hover, li a:hover.newFichier {
  /* background-color: var(--jaune); */
  color: var(--lienOver);
  /* padding: 1px 10px 1px 15px; */
  /* color: gray; */
  text-decoration: none;
  border-radius: 4px;
  /* border-top-right-radius: 0; */
  /* margin-left: .5rem; */
}
section {
  bottom: 0;
  background: url(../_medias/fleur_bm.gif) right no-repeat;
  background-size: contain;
}
/* chapeau */
header {
  width: 97vw;
  display: flex;
  align-items: baseline;
  /* margin-bottom: .5rem; */
  height: 3rem;
}
header h1 {
  font-weight: 700;
  text-transform: uppercase;
  padding-left: 1rem;
  line-height: 3rem;
  /* margin-top: .5rem; */
}
header h2 {
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 3rem;

  /* pour chrome */
  /* min-width: 18rem; */
  /* pour FF*/
  display: block ruby;
  padding-left: 1rem;
  padding-right: 1.5rem;
  /* margin-top: .5rem; */
  border-right: var(--filet) solid var(--filet_coul);
}
header p {
  margin-left: 1rem;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
}

main {
  /* main est plus grand que la fenetre */
  width: calc( 100vw + 15rem);
  height: 100vh;
  position: absolute;
  display: flex;
  /* pour l'animation */
  transition: margin 400ms ease-out;
}
section {
  /* le contenu est un peu plus petit que la fenetre pour laisser le menu visible à droite */
  width: calc( 100vw - 2.5rem);
  height: 100vh;
  /* habillage */
  /* background-color: yellow; */
}
nav {
  /* taille du menu */
  width: 17.5rem;
  height: 100vh;
  /* background-color: cyan; */
  border-left: var(--filet) solid var(--filet_coul);
}
article {
  column-width: var(--largeurCol);
  /* column-width: 30rem; */
  column-fill: auto;
  height: calc(100vh - 4.5rem);
  border-top: var(--filet) solid var(--filet_coul);
  column-gap: 0;
  overflow-x: scroll;
  /* column-rule: var(--filet) solid var(--filet_coul); */
}
section :not(header) p {
  /* placement du texte */
  width: calc(97vw - 2rem);
}
nav h3 {
  /* habillage du M */
  font-size: 1.1rem;
  margin-left: .4rem;
  background-color: black;
  color: white;
  padding: 0 .4rem;
  display: inline-block;
  border-radius: 50%;
  margin-top: ;
  position: fixed;
  margin-top: .4rem;
}
nav h3:hover {
  cursor: pointer;
}
nav a {
  text-decoration: none;
  color: inherit;
  position: relative;
  width: 100%;
  height: 100%;
  display: inline-block;
}
nav h4 {
  /* les items du menu */
  position: relative;
  color: gray;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 300;
  height: 3rem;
  /* background-color: pink; */
  border-bottom: 1px solid #eee;
  text-align: center;
  line-height: 3rem;
  transition: color 300ms ease-in-out;
  margin-left: 3rem;
  width: calc(100% - 3.5rem);
}
nav h4:first-of-type {
  /* ajoute une marge haute sur le premier item */
  margin-top: 3rem;
}
nav h4:hover {
  /* cursor: pointer; */
  color: black;
  background-color: yellow;
  border-radius: 0 12px 12px 0;
  padding-left: 0px;
}
