@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;
}

[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;
  margin-left: 1rem;
  /* 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;
  width: 30vw;
}
li a {
  transition: all 300ms;
}

.newFichier.icon-DN1::before {
  color: #EE4323;
}
.newFichier.icon-DN2::before {
  color: blue;
}
.newFichier.icon-DN3::before {
  color: green;
}
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: black;
  /* text-decoration: line-through; */
  text-decoration: none;
  /* text-decoration-style: wavy; */
  /* text-decoration-color: transparent; */
}
li a:visited {
  color: gray;
  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: yellow;
  color: black;
  /* 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.jpg) right no-repeat;
  background-size: contain;
}
/* chapeau */
header {
  width: 97vw;
  display: flex;
  align-items: baseline;
  margin-bottom: .5rem;
}
header h1 {
  font-weight: 700;
  text-transform: uppercase;
  padding-left: 1rem;
  margin-top: .5rem;
}
header h2 {
  font-weight: 400;
  font-size: 1.2rem;
  /* pour chrome */
  min-width: 18rem;
  /* pour FF*/
  display: block ruby;
  padding-left: 1rem;
  margin-top: .5rem;
}
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: 1px solid #eee;
}
article {
  /* column-width: 13rem; */
  column-width: 15rem;
  /* <?php
    if ($_GET["r"] == "" || $_GET["r"] == "t") {
      echo "column-width: 13rem;";
    }
  ?> */
  column-fill: auto;
  height: calc(100vh - 4.5rem);
}
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: 12px;
}
